Bug 1869339

Summary: unsupported configuration: domain configuration does not support 'video model' value 'qxl'
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: amit, berrange, cfergeau, crobinso, development.group, dwmw2, itamar, pbonzini, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-17 22:24:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
virsh dumpxml none

Description Chris Murphy 2020-08-17 15:36:38 UTC
Description of problem:

New VM (BIOS or UEFI) won't start by default due to unsupported configuration.


Version-Release number of selected component (if applicable):
virt-manager-2.2.1-3.fc32.noarch
qemu-kvm-5.1.0-1.fc33.x86_64
libvirt-daemon-6.6.0-1.fc33.x86_64
xorg-x11-drv-qxl-0.1.5-16.fc33.x86_64
qemu-device-display-qxl-5.1.0-1.fc33.x86_64


How reproducible:
Always


Steps to Reproduce:
1. Create a new VM and try to run it
2.
3.

Actual results:

Unable to complete install: 'unsupported configuration: domain configuration does not support 'video model' value 'qxl''

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createvm.py", line 2089, in _do_async_install
    guest.installer_instance.start_install(guest, meter=meter)
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 542, in start_install
    domain = self._create_guest(
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 491, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib64/python3.8/site-packages/libvirt.py", line 4035, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirt.libvirtError: unsupported configuration: domain configuration does not support 'video model' value 'qxl'



Expected results:

If qxl is no longer supported, virt-manager shouldn't use it by default.

Additional info:


Aug 17 09:33:37 fmac.local libvirtd[1786]: unsupported configuration: domain configuration does not support 'video model' value 'qxl'

Comment 1 Chris Murphy 2020-08-17 15:38:04 UTC
Created attachment 1711633 [details]
virsh dumpxml

Comment 2 Chris Murphy 2020-08-17 15:39:44 UTC
Actually that dumpxml is after switching to virtio video. It won't let me change it back to qxl.

Error changing VM configuration: unsupported configuration: domain configuration does not support 'video model' value 'qxl'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 364, in change_config_helper
    define_func(devobj=devobj, do_hotplug=False, **define_args)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 758, in define_video
    self._redefine_xmlobj(xmlobj)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 417, in _redefine_xmlobj
    self._redefine_xml_internal(origxml, newxml)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 395, in _redefine_xml_internal
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 999, in _define
    self.conn.define_domain(xml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 612, in define_domain
    return self._backend.defineXML(xml)
  File "/usr/lib64/python3.8/site-packages/libvirt.py", line 4048, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirt.libvirtError: unsupported configuration: domain configuration does not support 'video model' value 'qxl'

Comment 3 Daniel Berrangé 2020-08-17 15:45:09 UTC
I guess this is the F33 dupe of this rawhide bug: https://bugzilla.redhat.com/show_bug.cgi?id=1869090

Fix is in dist-git but AFAICT, no new build is done yet.

Comment 4 Cole Robinson 2020-08-17 16:58:37 UTC
Yeah same bug. This isn't the spec dep issue though. On f33:

# qemu-kvm -vga qxl
Failed to open module: /usr/lib64/qemu/ui-gtk.so: undefined symbol: qemu_xkeymap_keycodes_semaphore
Failed to open module: /usr/lib64/qemu/ui-sdl.so: undefined symbol: qemu_xkeymap_keycodes_semaphore
Failed to open module: /usr/lib64/qemu/hw-display-qxl.so: undefined symbol: qemu_qxl_client_monitors_config_crc_semaphore
qemu-system-x86_64: QXL VGA not available

Probably same root issue as my report here: https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg02287.html

danpb I will try and poke at it but if you have time to work your magic I appreciate any help.
This is busted on f33+ but not f32 so I maybe something to do with Fedora linker changes

Comment 5 Cole Robinson 2020-08-17 22:24:19 UTC

*** This bug has been marked as a duplicate of bug 1869216 ***