diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-23 12:45:56 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-10-15 11:08:35 +0200 |
commit | b5682aa4ca790dbcce16de6dc991c72bc298019a (patch) | |
tree | ad12a987ca308ceced6296b0a4583927746d2bcd /include | |
parent | b1d28ec6a7dbdaadda39d29322f0de694aeb0b74 (diff) |
vga-pci: add qext region to mmio
Add a qemu extented register range to the standard vga mmio bar.
Right nowe there are two registers: One readonly register returning the
size of the region (so we can easily add more registers there if needed)
and one endian control register, so guests (especially ppc) can flip
the framebuffer endianness as they need it.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/i386/pc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 77316d55c8..1c2602efd7 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -306,6 +306,14 @@ bool e820_get_entry(int, uint32_t, uint64_t *, uint64_t *); .driver = "intel-hda",\ .property = "old_msi_addr",\ .value = "on",\ + },{\ + .driver = "VGA",\ + .property = "qemu-extended-regs",\ + .value = "off",\ + },{\ + .driver = "secondary-vga",\ + .property = "qemu-extended-regs",\ + .value = "off",\ } #define PC_COMPAT_2_0 \ |