boards: add a 'none' machine type to all platforms
This allows any QEMU binary to be executed with:
$QEMU_BINARY -M none -qmp stdio
Without errors from missing options that are required by various boards. Thisalso provides a mode that we can use in the future to construct machines...
Merge remote-tracking branch 'bonzini/scsi-next' into staging
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Merge remote-tracking branch 'kraxel/usb.59' into staging
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>
spapr_pci: QOM'ify sPAPR PCI host bridge
Introduce type constant. Introduce cast macro to drop bogus busdev fieldthat would've broken SYS_BUS_DEVICE(). Avoid accessing parent fieldsdirectly.
Free the identifier phb as acronym for PCI_HOST_BRIDGE.
Updated against conflicting merge from branch 'agraf/ppc-for-upstream'...
unin_pci: QOM'ify UniNorth PCI host bridges
Introduce type constants and cast macros.Avoid accessing parent fields directly.
pci_host: Turn into SysBus-derived QOM type
The preceding commits fixed misuses of FROM_SYSBUS() that led people toadd a bogus busdev field. For qdev the field order was less relevant butfor QOM the PCIHostState field (including the SysBusDevice actually...
pci: Derive PCI host bridges from TYPE_PCI_HOST_BRIDGE
Use PCIHostState and PCI_HOST_BRIDGE() where appropriate.
Signed-off-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
pci: Tidy up PCI host bridges
Adopt the QOM parent field name and enforce QOM-style access via casts.Don't just typedef PCIHostState, either use it directly or embed it.
View revisions
Also available in: Atom