qemu-patch-raspberry4/hw/pci
Eric Blake 9fa02cd194 qapi: Drop inline nested structs in query-pci
A future patch will be using a 'name':{dictionary} entry in the
QAPI schema to specify a default value for an optional argument
(see previous commit message for more details why); but existing
use of inline nested structs conflicts with that goal. This patch
fixes one of only two commands relying on nested types, by
breaking the nesting into an explicit type; it means that the
type is now boxed instead of unboxed in C code, but the QMP wire
format is unaffected by this change.

Prefer the safer g_new0() while making the conversion, and reduce
some long lines.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-05 18:39:02 +02:00
..
Makefile.objs
msi.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
msix.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
pci-stub.c
pci.c qapi: Drop inline nested structs in query-pci 2015-05-05 18:39:02 +02:00
pci_bridge.c
pci_host.c
pcie.c pcie: correct mistaken register bit for End-End TLP Prefix Blocking 2015-03-18 12:14:45 +01:00
pcie_aer.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
pcie_host.c
pcie_port.c
shpc.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
slotid_cap.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00