mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
558ecef292
commit
fc079951b7
2 changed files with 36 additions and 54 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue