# HG changeset patch # User stekloff@xxxxxxxxxxxxxxxxxxxxxxxxxx # Node ID 59bd6ab244205562d4093e8f6ea53aa63221a34e # Parent 86906a91a88e021e2955d4e213c044e0a79ed50c Patch for Christian's new qemu "enable-ioemu-new" patch. If a "vif" isn't configured, domain creation will fail. Qemu will default to '-net nic -net user', if no net is specified. Patch has xend add '-net none' to command-line. Signed-off-by: Daniel Stekloff diff -r 86906a91a88e -r 59bd6ab24420 tools/python/xen/xend/image.py --- a/tools/python/xen/xend/image.py Wed Jul 05 17:47:58 2006 -0700 +++ b/tools/python/xen/xend/image.py Wed Jul 05 17:55:56 2006 -0700 @@ -314,6 +314,8 @@ class HVMImageHandler(ImageHandler): instance = sxp.child_value(info, 'pref_instance') ret.append("-instance") ret.append("%s" % instance) + if nics == 0: + ret.append("-net none") return ret def configVNC(self, config):