[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 6/7] virtio-input-host-pci: cleanup types
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 6/7] virtio-input-host-pci: cleanup types |
Date: |
Mon, 13 May 2019 08:53:09 +0200 |
virtio input is virtio-1.0 only, so we don't need the -transitional and
-non-transitional variants.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
---
hw/virtio/virtio-input-host-pci.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/virtio/virtio-input-host-pci.c
b/hw/virtio/virtio-input-host-pci.c
index 725a51ad30b4..124c4f344742 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,
--
2.18.1
- [Qemu-devel] [PULL 0/7] Input 20190513 v2 patches, Gerd Hoffmann, 2019/05/13
- [Qemu-devel] [PULL 5/7] util: simplify unix_listen(), Gerd Hoffmann, 2019/05/13
- [Qemu-devel] [PULL 6/7] virtio-input-host-pci: cleanup types,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 1/7] libvhost-user: fix -Waddress-of-packed-member, Gerd Hoffmann, 2019/05/13
- [Qemu-devel] [PULL 3/7] Add vhost-user-backend, Gerd Hoffmann, 2019/05/13
- [Qemu-devel] [PULL 7/7] virtio-input: fix Kconfig dependency and Makefile, Gerd Hoffmann, 2019/05/13
- [Qemu-devel] [PULL 4/7] Add vhost-user-input-pci, Gerd Hoffmann, 2019/05/13
- [Qemu-devel] [PULL 2/7] libvhost-user: add PROTOCOL_F_CONFIG if {set, get}_config, Gerd Hoffmann, 2019/05/13
- Re: [Qemu-devel] [PULL 0/7] Input 20190513 v2 patches, Peter Maydell, 2019/05/13