diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-10 12:51:36 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-13 08:49:30 +0200 |
commit | d923e30578a65392e50e530e3a29b2edf5c51c5b (patch) | |
tree | 4efd760b3839c242bf4eb1e717701af1dbd8a9bb /hw/virtio | |
parent | caf88d74a7aebce5c70ac6d6d72c5b1a47eb4ecf (diff) | |
download | qemu-d923e30578a65392e50e530e3a29b2edf5c51c5b.zip qemu-d923e30578a65392e50e530e3a29b2edf5c51c5b.tar.gz qemu-d923e30578a65392e50e530e3a29b2edf5c51c5b.tar.bz2 |
virtio-input-host-pci: cleanup types
virtio input is virtio-1.0 only, so we don't need the -transitional and
-non-transitional variants.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20190510105137.17481-1-kraxel@redhat.com
Diffstat (limited to 'hw/virtio')
-rw-r--r-- | hw/virtio/virtio-input-host-pci.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/virtio/virtio-input-host-pci.c b/hw/virtio/virtio-input-host-pci.c index 725a51a..124c4f3 100644 --- a/hw/virtio/virtio-input-host-pci.c +++ b/hw/virtio/virtio-input-host-pci.c @@ -13,7 +13,7 @@ typedef struct VirtIOInputHostPCI VirtIOInputHostPCI; -#define TYPE_VIRTIO_INPUT_HOST_PCI "virtio-input-host-pci-base" +#define TYPE_VIRTIO_INPUT_HOST_PCI "virtio-input-host-pci" #define VIRTIO_INPUT_HOST_PCI(obj) \ OBJECT_CHECK(VirtIOInputHostPCI, (obj), TYPE_VIRTIO_INPUT_HOST_PCI) @@ -31,10 +31,7 @@ static void virtio_host_initfn(Object *obj) } static const VirtioPCIDeviceTypeInfo virtio_input_host_pci_info = { - .base_name = TYPE_VIRTIO_INPUT_HOST_PCI, - .generic_name = "virtio-input-host-pci", - .transitional_name = "virtio-input-host-pci-transitional", - .non_transitional_name = "virtio-input-host-pci-non-transitional", + .generic_name = TYPE_VIRTIO_INPUT_HOST_PCI, .parent = TYPE_VIRTIO_INPUT_PCI, .instance_size = sizeof(VirtIOInputHostPCI), .instance_init = virtio_host_initfn, |