Re: [Qemu-devel] [PATCH 1/2] vga: allow non-global vmstate

2013-10-24 Thread Gerd Hoffmann
> > diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c > > index b3a45c8..dee180f 100644 > > --- a/hw/display/vga-pci.c > > +++ b/hw/display/vga-pci.c > > @@ -147,7 +147,7 @@ static int pci_std_vga_initfn(PCIDevice *dev) > > VGACommonState *s = &d->vga; > > > > /* vga + console in

Re: [Qemu-devel] [PATCH 1/2] vga: allow non-global vmstate

2013-10-24 Thread Hervé Poussineau
Gerd Hoffmann a écrit : Need a way to opt-out from vga.vram being global vmstate, for secondary vga cards. Add a bool parameter to vga_common_init to support this. Signed-off-by: Gerd Hoffmann --- hw/display/cirrus_vga.c | 4 ++-- hw/display/qxl.c| 2 +- hw/display/vga-isa-mm.c | 2 +-

[Qemu-devel] [PATCH 1/2] vga: allow non-global vmstate

2013-10-17 Thread Gerd Hoffmann
Need a way to opt-out from vga.vram being global vmstate, for secondary vga cards. Add a bool parameter to vga_common_init to support this. Signed-off-by: Gerd Hoffmann --- hw/display/cirrus_vga.c | 4 ++-- hw/display/qxl.c| 2 +- hw/display/vga-isa-mm.c | 2 +- hw/display/vga-isa.c