mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13: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
|
@ -187,6 +187,6 @@ typedef struct {
|
|||
VIRTIO_SCSI_F_CHANGE, true)
|
||||
|
||||
void virtio_scsi_common_realize(DeviceState *dev, Error **errp);
|
||||
void virtio_scsi_common_exit(VirtIOSCSICommon *vs);
|
||||
void virtio_scsi_common_unrealize(DeviceState *dev, Error **errp);
|
||||
|
||||
#endif /* _QEMU_VIRTIO_SCSI_H */
|
||||
|
|
|
@ -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