diff options
author | Ján Tomko <jtomko@redhat.com> | 2016-04-11 14:26:06 +0200 |
---|---|---|
committer | Ján Tomko <jtomko@redhat.com> | 2016-04-12 10:45:35 +0200 |
commit | 6d8b6d2847f31a3d7a234536c12b8feca751a02f (patch) | |
tree | 95cf5f5cc967ed89ebb9bdfa632cba93ba830fa9 /tests/qemuargv2xmldata/qemuargv2xml-graphics-vnc-policy.xml | |
parent | 6879be484c9502394e55c799f5bb95c24c510644 (diff) | |
download | libvirt-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.xml | 2 |
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> |