mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
virtio: Convert exit to unrealize
Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0ba94b6f94
commit
306ec6c3ce
10 changed files with 51 additions and 40 deletions
|
@ -130,7 +130,7 @@ typedef struct VirtioDeviceClass {
|
|||
|
||||
/* This is what a VirtioDevice must implement */
|
||||
DeviceRealize realize;
|
||||
void (*exit)(VirtIODevice *vdev);
|
||||
DeviceUnrealize unrealize;
|
||||
uint32_t (*get_features)(VirtIODevice *vdev, uint32_t requested_features);
|
||||
uint32_t (*bad_features)(VirtIODevice *vdev);
|
||||
void (*set_features)(VirtIODevice *vdev, uint32_t val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue