From: <abe...@us...> - 2016-03-14 01:54:58
|
Revision: 7590 http://sourceforge.net/p/astlinux/code/7590 Author: abelbeck Date: 2016-03-14 01:54:56 +0000 (Mon, 14 Mar 2016) Log Message: ----------- qemu, additional contributions by David Kerr, minor tweaks Modified Paths: -------------- branches/1.0/package/qemu/qemu.init Modified: branches/1.0/package/qemu/qemu.init =================================================================== --- branches/1.0/package/qemu/qemu.init 2016-03-13 19:49:02 UTC (rev 7589) +++ branches/1.0/package/qemu/qemu.init 2016-03-14 01:54:56 UTC (rev 7590) @@ -133,7 +133,7 @@ exit fi fi - if [ -n "QemuVHost" ]; then + if [ -n "$QemuVHost" ]; then # Only load vhost_net if virtio network device selected /sbin/modprobe vhost_net if [ $? == 1 ]; then @@ -160,6 +160,12 @@ -daemonize \ -usbdevice tablet \ -display vnc=:$QEMU_VNC_DISPLAY + + if [ $? == 1 ]; then + # Something went wrong. + /usr/bin/logger -s -p user.err -id -t qemu "ERROR: Failed to run image $QEMU_RUN_IMAGE" + exit + fi fi } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |