* 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:
@@ -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} "
|
||||
|
||||
Reference in New Issue
Block a user