mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
virtio: split virtio input host bits from virtio-pci
For consistency with other devices, rename virtio_host_{initfn,pci_info} to virtio_input_host_{initfn,info}. Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
ef7e7845b2
commit
7df2c7181a
5 changed files with 50 additions and 37 deletions
|
@ -50,7 +50,6 @@ typedef struct VHostUserBlkPCI VHostUserBlkPCI;
|
|||
typedef struct VirtIORngPCI VirtIORngPCI;
|
||||
typedef struct VirtIOInputPCI VirtIOInputPCI;
|
||||
typedef struct VirtIOInputHIDPCI VirtIOInputHIDPCI;
|
||||
typedef struct VirtIOInputHostPCI VirtIOInputHostPCI;
|
||||
typedef struct VirtIOGPUPCI VirtIOGPUPCI;
|
||||
typedef struct VirtIOCryptoPCI VirtIOCryptoPCI;
|
||||
|
||||
|
@ -359,19 +358,6 @@ struct VirtIOInputHIDPCI {
|
|||
VirtIOInputHID vdev;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_LINUX
|
||||
|
||||
#define TYPE_VIRTIO_INPUT_HOST_PCI "virtio-input-host-pci-base"
|
||||
#define VIRTIO_INPUT_HOST_PCI(obj) \
|
||||
OBJECT_CHECK(VirtIOInputHostPCI, (obj), TYPE_VIRTIO_INPUT_HOST_PCI)
|
||||
|
||||
struct VirtIOInputHostPCI {
|
||||
VirtIOPCIProxy parent_obj;
|
||||
VirtIOInputHost vdev;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* virtio-gpu-pci: This extends VirtioPCIProxy.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue