vga: convert vga and its derivatives to the memory API
commitb195043003d90ea4027ea01cc7a6c974ac915108
authorAvi Kivity <avi@redhat.com>
Mon, 8 Aug 2011 13:08:57 +0000 (8 16:08 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 8 Aug 2011 15:15:52 +0000 (8 10:15 -0500)
tree580d346354f3b4cb4cd1381c0e8843b272c191be
parent7b619b9ae5c55eb443da19183f98f62138bd012a
vga: convert vga and its derivatives to the memory API

Convert all vga memory to the memory API.  Note we need to fall back to
get_system_memory(), since the various buses don't pass the vga window
as a memory region.

We no longer need to sync the dirty bitmap of the cirrus mapped memory
banks, since the memory API takes care of that for us.

[jan: fix vga-pci logging]

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/cirrus_vga.c
hw/qxl-render.c
hw/qxl.c
hw/qxl.h
hw/vga-isa-mm.c
hw/vga-isa.c
hw/vga-pci.c
hw/vga.c
hw/vga_int.h
hw/vmware_vga.c