mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
spapr: Pass sPAPR machine state down to spapr_pci_switch_vga()
This allows to drop a user of qdev_get_machine(). Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <20201209170052.1431440-4-groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
d57d72a874
commit
c4c81d7d51
3 changed files with 6 additions and 6 deletions
|
@ -834,7 +834,7 @@ int spapr_dma_dt(void *fdt, int node_off, const char *propname,
|
|||
uint32_t liobn, uint64_t window, uint32_t size);
|
||||
int spapr_tcet_dma_dt(void *fdt, int node_off, const char *propname,
|
||||
SpaprTceTable *tcet);
|
||||
void spapr_pci_switch_vga(bool big_endian);
|
||||
void spapr_pci_switch_vga(SpaprMachineState *spapr, bool big_endian);
|
||||
void spapr_hotplug_req_add_by_index(SpaprDrc *drc);
|
||||
void spapr_hotplug_req_remove_by_index(SpaprDrc *drc);
|
||||
void spapr_hotplug_req_add_by_count(SpaprDrcType drc_type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue