mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
pseries: savevm support for PCI host bridge
This adds the necessary support for saving the state of the PAPR virtual PCI host bridge (or host bridges). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Message-id: 1374175984-8930-10-git-send-email-aliguori@us.ibm.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
4be21d561d
commit
1112cf94c8
2 changed files with 52 additions and 3 deletions
|
@ -52,14 +52,14 @@ typedef struct sPAPRPHBState {
|
|||
sPAPRTCETable *tcet;
|
||||
AddressSpace iommu_as;
|
||||
|
||||
struct {
|
||||
struct spapr_pci_lsi {
|
||||
uint32_t irq;
|
||||
} lsi_table[PCI_NUM_PINS];
|
||||
|
||||
struct {
|
||||
struct spapr_pci_msi {
|
||||
uint32_t config_addr;
|
||||
uint32_t irq;
|
||||
int nvec;
|
||||
uint32_t nvec;
|
||||
} msi_table[SPAPR_MSIX_MAX_DEVS];
|
||||
|
||||
QLIST_ENTRY(sPAPRPHBState) list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue