Re: [PATCH 3/6] spapr: Pass sPAPR machine state down to spapr_pci_switch_vga()

2020-12-09 Thread David Gibson
On Wed, Dec 09, 2020 at 06:00:49PM +0100, Greg Kurz wrote: > This allows to drop a user of qdev_get_machine(). > > Signed-off-by: Greg Kurz Applied to ppc-for-6.0. > --- > include/hw/ppc/spapr.h | 2 +- > hw/ppc/spapr_hcall.c | 7 --- > hw/ppc/spapr_pci.c | 3 +-- > 3 files changed,

[PATCH 3/6] spapr: Pass sPAPR machine state down to spapr_pci_switch_vga()

2020-12-09 Thread Greg Kurz
This allows to drop a user of qdev_get_machine(). Signed-off-by: Greg Kurz --- include/hw/ppc/spapr.h | 2 +- hw/ppc/spapr_hcall.c | 7 --- hw/ppc/spapr_pci.c | 3 +-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h index b