summaryrefslogtreecommitdiffstats
path: root/hw/pc_piix.c
diff options
context:
space:
mode:
authorGerd Hoffmann2012-10-15 08:02:55 +0200
committerBlue Swirl2012-10-20 09:52:54 +0200
commit803ff052b69c888df3d21e199626a5ef6e3ccf12 (patch)
treef2753e8ad7942e6b28e7e4527e2d18fb1e4b1fab /hw/pc_piix.c
parentvga: fix indention (diff)
downloadqemu-803ff052b69c888df3d21e199626a5ef6e3ccf12.tar.gz
qemu-803ff052b69c888df3d21e199626a5ef6e3ccf12.tar.xz
qemu-803ff052b69c888df3d21e199626a5ef6e3ccf12.zip
vga: add mmio bar to standard vga
This patch adds a mmio bar to the qemu standard vga which allows to access the standard vga registers and bochs dispi interface registers via mmio. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc_piix.c')
-rw-r--r--hw/pc_piix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 82364ab0d5..5bd4572d47 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -379,6 +379,10 @@ static QEMUMachine pc_machine_v1_3 = {
.driver = "qxl-vga",\
.property = "revision",\
.value = stringify(3),\
+ },{\
+ .driver = "VGA",\
+ .property = "mmio",\
+ .value = "off",\
}
static QEMUMachine pc_machine_v1_2 = {