Stuff that works is happy.
[invirt/packages/invirt-xen-config.git] / files / etc / xen / scripts / qemu-ifup
index 2602f63..b62ff06 100755 (executable)
@@ -1,8 +1,11 @@
 #!/bin/sh
 
+echo "config qemu network with xen bridge for $@"
 
-echo -c 'config qemu network with xen bridge for '
-echo $*
+if [ -z "$domid" ]; then
+    echo "domid is not set!!!" >&2
+    exit 1
+fi
 
 dev=$1
 qemu_online=yes