mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
virtio-s390: Convert to realize()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1425045337-20138-3-git-send-email-armbru@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
e3e300d24c
commit
f35dd56651
2 changed files with 47 additions and 35 deletions
|
@ -83,7 +83,7 @@ typedef struct VirtIOS390Device VirtIOS390Device;
|
|||
|
||||
typedef struct VirtIOS390DeviceClass {
|
||||
DeviceClass qdev;
|
||||
int (*init)(VirtIOS390Device *dev);
|
||||
void (*realize)(VirtIOS390Device *dev, Error **errp);
|
||||
} VirtIOS390DeviceClass;
|
||||
|
||||
struct VirtIOS390Device {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue