mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
spapr_pci: add dynamic-reconfiguration option for spapr-pci-host-bridge
This option enables/disables PCI hotplug for a particular PHB. Also add machine compatibility code to disable it by default for machine types prior to pseries-2.4. Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [agraf: move commas for compat fields] Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
e4b798bb53
commit
7619c7b00c
3 changed files with 10 additions and 2 deletions
|
@ -71,6 +71,7 @@ struct sPAPRPHBState {
|
|||
uint32_t index;
|
||||
uint64_t buid;
|
||||
char *dtbusname;
|
||||
bool dr_enabled;
|
||||
|
||||
MemoryRegion memspace, iospace;
|
||||
hwaddr mem_win_addr, mem_win_size, io_win_addr, io_win_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue