Don't fail PCI hotplug if no NIC model is supplied (Mark McLoughlin)
commit8cacc9ad14759908bed08faad7a4e78f3765a22d
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Apr 2009 18:06:34 +0000 (17 18:06 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Apr 2009 18:06:34 +0000 (17 18:06 +0000)
tree2772365ed94d72da9d2af45c1ee37d91235cac47
parent76dcd4921c512c591265041961f420ce967c1fb6
Don't fail PCI hotplug if no NIC model is supplied (Mark McLoughlin)

It's perfectly fine to not supply a NIC model when adding
a new NIC - we supply the default model to pci_nic_init()
and it uses that if one wasn't explicitly supplied.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10@7155 c046a42c-6fe2-441c-8c8c-71466251a162
hw/pci-hotplug.c