qemu/include/hw/virtio
Eduardo Habkost db1015e92e Move QOM typedefs and add missing includes
Some typedefs and macros are defined after the type check macros.
This makes it difficult to automatically replace their
definitions with OBJECT_DECLARE_TYPE.

Patch generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]')

which will split "typdef struct { ... } TypedefName"
declarations.

Followed by:

 $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \
    $(git grep -l '' -- '*.[ch]')

which will:
- move the typedefs and #defines above the type check macros
- add missing #include "qom/object.h" lines if necessary

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-9-ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-10-ehabkost@redhat.com>
Message-Id: <20200831210740.126168-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-09 09:26:43 -04:00
..
vhost-backend.h vhost-vdpa: introduce vhost-vdpa backend 2020-07-07 07:59:51 -04:00
vhost-scsi-common.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-scsi.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-user-blk.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-user-fs.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-user-scsi.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-user-vsock.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-user.h Add VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS 2020-06-12 10:17:06 -04:00
vhost-vdpa.h vhost-vdpa: introduce vhost-vdpa backend 2020-07-07 07:59:51 -04:00
vhost-vsock-common.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost-vsock.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
vhost.h vhost-vdpa: introduce vhost-vdpa backend 2020-07-07 07:59:51 -04:00
virtio-access.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
virtio-balloon.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-blk.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-bus.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-crypto.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-gpu-bswap.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
virtio-gpu-pci.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-gpu-pixman.h virtio-gpu: add a pixman helper header 2019-05-29 06:29:07 +02:00
virtio-gpu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-input.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-iommu.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-mem.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-mmio.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-net.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-pmem.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-rng.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-scsi.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio-serial.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
virtio.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00