xend: remove default NIC in qemu when no vif configured
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 5 Aug 2008 08:29:42 +0000 (09:29 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 5 Aug 2008 08:29:42 +0000 (09:29 +0100)
commit45f66e11cc2fd740762e43a5b41318ebc316b471
tree98f822c1f5136c8bca5cfbdd3c6a847adeacba8a
parent2765f0bf9f8c65ce43c5e8cfc4d08cd32b90180d
xend: remove default NIC in qemu when no vif configured

Latest QEMU would add a NIC device by default, unless specify the
"-nic none". So end user still get a unusable NIC even no vif in the
config file.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
tools/python/xen/xend/image.py