]> git.proxmox.com Git - mirror_qemu.git/commit
pci: Convert pci_nic_init() to Error to avoid qdev_init()
authorMarkus Armbruster <armbru@redhat.com>
Fri, 27 Feb 2015 14:40:25 +0000 (15:40 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Mar 2015 17:24:13 +0000 (18:24 +0100)
commit558ecef29240c5a901648f4d44789ac3b07a68ea
tree5bbdbc33f453cf42f61e85176b830eae8de9e6da
parent75cc7f018328e708d94cca23c3a77e85363f25dc
pci: Convert pci_nic_init() to Error to avoid qdev_init()

qdev_init() is deprecated, and will be removed when its callers have
been weaned off it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c