]> xenbits.xensource.com Git - libvirt.git/commit
qemu: format 'ramfb' attribute for mediated devices
authorJonathon Jongsma <jjongsma@redhat.com>
Tue, 23 Jun 2020 18:29:56 +0000 (13:29 -0500)
committerJán Tomko <jtomko@redhat.com>
Tue, 23 Jun 2020 21:20:00 +0000 (23:20 +0200)
commitc5815b31976f3982d18c7f6c1367ab6e403eb7eb
treee9f0644018cb934b98454bfe896faa151f7926ac
parent66ce769d278ec6603bd90e9315d2392348d9a00f
qemu: format 'ramfb' attribute for mediated devices

It's possible to use ramfb as the boot display of an assigned vgpu
device. This was introduced in 4b95738c, but unfortunately the attribute
was not formatted into the xml output for such a device. This patch
fixes that oversight and adds a xml2xml test to verify proper behavior.

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

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
tests/qemuxml2xmloutdata/hostdev-mdev-display-ramfb.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c