# After upgrading Rocky 8.8 to 9.2, all of my VM's are broken

**URL:** <https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365>\
**Category:** Rocky Linux Help & Support\
**Created:** [June 20, 2023, 2:32pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365 "2023-06-20T14:32:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![frontrange](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@frontrange](https://forums.rockylinux.org/u/frontrange)\
**Post date:** [June 20, 2023, 2:32pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/1 "2023-06-20T14:32:34Z")

</div>

I sure hope this can be fixed, but so far I can’t see how. I’ve tried resetting the video driver to a different type, but none are accepted, any changes giving me an error about spice. I have my video configured for VNC anyway. so I don’t understand the context, but here is the error:

Error starting domain: unsupported configuration: domain configuration does not support video model ‘qxl’

---

<div class="post-metadata">

**Author:** ![Ritov](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@Ritov](https://forums.rockylinux.org/u/Ritov)\
**Post date:** [June 20, 2023, 3:00pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/2 "2023-06-20T15:00:04Z")

</div>

The SPICE protocol is not supported anymore (in EL9 in general). So, your “old” configuration should not have any SPICE reference in it (like for usb, audio, graphics etc.) …

---

<div class="post-metadata">

**Author:** ![frontrange](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@frontrange](https://forums.rockylinux.org/u/frontrange)\
**Post date:** [June 20, 2023, 3:16pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/3 "2023-06-20T15:16:11Z")

</div>

I only have spice mentioned under USB and channel(spice), but I cannot change anything in the VM without getting the error:

Error Removing Device: unsupported configuration: domain configuration does not support video model ‘qxl’

Traceback (most recent call last):  
File “/usr/share/virt-manager/virtManager/delete.py”, line 338, in remove\_devobj\_internal  
vm.remove\_device(devobj)  
File “/usr/share/virt-manager/virtManager/object/domain.py”, line 641, in remove\_device  
self.\_redefine\_xmlobj(xmlobj)  
File “/usr/share/virt-manager/virtManager/object/libvirtobject.py”, line 391, in \_redefine\_xmlobj  
self.\_redefine\_xml\_internal(origxml, newxml)  
File “/usr/share/virt-manager/virtManager/object/libvirtobject.py”, line 374, in \_redefine\_xml\_internal  
self.\_define(newxml)  
File “/usr/share/virt-manager/virtManager/object/domain.py”, line 1137, in \_define  
self.conn.define\_domain(xml)  
File “/usr/share/virt-manager/virtManager/connection.py”,

---

<div class="post-metadata">

**Author:** ![frontrange](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@frontrange](https://forums.rockylinux.org/u/frontrange)\
**Post date:** [June 20, 2023, 3:17pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/4 "2023-06-20T15:17:38Z")

</div>

I cannot modify ANYTHING in the VM configuration without getting the error:

Error Removing Device: unsupported configuration: domain configuration does not support video model ‘qxl’

Traceback (most recent call last):  
File “/usr/share/virt-manager/virtManager/delete.py”, line 338, in remove\_devobj\_internal  
vm.remove\_device(devobj)  
File “/usr/share/virt-manager/virtManager/object/domain.py”, line 641, in remove\_device  
self.\_redefine\_xmlobj(xmlobj)  
File “/usr/share/virt-manager/virtManager/object/libvirtobject.py”, line 391, in \_redefine\_xmlobj  
self.\_redefine\_xml\_internal(origxml, newxml)  
File “/usr/share/virt-manager/virtManager/object/libvirtobject.py”, line 374, in \_redefine\_xml\_internal  
self.\_define(newxml)  
File “/usr/share/virt-manager/virtManager/object/domain.py”, line 1137, in \_define  
self.conn.define\_domain(xml)  
File “/usr/share/virt-manager/virtManager/connection.py”,

---

<div class="post-metadata">

**Author:** ![dali](https://avatars.discourse-cdn.com/v4/letter/d/c68b51/32.png) [@dali](https://forums.rockylinux.org/u/dali)\
**Post date:** [June 20, 2023, 5:03pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/5 "2023-06-20T17:03:54Z")

</div>

When I migrated from Rocky 8 to Rocky 9 I couldn’t use virt-manager to edit VM settings since it requires that you save each change which makes it impossible to change both Display and Video at the same time. If you change QXL to something else it will refuse to save because of Spice, if you remove Spice it will refuse the change because of QXL.

Workaround for me was to manually edit the configuration files in /etc/libvirt/qemu, remove QXL and all Spice related settings and run “virsh define” for the changed files.

After that you can use virt-manager to add a new Display (VNC) and Video (virtio) to the VM:s.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [June 20, 2023, 5:17pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/6 "2023-06-20T17:17:04Z")

</div>

> [@dali](#):
>
> Workaround for me was to manually edit the configuration files in /etc/libvirt/qemu, remove QXL and all Spice related settings and run “virsh define” for the changed files.

You can also `virsh edit $domain`  
Also, possibly switch virt-manager to show XML and edit in it.

---

<div class="post-metadata">

**Author:** ![frontrange](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@frontrange](https://forums.rockylinux.org/u/frontrange)\
**Post date:** [June 20, 2023, 5:55pm UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/7 "2023-06-20T17:55:59Z")

</div>

That worked. Thanks!!

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 2:59am UTC](https://forums.rockylinux.org/t/after-upgrading-rocky-8-8-to-9-2-all-of-my-vms-are-broken/10365/8 "2023-08-25T02:59:56Z")

</div>


