Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Q qemu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • QEMU
  • qemu
  • Merge requests
  • !23

d/control: qemu 6.0 broke libvirt <7.2 add a breaks to avoid partial upgrade issues (LP: #1932264)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christian Ehrhardt requested to merge paelzer-guest/qemu:qemu-6.0-breaks-libvirt-DEBIAN into debian-experimental Jun 17, 2021
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

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

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
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=50243407457a

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=e0eeb2cc67d9
  • https://libvirt.org/git/?p=libvirt.git;a=commit;h=96850dfe216f
  • https://libvirt.org/git/?p=libvirt.git;a=commit;h=4f33b817b292

That means >=7.2 is needed for qemu 6.0 and to avoid any potential issues on e.g. partial upgrades adding a breaks in d/control will help.

Edited Jun 17, 2021 by Christian Ehrhardt
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: qemu-6.0-breaks-libvirt-DEBIAN