Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionKaterina Koukiou
2021-06-09 14:10:53 UTC
Description of problem:
Video type for linux guests defaults to qxl on rhel9 host, although it is not supported.
Version-Release number of selected component (if applicable):
libvirt-daemon-7.3.0-1.el9.x86_64
qemu-kvm-6.0.0-3.el9.x86_64
virt-install-3.2.0-4.el9.noarch
How reproducible:
Always
Steps to Reproduce:
1. virt-install --connect qemu:///system --name subVmTest1 --os-variant cirros0.4.0 --boot hd,network --vcpus 1 --memory 128 --import --disk /var/lib/libvirt/images/subVmTest1-2.img --graphics spice,listen=127.0.0.1 --console file,target.type=serial,source.path=/var/log/libvirt/console-subVmTest1.log --print-step 1 > /tmp/xml
2. virsh define /tmp/xml
Actual results:
# virsh define /tmp/xml
error: Failed to define domain from /tmp/xml
error: unsupported configuration: domain configuration does not support video model 'qxl'
Expected results:
# virsh define /tmp/xml
Domain 'subVmTest1' defined from /tmp/xml
Additional info:
qxl is missing from video capabilities on the RHEL.9.0 host:
# virsh domcapabilities | grep -A9 '<video'
<video supported='yes'>
<enum name='modelType'>
<value>vga</value>
<value>cirrus</value>
<value>virtio</value>
<value>none</value>
<value>bochs</value>
<value>ramfb</value>
</enum>
</video>
Alright, this was a red herring, I specified in the virt-install options to add spice graphics, but the host does not have spice-server.
However when specifying to graphics at all, virt-install will still default to spice graphics.
So:
virt-install --connect qemu:///system --name subVmTest1 --os-variant cirros0.4.0 --boot hd,network --vcpus 1 --memory 128 --import --disk /var/lib/libvirt/images/subVmTest1-2.img --console file,target.type=serial,source.path=/var/log/libvirt/console-subVmTest1.log --print-step 1
Will still create a:
```
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
<image compression="off"/>
</graphics>
<sound model="ich6"/>
<video>
<model type="qxl"/>
</video>
```
Which will make the VM defining to fail like before.
Description of problem: Video type for linux guests defaults to qxl on rhel9 host, although it is not supported. Version-Release number of selected component (if applicable): libvirt-daemon-7.3.0-1.el9.x86_64 qemu-kvm-6.0.0-3.el9.x86_64 virt-install-3.2.0-4.el9.noarch How reproducible: Always Steps to Reproduce: 1. virt-install --connect qemu:///system --name subVmTest1 --os-variant cirros0.4.0 --boot hd,network --vcpus 1 --memory 128 --import --disk /var/lib/libvirt/images/subVmTest1-2.img --graphics spice,listen=127.0.0.1 --console file,target.type=serial,source.path=/var/log/libvirt/console-subVmTest1.log --print-step 1 > /tmp/xml 2. virsh define /tmp/xml Actual results: # virsh define /tmp/xml error: Failed to define domain from /tmp/xml error: unsupported configuration: domain configuration does not support video model 'qxl' Expected results: # virsh define /tmp/xml Domain 'subVmTest1' defined from /tmp/xml Additional info: qxl is missing from video capabilities on the RHEL.9.0 host: # virsh domcapabilities | grep -A9 '<video' <video supported='yes'> <enum name='modelType'> <value>vga</value> <value>cirrus</value> <value>virtio</value> <value>none</value> <value>bochs</value> <value>ramfb</value> </enum> </video>