mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/9pfs: Add qdev.reset callback for virtio-9p-pci device
Add the device reset callback Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
This commit is contained in:
parent
b41e2992b2
commit
8798d6c98e
3 changed files with 4 additions and 2 deletions
|
@ -176,7 +176,8 @@ static PCIDeviceInfo virtio_9p_info = {
|
|||
DEFINE_PROP_STRING("mount_tag", VirtIOPCIProxy, fsconf.tag),
|
||||
DEFINE_PROP_STRING("fsdev", VirtIOPCIProxy, fsconf.fsdev_id),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
}
|
||||
},
|
||||
.qdev.reset = virtio_pci_reset,
|
||||
};
|
||||
|
||||
static void virtio_9p_register_devices(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue