X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/a44ef0ab0184ca00545e293427430608470fbee9..1e7fcd0c0b076ab8d0dac4ce97f59f4749233eb0:/files/etc/xen/scripts/qemu-ifup?ds=sidebyside diff --git a/files/etc/xen/scripts/qemu-ifup b/files/etc/xen/scripts/qemu-ifup index 2602f63..b62ff06 100755 --- a/files/etc/xen/scripts/qemu-ifup +++ b/files/etc/xen/scripts/qemu-ifup @@ -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