5 Exists in two variants, for isa and pci.
10 picks isa for -M isapc, otherwise pci
15 ``-device secondary-vga``
16 legacy-free pci variant
22 Applies to the pci variant only for obvious reasons.
28 Framebuffer memory, 16 MB in size (by default).
29 Size is tunable via vga_mem_mb property.
32 Reserved (so we have the option to make the framebuffer bar 64bit).
35 MMIO bar, 4096 bytes in size (QEMU 1.3+)
38 Holds the vgabios (QEMU 0.14+).
41 The legacy-free variant has no ROM and has ``PCI_CLASS_DISPLAY_OTHER``
42 instead of ``PCI_CLASS_DISPLAY_VGA``.
48 Doesn't apply to the legacy-free pci variant, use the MMIO bar instead.
53 bochs vbe interface index port
55 bochs vbe interface data port (x86 only)
57 bochs vbe interface data port
64 Framebuffer memory, isa variant only.
66 The pci variant used to mirror the framebuffer bar here, QEMU 0.14+
67 stops doing that (except when in ``-M pc-$old`` compat mode).
73 Likewise applies to the pci variant only for obvious reasons.
78 vga ioports (``0x3c0`` to ``0x3df``), remapped 1:1. Word access
79 is supported, bytes are written in little endian order (aka index
80 port first), so indexed registers can be updated with a single
81 mmio write (and thus only one vmexit).
83 bochs dispi interface registers, mapped flat without index/data ports.
84 Use ``(index << 1)`` as offset for (16bit) register access.
86 QEMU extended registers. QEMU 2.2+ only.
87 The pci revision is 2 (or greater) when these registers are present.
88 The registers are 32bit.
90 QEMU extended register region size, in bytes.
92 framebuffer endianness register.
93 - ``0xbebebebe`` indicates big endian.
94 - ``0x1e1e1e1e`` indicates little endian.