]> xenbits.xensource.com Git - libvirt.git/commit
qemu: introduce vram64 attribute for QXL video device
authorPavel Hrdina <phrdina@redhat.com>
Tue, 23 Feb 2016 16:04:19 +0000 (17:04 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 1 Mar 2016 13:17:09 +0000 (14:17 +0100)
commitb4a5fd95f70b373601abcecdb9d87e4cdb219350
tree6ab72285e0df51a30abdf7fb771641d871a94663
parent37b746336e6de7c5b0f6a3883c19b2e3b1eda3e7
qemu: introduce vram64 attribute for QXL video device

This attribute is used to extend secondary PCI bar and expose it to the
guest as 64bit memory.  It works like this: attribute vram is there to
set size of secondary PCI bar and guest sees it as 32bit memory,
attribute vram64 can extend this secondary PCI bar.  If both attributes
are used, guest sees two memory bars, both address the same memory, with
the difference that the 32bit bar can address only the first part of the
whole memory.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1260749

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
14 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
src/qemu/qemu_process.c
tests/qemuxml2argvdata/qemuxml2argv-video-qxl-device-vram64.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-video-qxl-device-vram64.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-video-qxl-sec-device-vram64.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-video-qxl-sec-device-vram64.xml [new file with mode: 0644]