diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-10-11 19:56:59 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-04-28 10:21:55 +0200 |
commit | e2bbfc8ee2aa82519da7de281305c3bea5431cf1 (patch) | |
tree | eff43085ec85a0b45228134ce0d6dd90be36bf35 /hw/display/vga-isa-mm.c | |
parent | 411f491e0af173cf8f39347574941bd26fbae381 (diff) |
vga: allow non-global vmstate
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 <kraxel@redhat.com>
Diffstat (limited to 'hw/display/vga-isa-mm.c')
-rw-r--r-- | hw/display/vga-isa-mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/vga-isa-mm.c b/hw/display/vga-isa-mm.c index afc46b8c9d..4efc222789 100644 --- a/hw/display/vga-isa-mm.c +++ b/hw/display/vga-isa-mm.c @@ -132,7 +132,7 @@ int isa_vga_mm_init(hwaddr vram_base, s = g_malloc0(sizeof(*s)); s->vga.vram_size_mb = VGA_RAM_SIZE >> 20; - vga_common_init(&s->vga, NULL); + vga_common_init(&s->vga, NULL, true); vga_mm_init(s, vram_base, ctrl_base, it_shift, address_space); s->vga.con = graphic_console_init(NULL, 0, s->vga.hw_ops, s); |