pseries: Rework irq assignment to avoid carrying qemu_irqs around
Currently, the interfaces in the pseries machine code for assignmentand setup of interrupts pass around qemu_irq objects. That was donein an attempt not to be too closely linked to the specific XICS...
pseries: Separate PCI RTAS setup from common from emulation specific PCI setup
Currently the RTAS functions for handling PCI are registered from theclass init code for the PCI host bridge. That sort of makes sensenow, but will break in the future when vfio gives us multiple types of...
pseries: added allocator for a block of IRQs
The patch adds a simple helper which allocates a consecutive sequenceof IRQs calling spapr_allocate_irq for each and checks that allocatedIRQs go consequently.
The patch is required for upcoming support of MSI/MSIX on POWER....
pseries: Export find_phb() utility function for PCI code
The pseries PCI code makes use of an internal find_dev() function whichlocates a PCIDevice * given a (platform specific) bus ID and deviceaddress. Internally this needs to first locate the host bridge on which...
spapr: Add support for -vga option
Also instanciate the USB keyboard and mouse when that option is used(you can still use -device to create individual devices without allthe defaults)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>Signed-off-by: Li Zhang <zhlcindy@linux.vnet.ibm.com>...
PPC: spapr: Rework VGA select logic
When selecting our VGA adapter, we want to:
This patch reworks the logic so we fulfill the two conditions above....
PPC: spapr: Remove global variable
Global variables are bad. Let's move spapr_has_graphics into themachine state struct.
Signed-off-by: Alexander Graf <agraf@suse.de>
pseries: Remove extraneous prints
The pseries machine prints several messages to stderr whenever it starts upand another whenever the vm is reset. It's not normal for qemu machines todo this though, so this patch removes them. We can put them backconditional on a DEBUG symbol if we really need them in future....
Revert "PPC: e500: Use new MPIC dt format"
This reverts commit 518c7fb44f2182cde943dc64f88cb2fd4e4ff6b5. It breaksnew Linux guests with SMP, because IPIs get mapped to large vectors whichour MPIC emulation does not implement.
Conflicts:
hw/ppc/e500.c
Add one new file vga-pci.h and cleanup on all platforms
Functions pci_vga_init() and pci_cirrus_vga_init() are declaredin pc.h. That prevents other platforms (e.g. sPAPR) to use them.
This patch is to create one new file vga-pci.h and move thedeclarations to vga-pci.h, so that they can be shared by...
View revisions
Also available in: Atom