* Shut up warnings about QEMU_OPTS being undefined.
svn path=/nixos/trunk/; revision=27982
This commit is contained in:
parent
66ffeb3fd9
commit
2dc81fc9dd
@ -126,7 +126,7 @@ sub start {
|
||||
$ENV{QEMU_OPTS} =
|
||||
"-no-reboot -monitor unix:./monitor -chardev socket,id=shell,path=./shell " .
|
||||
"-device virtio-serial -device virtconsole,chardev=shell " .
|
||||
($showGraphics ? "-serial stdio" : "-nographic");
|
||||
($showGraphics ? "-serial stdio" : "-nographic") . " " . ($ENV{QEMU_OPTS} || "");
|
||||
$ENV{QEMU_KERNEL_PARAMS} = "hostTmpDir=$ENV{TMPDIR}";
|
||||
chdir $self->{stateDir} or die;
|
||||
exec $self->{startCommand};
|
||||
|
Loading…
Reference in New Issue
Block a user