qemu <-> libvirt interaction broken
Hi,
Commit 585f60368f23e6603cf86cfdaeceb89d1169f4b8 appearently breaks the libvirt feature detection, my guests fail to start with this message:
error: Failed to start domain fedora-org-virtio
error: internal error qemu does not support SGA
Running libvirt-0.10.2-2.el6.x86_64
cheers,
Gerd
Quoted 7 lines · Gerd Hoffmann
Commit
585f60368f23e6603cf86cfdaeceb89d1169f4b8appearently breaks the libvirt feature detection, my guests fail to start with this message:error: Failed to start domain fedora-org-virtio
error: internal error qemu does not support SGARunning libvirt-0.10.2-2.el6.x86_64
Yeah, this is the commit that means you need an updated libvirt from this point on (and in particular for qemu-1.3).
-- PMM
Quoted 11 lines · Peter Maydell
Quoted 7 lines · Gerd Hoffmann
Commit
585f60368f23e6603cf86cfdaeceb89d1169f4b8appearently breaks the libvirt feature detection, my guests fail to start with this message:error: Failed to start domain fedora-org-virtio
error: internal error qemu does not support SGARunning libvirt-0.10.2-2.el6.x86_64
Yeah, this is the commit that means you need an updated libvirt from this point on (and in particular for qemu-1.3).
Well, only problem is that 0.10.2 already is the latest libvirt release.
Was it really intentional to break things like this?
cheers,
Gerd
Quoted 8 lines · Gerd Hoffmann
Quoted 7 lines · Peter Maydell
Quoted 6 lines · Gerd Hoffmann
Commit
585f60368f23e6603cf86cfdaeceb89d1169f4b8appearently breaks the libvirt feature detection, my guests fail to start with this message:error: Failed to start domain fedora-org-virtio
error: internal error qemu does not support SGA
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Running libvirt-0.10.2-2.el6.x86_64
Yeah, this is the commit that means you need an updated libvirt from this point on (and in particular for qemu-1.3).
Well, only problem is that 0.10.2 already is the latest libvirt release.
Was it really intentional to break things like this?
This change was postponed to after 1.2 was released to give libvirt a chance to wean itself off parsing our --help output. I took Eric's Reviewed-by as an indication he was happy with it going in now from the libvirt side...
-- PMM
Quoted 14 lines · Peter Maydell
Quoted 13 lines · Gerd Hoffmann
Quoted 11 lines · Peter Maydell
Quoted 7 lines · Gerd Hoffmann
Commit
585f60368f23e6603cf86cfdaeceb89d1169f4b8appearently breaks the libvirt feature detection, my guests fail to start with this message:error: Failed to start domain fedora-org-virtio
error: internal error qemu does not support SGARunning libvirt-0.10.2-2.el6.x86_64
Yeah, this is the commit that means you need an updated libvirt from this point on (and in particular for qemu-1.3).
Quoted 6 lines
Quoted 2 lines
Well, only problem is that 0.10.2 already is the latest libvirt release.
Was it really intentional to break things like this?This change was postponed to after 1.2 was released to give libvirt a chance to wean itself off parsing our --help output.
Yea, I know this has been the plan for a long time and I agree that it is a good move.
Only problem is that the switch didn't happen yet. The bits might be landed in libvirt/master, but there is no release with this yet and thus libvirt versions using QOM for feature detection didn't find the way yet into distributions.
IMO it is a bit early to stop caring about -help output compatibility in qemu.
cheers,
Gerd
Quoted 25 lines · Gerd Hoffmann
Quoted 14 lines · Peter Maydell
Quoted 13 lines · Gerd Hoffmann
Quoted 11 lines · Peter Maydell
Quoted 7 lines · Gerd Hoffmann
Commit
585f60368f23e6603cf86cfdaeceb89d1169f4b8appearently breaks the libvirt feature detection, my guests fail to start with this message:error: Failed to start domain fedora-org-virtio
error: internal error qemu does not support SGARunning libvirt-0.10.2-2.el6.x86_64
Yeah, this is the commit that means you need an updated libvirt from this point on (and in particular for qemu-1.3).
Quoted 6 lines
Quoted 2 lines
Well, only problem is that 0.10.2 already is the latest libvirt release.
Was it really intentional to break things like this?This change was postponed to after 1.2 was released to give libvirt a chance to wean itself off parsing our --help output.
Yea, I know this has been the plan for a long time and I agree that it is a good move.
Quoted 7 lines
Only problem is that the switch didn't happen yet. The bits might be landed in libvirt/master, but there is no release with this yet and thus libvirt versions using QOM for feature detection didn't find the way yet into distributions.
IMO it is a bit early to stop caring about -help output compatibility in qemu.
It was announced. There's been plenty of time to adapt.
If you're using QEMU from git, it's reasonable to require libvirt from git IMHO.
By the time 1.3 goes out, there should be a libvirt release with the necessary support so if your using distro packages, you'll never notice.
Regards,
Anthony Liguori
Quoted 3 lines
cheers,
Gerd
Quoted 13 lines · Anthony Liguori
Quoted 13 lines
Quoted 4 lines
This change was postponed to after 1.2 was released to give libvirt a chance to wean itself off parsing our --help output.
Yea, I know this has been the plan for a long time and I agree that it is a good move.
Only problem is that the switch didn't happen yet. The bits might be landed in libvirt/master, but there is no release with this yet and thus libvirt versions using QOM for feature detection didn't find the way yet into distributions.
Quoted 7 lines
Quoted 2 lines
IMO it is a bit early to stop caring about -help output compatibility in qemu.
It was announced. There's been plenty of time to adapt.
If you're using QEMU from git, it's reasonable to require libvirt from git IMHO.
Agreed.
That said, distros can ease the pain by backporting the libvirt patches for starting qemu from QMP rather than -help into current libvirt releases, although that becomes a matter for distros rather than this list.
Quoted 3 lines
By the time 1.3 goes out, there should be a libvirt release with the necessary support so if your using distro packages, you'll never notice.
Libvirt 1.0.0 will land in early November, and fully supports qemu.git, so you are correct that a released libvirt will be available prior to qemu 1.3:
https://www.redhat.com/archives/libvir-list/2012-October/msg00403.html
Additionally, there will probably be a release candidate in the next 48 hours, where you can use that tarball (rawhide will most certainly pick it up), so the pain of using libvirt.git to develop qemu.git will not last much longer.
Signature · 2 lines
Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 33 lines · Eric Blake
Quoted 13 lines · Anthony Liguori
Quoted 13 lines
Quoted 4 lines
This change was postponed to after 1.2 was released to give libvirt a chance to wean itself off parsing our --help output.
Yea, I know this has been the plan for a long time and I agree that it is a good move.
Only problem is that the switch didn't happen yet. The bits might be landed in libvirt/master, but there is no release with this yet and thus libvirt versions using QOM for feature detection didn't find the way yet into distributions.
Quoted 7 lines
Quoted 2 lines
IMO it is a bit early to stop caring about -help output compatibility in qemu.
It was announced. There's been plenty of time to adapt.
If you're using QEMU from git, it's reasonable to require libvirt from git IMHO.
Agreed.
That said, distros can ease the pain by backporting the libvirt patches for starting qemu from QMP rather than -help into current libvirt releases, although that becomes a matter for distros rather than this list.
Quoted 3 lines
By the time 1.3 goes out, there should be a libvirt release with the necessary support so if your using distro packages, you'll never notice.
Quoted 8 lines
Libvirt 1.0.0 will land in early November, and fully supports qemu.git, so you are correct that a released libvirt will be available prior to qemu 1.3:
https://www.redhat.com/archives/libvir-list/2012-October/msg00403.html
Additionally, there will probably be a release candidate in the next 48 hours, where you can use that tarball (rawhide will most certainly pick it up), so the pain of using libvirt.git to develop qemu.git will not last much longer.
Excellent, thanks Eric!
Regards,
Anthony Liguori
Quoted 4 lines
Signature · 3 lines
-- Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org