Public bug reported:

With qemu 6.0 you'll see issues with hotplug on attach-device (there are
more cases than the examples show)

attach-device hotplug-rng.xml+ uvt-kvm ssh --insecure impish-kvm 'virsh -c 
qemu:///system attach-device impish-2nd-hotplug hotplug-rng.xml'
error: Failed to attach device from hotplug-rng.xml
error: internal error: unable to execute QEMU command 'object-add': Parameter 
'props' is unexpected

attach-device hotplug-mem64.xml+ uvt-kvm ssh --insecure impish-kvm 'virsh -c 
qemu:///system attach-device impish-2nd-hotplug hotplug-mem64.xml'
error: Failed to attach device from hotplug-mem64.xml
error: internal error: unable to execute QEMU command 'object-add': Parameter 
'size' is missing


This is due to qemu
https://git.qemu.org/?p=qemu.git;a=commit;h=50243407457a9fb0ed17b9a9ba9fc9aee09495b1

It was reported and discussed in
https://bugzilla.redhat.com/show_bug.cgi?id=1944985

It is intentional and will stay that way, so higher layers need to adapt.
https://libvirt.org/git/?p=libvirt.git;a=commit;h=e0eeb2cc67d960a48937f99c659fb63dbd4049dc
https://libvirt.org/git/?p=libvirt.git;a=commit;h=96850dfe216f99019978a55027a1e763135ae88f
https://libvirt.org/git/?p=libvirt.git;a=commit;h=4f33b817b2926198ec626f10c3fca1c8aaececf6

That means >=7.2 is needed for qemu 6.0
Impish will eventually have that, but I think we need to add a Breaks to qemu 
d/control to ensure partial upgrades are not crashing unexpectedly.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: Triaged

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: Triaged

** Also affects: qemu (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: libvirt (Ubuntu)
       Status: New => Triaged

** Changed in: qemu (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1932264

Title:
  qemu 6.0 breaks libvirt <7.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1932264/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to