Virtual machine manager error - qemu

after latest stable update i can no longer launch my vms from virtual machine manager. i posted about it here: [Stable Update] 2021-12-16 - Kernels, KDE Gear 21.12.0, Gnome Extensions, LibreOffice - #55 by fredvej

Error starting domain: internal error: qemu unexpectedly closed the monitor: 2021-12-17T21:12:09.862776Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
2021-12-17T21:12:09.863790Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
2021-12-17T21:12:09.864289Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
2021-12-17T21:12:09.864664Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
qxl_send_events: spice-server bug: guest stopped, ignoring
kvm_set_irq: Input/output error

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 101, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/object/domain.py", line 1329, in startup
    self._backend.create()
  File "/usr/lib/python3.9/site-packages/libvirt.py", line 1353, in create
    raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2021-12-17T21:12:09.862776Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
2021-12-17T21:12:09.863790Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
2021-12-17T21:12:09.864289Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
2021-12-17T21:12:09.864664Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
qxl_send_events: spice-server bug: guest stopped, ignoring
kvm_set_irq: Input/output error

people from the VFIO discord channel have the same issue on arch and one mentioned that rolling back to libvirt 7.8.0 works. i havent tried that but am trying to find discussion on the issue.

for anyone else its this bug:
https://bugzilla.kernel.org/show_bug.cgi?id=215351
https://www.spinics.net/lists/stable/msg521641.html

1 Like

Try to downgrade: downgrade allows you to replace a package version with a specific previous version and check if this is indeed a solution.

$ sudo downgrade libvirt

For reference, I use the same libvirt version you do (all branches have 7.10.0) with with a slightly newer kernel 5.15.8 and can start VM’s.

If this is after a upgrade, have you checked for pacnew files to merge? In the past I’ve had to merge some libvirt settings to get things back to work.

yes i used that tool to downgrade libvirt to 7.9.0 from 7.10.0 as that was the only local version i had to downgrade to. it didnt fix it. its a qemu issue i guess. i went back to kernel 5.14 and that fixed it. will wait for that fix to land to fix it before going back to 5.15.

i updated the thread title to reflect the new info.

There is also an issue with OVMF (UEFI boot) version 201111-4. Arch Linux has fixed it in version 201111-5, but not Manjaro (yet). You can downgrade the package and it should be OK.