summaryrefslogtreecommitdiff
path: root/tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2016-04-11 14:26:06 +0200
committerJán Tomko <jtomko@redhat.com>2016-04-12 10:45:35 +0200
commit6d8b6d2847f31a3d7a234536c12b8feca751a02f (patch)
tree95cf5f5cc967ed89ebb9bdfa632cba93ba830fa9 /tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml
parent6879be484c9502394e55c799f5bb95c24c510644 (diff)
downloadlibvirt-6d8b6d2847f31a3d7a234536c12b8feca751a02f.tar.gz
conf: also mark the implicit video as primary
Commit 119cd06 started setting the primary bool for the first user-specified video even if user omitted the 'primary' attribute. However this was done before the addition of the implicit device. This broke startup of transient qemu domains with no <video>: https://bugzilla.redhat.com/show_bug.cgi?id=1325757 Move this default to virDomainDefPostParseInternal, after the addition of the implicit video device, to catch the implicit video as well.
Diffstat (limited to 'tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml')
-rw-r--r--tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml b/tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml
index 36b8001dbe..3ebb375e1b 100644
--- a/tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml
+++ b/tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml
@@ -29,7 +29,7 @@
<listen type='address' address='::'/>
</graphics>
<video>
- <model type='cirrus' vram='16384' heads='1'/>
+ <model type='cirrus' vram='16384' heads='1' primary='yes'/>
</video>
<memballoon model='none'/>
</devices>