* Add virtio_console to the CD because the backdoor requires it.

* The booted CD no longer requires "-net user".

svn path=/nixos/trunk/; revision=26427
This commit is contained in:
Eelco Dolstra
2011-03-19 08:58:56 +00:00
parent 6c55079ab0
commit c430bf5cc3
3 changed files with 5 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ sub new {
# !!! merge with qemu-vm.nix.
$startCommand =
"qemu-system-x86_64 -m 384 " .
"-net nic,model=virtio -net user,\$QEMU_NET_OPTS \$QEMU_OPTS ";
"-net nic,model=virtio \$QEMU_OPTS ";
$startCommand .= "-drive file=" . Cwd::abs_path($args->{hda}) . ",if=virtio,boot=on,werror=report "
if defined $args->{hda};
$startCommand .= "-cdrom $args->{cdrom} "