prep_pci: QOM'ify Raven PCI host bridge
Introduce type constant and cast macro. Avoid accessing parent fieldsdirectly.
Also add missing space and braces.
Signed-off-by: Andreas Färber <afaerber@suse.de>Acked-by: Michael S. Tsirkin <mst@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
grackle_pci: QOM'ify Grackle PCI host bridge
Introduce type constant. Introduce cast macro to drop dummy busdev fieldused with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE().Avoid accessing parent fields directly.
Drop no-op reset function.
Signed-off-by: Andreas Färber <afaerber@suse.de>...
gt64xxx: QOM'ify GT64120 PCI host bridge
Introduce type constant. Introduce cast macro to drop dummy busdev fieldused with FROM_SYSBUS() macro that would've broken SYS_BUS_DEVICE().Avoid accessing DeviceState indirectly through PCIHostState.
ppc4xx_pci: QOM'ify ppc4xx PCI host bridge
Introduce type constant and cast macro. Avoid accessing its parent fielddirectly.
ppce500_pci: QOM'ify e500 PCI host bridge
pci: Make host bridge TypeInfos const
During the QOM migration they were amended with further info but this isno longer the case. All static TypeInfos can be const these days.
Signed-off-by: Andreas Färber <afaerber@suse.de>Acked-by: Michael S. Tsirkin <mst@redhat.com>...
alpha_typhoon: QOM'ify Typhoon PCI host bridge
Introduce type constant and cast macro. Don't access DeviceStateor PCIHostState indirectly through parent fields.
bonito: QOM'ify Bonito PCI host bridge
Introduce type constant. Avoid accessing DeviceState or SysBusDeviceindirectly through PCIHostState field.
Drop global state by passing BonitoState as opaque and adding the IRQsand a pointer to PCIBonitoState to its state....
dec_pci: QOM'ify DEC 21154 PCI-PCI bridge
Introduce type constant. Introduce cast macro and drop dummy busdevfield used with FROM_SYSBUS() that would've broken SYS_BUS_DEVICE().Avoid accessing parent fields directly.
virtio-blk: hide VIRTIO_BLK_F_CONFIG_WCE from old machine types
QEMU has a policy of keeping a stable guest device ABI. When new guest devicefeatures are introduced they must not change hardware info seen by existingguests. This is important because operating systems or applications may...
View revisions
Also available in: Atom