* [Qemu-devel] qemu <-> libvirt interaction broken
@ 2012-10-22 13:28 Gerd Hoffmann
2012-10-22 13:51 ` Peter Maydell
0 siblings, 1 reply; 8+ messages in thread
From: Gerd Hoffmann @ 2012-10-22 13:28 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel@nongnu.org, Aurelien Jarno
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] qemu <-> libvirt interaction broken
2012-10-22 13:28 [Qemu-devel] qemu <-> libvirt interaction broken Gerd Hoffmann
@ 2012-10-22 13:51 ` Peter Maydell
2012-10-23 7:03 ` Gerd Hoffmann
0 siblings, 1 reply; 8+ messages in thread
From: Peter Maydell @ 2012-10-22 13:51 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel@nongnu.org, Aurelien Jarno
On 22 October 2012 14:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
> 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
Yeah, this is the commit that means you need an updated libvirt
from this point on (and in particular for qemu-1.3).
-- PMM
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] qemu <-> libvirt interaction broken
2012-10-22 13:51 ` Peter Maydell
@ 2012-10-23 7:03 ` Gerd Hoffmann
2012-10-23 8:19 ` Peter Maydell
0 siblings, 1 reply; 8+ messages in thread
From: Gerd Hoffmann @ 2012-10-23 7:03 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel@nongnu.org, Aurelien Jarno
On 10/22/12 15:51, Peter Maydell wrote:
> On 22 October 2012 14:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
>> 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
>
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] qemu <-> libvirt interaction broken
2012-10-23 7:03 ` Gerd Hoffmann
@ 2012-10-23 8:19 ` Peter Maydell
2012-10-23 8:41 ` Gerd Hoffmann
0 siblings, 1 reply; 8+ messages in thread
From: Peter Maydell @ 2012-10-23 8:19 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel@nongnu.org, Aurelien Jarno
On 23 October 2012 08:03, Gerd Hoffmann <kraxel@redhat.com> wrote:
> On 10/22/12 15:51, Peter Maydell wrote:
>> On 22 October 2012 14:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
>>> 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
>>
>> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] qemu <-> libvirt interaction broken
2012-10-23 8:19 ` Peter Maydell
@ 2012-10-23 8:41 ` Gerd Hoffmann
2012-10-23 12:47 ` Anthony Liguori
0 siblings, 1 reply; 8+ messages in thread
From: Gerd Hoffmann @ 2012-10-23 8:41 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-devel@nongnu.org, Aurelien Jarno
On 10/23/12 10:19, Peter Maydell wrote:
> On 23 October 2012 08:03, Gerd Hoffmann <kraxel@redhat.com> wrote:
>> On 10/22/12 15:51, Peter Maydell wrote:
>>> On 22 October 2012 14:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
>>>> 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
>>>
>>> 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.
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] qemu <-> libvirt interaction broken
2012-10-23 8:41 ` Gerd Hoffmann
@ 2012-10-23 12:47 ` Anthony Liguori
2012-10-23 13:07 ` Eric Blake
0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2012-10-23 12:47 UTC (permalink / raw)
To: Gerd Hoffmann, Peter Maydell; +Cc: qemu-devel@nongnu.org, Aurelien Jarno
Gerd Hoffmann <kraxel@redhat.com> writes:
> On 10/23/12 10:19, Peter Maydell wrote:
>> On 23 October 2012 08:03, Gerd Hoffmann <kraxel@redhat.com> wrote:
>>> On 10/22/12 15:51, Peter Maydell wrote:
>>>> On 22 October 2012 14:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
>>>>> 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
>>>>
>>>> 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.
>
> 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.
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
>
> cheers,
> Gerd
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] qemu <-> libvirt interaction broken
2012-10-23 12:47 ` Anthony Liguori
@ 2012-10-23 13:07 ` Eric Blake
2012-10-23 14:28 ` Anthony Liguori
0 siblings, 1 reply; 8+ messages in thread
From: Eric Blake @ 2012-10-23 13:07 UTC (permalink / raw)
To: Anthony Liguori
Cc: Peter Maydell, Gerd Hoffmann, Aurelien Jarno,
qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 1754 bytes --]
On 10/23/2012 06:47 AM, Anthony Liguori wrote:
>>>
>>> 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.
>
> 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.
>
> 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.
--
Eric Blake eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 617 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] qemu <-> libvirt interaction broken
2012-10-23 13:07 ` Eric Blake
@ 2012-10-23 14:28 ` Anthony Liguori
0 siblings, 0 replies; 8+ messages in thread
From: Anthony Liguori @ 2012-10-23 14:28 UTC (permalink / raw)
To: Eric Blake
Cc: Peter Maydell, Gerd Hoffmann, Aurelien Jarno,
qemu-devel@nongnu.org
Eric Blake <eblake@redhat.com> writes:
> On 10/23/2012 06:47 AM, Anthony Liguori wrote:
>
>>>>
>>>> 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.
>>
>> 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.
>
>>
>> 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.
Excellent, thanks Eric!
Regards,
Anthony Liguori
>
> --
> Eric Blake eblake@redhat.com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-10-23 14:28 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 13:28 [Qemu-devel] qemu <-> libvirt interaction broken Gerd Hoffmann
2012-10-22 13:51 ` Peter Maydell
2012-10-23 7:03 ` Gerd Hoffmann
2012-10-23 8:19 ` Peter Maydell
2012-10-23 8:41 ` Gerd Hoffmann
2012-10-23 12:47 ` Anthony Liguori
2012-10-23 13:07 ` Eric Blake
2012-10-23 14:28 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).