[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 33/34] vhost-user-vga: Use typedef name for instance_size
From: |
Eduardo Habkost |
Subject: |
[PULL 33/34] vhost-user-vga: Use typedef name for instance_size |
Date: |
Tue, 8 Sep 2020 16:01:22 -0400 |
This makes the code consistent with the rest of QOM code in QEMU,
and will make automated conversion to type declaration macros
simpler.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200824215936.2961951-6-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
hw/display/vhost-user-vga.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/display/vhost-user-vga.c b/hw/display/vhost-user-vga.c
index 7110ea6231..a34a99856d 100644
--- a/hw/display/vhost-user-vga.c
+++ b/hw/display/vhost-user-vga.c
@@ -41,7 +41,7 @@ static void vhost_user_vga_inst_initfn(Object *obj)
static const VirtioPCIDeviceTypeInfo vhost_user_vga_info = {
.generic_name = TYPE_VHOST_USER_VGA,
.parent = TYPE_VIRTIO_VGA_BASE,
- .instance_size = sizeof(struct VhostUserVGA),
+ .instance_size = sizeof(VhostUserVGA),
.instance_init = vhost_user_vga_inst_initfn,
};
--
2.26.2
- [PULL 23/34] rs6000_mc: Rename RS6000MC_DEVICE to RS6000MC, (continued)
- [PULL 23/34] rs6000_mc: Rename RS6000MC_DEVICE to RS6000MC, Eduardo Habkost, 2020/09/08
- [PULL 15/34] chardev: Rename TYPE_CHARDEV_* to TYPE_*_CHARDEV, Eduardo Habkost, 2020/09/08
- [PULL 22/34] filter-rewriter: Rename FILTER_COLO_REWRITER to FILTER_REWRITER, Eduardo Habkost, 2020/09/08
- [PULL 25/34] usb: Rename USB_SERIAL_DEV to USB_SERIAL, Eduardo Habkost, 2020/09/08
- [PULL 28/34] tusb6010: Rename TUSB to TUSB6010, Eduardo Habkost, 2020/09/08
- [PULL 29/34] xilinx_axidma: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 26/34] vfio: Rename PCI_VFIO to VFIO_PCI, Eduardo Habkost, 2020/09/08
- [PULL 31/34] lpc_ich9: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 30/34] omap_intc: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 27/34] pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312, Eduardo Habkost, 2020/09/08
- [PULL 33/34] vhost-user-vga: Use typedef name for instance_size,
Eduardo Habkost <=
- [PULL 34/34] virtio-vga: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- [PULL 09/34] Move QOM typedefs and add missing includes, Eduardo Habkost, 2020/09/08
- [PULL 32/34] xilinx_axienet: Use typedef name for instance_size, Eduardo Habkost, 2020/09/08
- Re: [PULL 00/34] QOM boilerplate cleanup (v2), Peter Maydell, 2020/09/08