* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version [not found] ` <20140528120444.GE2372@work-vm> @ 2014-06-02 12:42 ` Markus Armbruster 2014-06-02 13:50 ` Dr. David Alan Gilbert 0 siblings, 1 reply; 8+ messages in thread From: Markus Armbruster @ 2014-06-02 12:42 UTC (permalink / raw) To: Dr. David Alan Gilbert Cc: Paolo Bonzini, quintela, Laszlo Ersek, qemu-devel, lcapitulino "Dr. David Alan Gilbert" <dgilbert@redhat.com> writes: > * Paolo Bonzini (pbonzini@redhat.com) wrote: [...] >> Version numbers open a huge compatibility can of worms (what is a version >> number?) > > No, a version number here is very well defined; it's the output of > query-version' > (or 'info version' for the HMP world). Okay, make it "version numbers are a huge, well-defined compatibility can of worms" :) > How you do comparisons on that, and in particular how you parse the 'package' > text is a different matter, however I suggest that parsing the 'package' > text is downstream's problem and they provide that text. This means that a downstream has to examine and possibly adapt the version number conditionals when it backports anything. >> and don't solve the fundamental problem of migration receiving >> insufficient testing with upstream QEMU versions. > > Indeed; and it's not meant to - in no way is this an excuse for inadequate > testing - however, we're all human, and bugs happen, this is just providing > a way to get out of some of the mess afterwards. Understand. It's a last resort, to be used only when the alternatives are all even worse. If we put this in, we'll have to review all attempts to use it very critically: is there really, really no practical alternative? Can you explain why we should put it in before we have a user? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version 2014-06-02 12:42 ` [Qemu-devel] [PATCH 0/3] Migrate with destination version Markus Armbruster @ 2014-06-02 13:50 ` Dr. David Alan Gilbert 2014-06-02 15:51 ` Paolo Bonzini 0 siblings, 1 reply; 8+ messages in thread From: Dr. David Alan Gilbert @ 2014-06-02 13:50 UTC (permalink / raw) To: Markus Armbruster Cc: Paolo Bonzini, quintela, Laszlo Ersek, qemu-devel, lcapitulino * Markus Armbruster (armbru@redhat.com) wrote: > "Dr. David Alan Gilbert" <dgilbert@redhat.com> writes: > > > * Paolo Bonzini (pbonzini@redhat.com) wrote: > [...] > >> Version numbers open a huge compatibility can of worms (what is a version > >> number?) > > > > No, a version number here is very well defined; it's the output of > > query-version' > > (or 'info version' for the HMP world). > > Okay, make it "version numbers are a huge, well-defined compatibility > can of worms" :) > > > How you do comparisons on that, and in particular how you parse the 'package' > > text is a different matter, however I suggest that parsing the 'package' > > text is downstream's problem and they provide that text. > > This means that a downstream has to examine and possibly adapt the > version number conditionals when it backports anything. I was thinking of adding a few routines for version number comparison, in the hope that they would help cover these two problems; but that I really thought didn't make sense until we had some feel about how they would be used. > >> and don't solve the fundamental problem of migration receiving > >> insufficient testing with upstream QEMU versions. > > > > Indeed; and it's not meant to - in no way is this an excuse for inadequate > > testing - however, we're all human, and bugs happen, this is just providing > > a way to get out of some of the mess afterwards. > > Understand. It's a last resort, to be used only when the alternatives > are all even worse. Exactly. > If we put this in, we'll have to review all attempts to use it very > critically: is there really, really no practical alternative? Yep. > Can you explain why we should put it in before we have a user? If we have it in then we can get libvirt to use it. If we have it all in place then if we do hit a compatibility issue where we need to use it, then it's easy. If we don't put it in, then if we hit this type of situation we suddenly need to coordinate a modification of libvirt as well. However, it gets trickier since the destination libvirt has to know to send the version information to the source; so we can only use this trick between versions where the libvirt on both ends knows about it; so if we suddenly hit a compatibility issue where we need it then we'd have to update libvirt on both sides, which is too late. So putting this in now, and getting it into libvirt means everyone has the info. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version 2014-06-02 13:50 ` Dr. David Alan Gilbert @ 2014-06-02 15:51 ` Paolo Bonzini 2014-06-02 16:40 ` Dr. David Alan Gilbert 0 siblings, 1 reply; 8+ messages in thread From: Paolo Bonzini @ 2014-06-02 15:51 UTC (permalink / raw) To: Dr. David Alan Gilbert, Markus Armbruster Cc: lcapitulino, Laszlo Ersek, qemu-devel, quintela Il 02/06/2014 15:50, Dr. David Alan Gilbert ha scritto: > However, it gets trickier since the destination libvirt has to know to send > the version information to the source; so we can only use this trick between > versions where the libvirt on both ends knows about it; so if we suddenly hit > a compatibility issue where we need it then we'd have to update libvirt on both > sides, which is too late. > > So putting this in now, and getting it into libvirt means everyone has the info. It also means we have a higher risk of getting it wrong, and having to do the work twice. Paolo ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version 2014-06-02 15:51 ` Paolo Bonzini @ 2014-06-02 16:40 ` Dr. David Alan Gilbert 2014-06-02 17:39 ` Paolo Bonzini 0 siblings, 1 reply; 8+ messages in thread From: Dr. David Alan Gilbert @ 2014-06-02 16:40 UTC (permalink / raw) To: Paolo Bonzini Cc: qemu-devel, lcapitulino, Laszlo Ersek, Markus Armbruster, quintela * Paolo Bonzini (pbonzini@redhat.com) wrote: > Il 02/06/2014 15:50, Dr. David Alan Gilbert ha scritto: > >However, it gets trickier since the destination libvirt has to know to send > >the version information to the source; so we can only use this trick between > >versions where the libvirt on both ends knows about it; so if we suddenly hit > >a compatibility issue where we need it then we'd have to update libvirt on both > >sides, which is too late. > > > >So putting this in now, and getting it into libvirt means everyone has the info. > > It also means we have a higher risk of getting it wrong, and having to do > the work twice. That's why all this is does is provide the interface; it doesn't do anything behind it and just allows us to wire in libvirt etc. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version 2014-06-02 16:40 ` Dr. David Alan Gilbert @ 2014-06-02 17:39 ` Paolo Bonzini 2014-06-02 17:44 ` Dr. David Alan Gilbert 0 siblings, 1 reply; 8+ messages in thread From: Paolo Bonzini @ 2014-06-02 17:39 UTC (permalink / raw) To: Dr. David Alan Gilbert Cc: Markus Armbruster, quintela, Laszlo Ersek, qemu-devel, lcapitulino Il 02/06/2014 18:40, Dr. David Alan Gilbert ha scritto: >>> > > >>> > >So putting this in now, and getting it into libvirt means everyone has the info. >> > >> > It also means we have a higher risk of getting it wrong, and having to do >> > the work twice. > That's why all this is does is provide the interface; it doesn't do anything behind > it and just allows us to wire in libvirt etc. If the version-based interface turns out to be not enough, we've done the work for nothing. In fact, we already know that it is not enough to solve 2.0->1.6 migration with -M pc-1.5. Paolo ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version 2014-06-02 17:39 ` Paolo Bonzini @ 2014-06-02 17:44 ` Dr. David Alan Gilbert 2014-06-02 20:05 ` Paolo Bonzini 0 siblings, 1 reply; 8+ messages in thread From: Dr. David Alan Gilbert @ 2014-06-02 17:44 UTC (permalink / raw) To: Paolo Bonzini Cc: qemu-devel, lcapitulino, Laszlo Ersek, Markus Armbruster, quintela * Paolo Bonzini (pbonzini@redhat.com) wrote: > Il 02/06/2014 18:40, Dr. David Alan Gilbert ha scritto: > >>>> > > >>>> >So putting this in now, and getting it into libvirt means everyone has the info. > >>> > >>> It also means we have a higher risk of getting it wrong, and having to do > >>> the work twice. > >That's why all this is does is provide the interface; it doesn't do anything behind > >it and just allows us to wire in libvirt etc. > > If the version-based interface turns out to be not enough, we've done the > work for nothing. In fact, we already know that it is not enough to solve > 2.0->1.6 migration with -M pc-1.5. Remind me, why doesn't it solve that? (It would be a pain to implement but if this is just the pci host format I believe it would be doable) Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version 2014-06-02 17:44 ` Dr. David Alan Gilbert @ 2014-06-02 20:05 ` Paolo Bonzini 2014-06-04 18:51 ` Dr. David Alan Gilbert 0 siblings, 1 reply; 8+ messages in thread From: Paolo Bonzini @ 2014-06-02 20:05 UTC (permalink / raw) To: Dr. David Alan Gilbert Cc: Markus Armbruster, quintela, Laszlo Ersek, qemu-devel, lcapitulino Il 02/06/2014 19:44, Dr. David Alan Gilbert ha scritto: >> > If the version-based interface turns out to be not enough, we've done the >> > work for nothing. In fact, we already know that it is not enough to solve >> > 2.0->1.6 migration with -M pc-1.5. > Remind me, why doesn't it solve that? > (It would be a pain to implement but if this is just the pci host format > I believe it would be doable) Sorry, it does solve 2.0->1.6 but it would not solve 1.6->2.0. Paolo ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] [PATCH 0/3] Migrate with destination version 2014-06-02 20:05 ` Paolo Bonzini @ 2014-06-04 18:51 ` Dr. David Alan Gilbert 0 siblings, 0 replies; 8+ messages in thread From: Dr. David Alan Gilbert @ 2014-06-04 18:51 UTC (permalink / raw) To: Paolo Bonzini Cc: Markus Armbruster, quintela, Laszlo Ersek, qemu-devel, lcapitulino * Paolo Bonzini (pbonzini@redhat.com) wrote: > Il 02/06/2014 19:44, Dr. David Alan Gilbert ha scritto: > >>> If the version-based interface turns out to be not enough, we've done the > >>> work for nothing. In fact, we already know that it is not enough to solve > >>> 2.0->1.6 migration with -M pc-1.5. > >Remind me, why doesn't it solve that? > >(It would be a pain to implement but if this is just the pci host format > >I believe it would be doable) > > Sorry, it does solve 2.0->1.6 but it would not solve 1.6->2.0. Right, I'm only intending this to solve the problem of allowing you to migrate to an earlier broken version while not having to keep that breakage as you migrate forward. The easy example would be 1.6.2->1.6.1 while also allowing 1.6.2->2.0. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-06-04 18:52 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <1401276034-30486-1-git-send-email-dgilbert@redhat.com> [not found] ` <5385CC10.6030909@redhat.com> [not found] ` <20140528120444.GE2372@work-vm> 2014-06-02 12:42 ` [Qemu-devel] [PATCH 0/3] Migrate with destination version Markus Armbruster 2014-06-02 13:50 ` Dr. David Alan Gilbert 2014-06-02 15:51 ` Paolo Bonzini 2014-06-02 16:40 ` Dr. David Alan Gilbert 2014-06-02 17:39 ` Paolo Bonzini 2014-06-02 17:44 ` Dr. David Alan Gilbert 2014-06-02 20:05 ` Paolo Bonzini 2014-06-04 18:51 ` Dr. David Alan Gilbert
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).