Skip to content

qom: Use typedefs instead of struct names on instance_size/class_size

Eduardo Habkost qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xilinx_axidma: Use typedef name for instance_sizehw/dma/xilinx_axidma.c+2 -20 replies
2/6omap_intc: Use typedef name for instance_sizehw/intc/omap_intc.c+1 -10 replies
3/6lpc_ich9: Use typedef name for instance_sizehw/isa/lpc_ich9.c+1 -10 replies
4/6xilinx_axienet: Use typedef name for instance_sizehw/net/xilinx_axienet.c+2 -21 reply
5/6vhost-user-vga: Use typedef name for instance_sizehw/display/vhost-user-vga.c+1 -10 replies
6/6virtio-vga: Use typedef name for instance_sizehw/display/virtio-vga.c+3 -31 reply

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisGerd Hoffmann
1/6
2/6
3/6
4/6R-b
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] qom: Use typedefs instead of struct names on instance_size/class_size

This changes existing QOM boilerplate to use existing typedef names when setting instance_size and class_size on TypeInfo variables. This makes the code more consistent and will make future conversion to QOM type declaration macros easier.

Cc "Michael S. Tsirkin" <[email protected]>
Cc "Marc-André Lureau" <[email protected]>
Cc Gerd Hoffmann <[email protected]>
Cc "Edgar E. Iglesias" <[email protected]>
Cc Alistair Francis <[email protected]>
Cc Peter Maydell <[email protected]>
Cc Marcel Apfelbaum <[email protected]>
Cc Jason Wang <[email protected]>

Eduardo Habkost (6):
xilinx_axidma: Use typedef name for instance_size
omap_intc: Use typedef name for instance_size
lpc_ich9: Use typedef name for instance_size
xilinx_axienet: Use typedef name for instance_size
vhost-user-vga: Use typedef name for instance_size
virtio-vga: Use typedef name for instance_size

 hw/display/vhost-user-vga.c | 2 +-
 hw/display/virtio-vga.c     | 6 +++---
 hw/dma/xilinx_axidma.c      | 4 ++--
 hw/intc/omap_intc.c         | 2 +-
 hw/isa/lpc_ich9.c           | 2 +-
 hw/net/xilinx_axienet.c     | 4 ++--
 6 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.26.2