diff options
author | Markus Armbruster | 2015-02-27 14:52:14 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-03-11 18:24:13 +0100 |
commit | fc079951b7a5eb799bd24d18e4098aa03a3c79dd (patch) | |
tree | b11d82bad11972e1a601181b850711117a61eaaf /hw/virtio/virtio-pci.h | |
parent | pci: Convert pci_nic_init() to Error to avoid qdev_init() (diff) | |
download | qemu-fc079951b7a5eb799bd24d18e4098aa03a3c79dd.tar.gz qemu-fc079951b7a5eb799bd24d18e4098aa03a3c79dd.tar.xz qemu-fc079951b7a5eb799bd24d18e4098aa03a3c79dd.zip |
virtio-pci: Convert to realize()
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>
Diffstat (limited to 'hw/virtio/virtio-pci.h')
-rw-r--r-- | hw/virtio/virtio-pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio-pci.h b/hw/virtio/virtio-pci.h index 8873b6d138..3bac016999 100644 --- a/hw/virtio/virtio-pci.h +++ b/hw/virtio/virtio-pci.h @@ -82,7 +82,7 @@ typedef struct { typedef struct VirtioPCIClass { PCIDeviceClass parent_class; - int (*init)(VirtIOPCIProxy *vpci_dev); + void (*realize)(VirtIOPCIProxy *vpci_dev, Error **errp); } VirtioPCIClass; struct VirtIOPCIProxy { |