]> git.proxmox.com Git - mirror_qemu.git/commit
Don't fail PCI hotplug if no NIC model is supplied (Mark McLoughlin)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Apr 2009 17:10:47 +0000 (17:10 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 17 Apr 2009 17:10:47 +0000 (17:10 +0000)
commiteefb4091d29d8a32f02e004d50028201926d23f0
treefad71614f303b641dc4048f93998e0ea139212af
parent771f133989ae75f7a0c00731326e7a02cef643b0
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/trunk@7145 c046a42c-6fe2-441c-8c8c-71466251a162
hw/pci-hotplug.c