Bug 1869090 - QEMU fails to start any VM with QXL as vga device
Summary: QEMU fails to start any VM with QXL as vga device
Keywords:
Status: CLOSED DUPLICATE of bug 1869216
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-16 15:46 UTC by Jacques YE
Modified: 2020-08-17 22:23 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-08-17 22:23:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jacques YE 2020-08-16 15:46:41 UTC
Description of problem:
Starting a VM using QXL as Video device fails to start.

Version-Release number of selected component (if applicable):
2:5.1.0-1.fc34   qemu-kvm
2:5.1.0-1.fc34   qemu-device-display-qxl

How reproducible:
I don't know, on my computer, 100%

Steps to Reproduce:
1. Start Virt-manager
2. Select any VM
3. click on details
4. click on Video ${vga_device}
5. Having qxl as video device fails to start VM
6. Changing the video back to QXL fails

Actual results:
```
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.9/site-packages/libvirt.py", line 4063, 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'
```

Expected results:
VM Starts without having issues

Additional info:
outputs of "qemu-system-x86_64"
```
qemu-system-x86_64 -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
```

Comment 1 Parag Nemade 2020-08-17 08:40:33 UTC
I too found this issue on Fedora 33 system. Unable to start already created VM now.

Comment 2 Cole Robinson 2020-08-17 22:23:58 UTC

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


Note You need to log in before you can comment on or make changes to this bug.