From: Anthony Liguori <aliguori@us.ibm.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>, Dor Laor <dlaor@redhat.com>,
ajax@redhat.com, Paul Brook <paul@codesourcery.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Change virtio-console to PCI_CLASS_SERIAL_OTHER
Date: Thu, 28 May 2009 08:19:25 -0500 [thread overview]
Message-ID: <4A1E8F5D.1090408@us.ibm.com> (raw)
In-Reply-To: <20090528130419.GC24488@redhat.com>
Daniel P. Berrange wrote:
> On Thu, May 28, 2009 at 01:53:49PM +0100, Paul Brook wrote:
>
>> On Wednesday 27 May 2009, Mark McLoughlin wrote:
>>
>>> On Wed, 2009-05-27 at 09:21 -0500, Anthony Liguori wrote:
>>>
>>>> We need a mechanism to toggle this for both this and virtio-blk. The
>>>> reason a toggle is needed is so that 0.11 can create the same device
>>>> model as 0.10.
>>>>
>>> Okay, so the scenario is:
>>>
>>> - 0.10 guest running on source machine
>>>
>>> - migrate to dest machine running 0.11
>>>
>>> - the device model cannot change or the guest OS will get confused
>>>
>> IMHO think the only sane response is "don't do that". Trying to support
>> migration between different qemu versions just isn't worth the pain.
>>
>
> I think that further more, we shouldn't make a change like altering
> the PCI device class in the stable branch, only in the unstable
> branch. If we restrict the stable branch to bug fixes, then it ought
> to be (more?) practical to support save under 0.10 and restore under
> 0.11, without needing to support the hard problem of save under 0.10
> and restore under 1.00 (or whatever next major release branch is)
>
This is not a save/restore issue. PCI config will be saved in the image
so everything is fine until you shut a VM down.
The problem is that the device model a guest sees is an ABI. If we
change the ABI between versions, the guest make break. What I'm
proposing is that while we can change the default guest ABI between
versions, we must provide a way to recreate older forms of the guest ABI.
A good example of guests breaking is Windows activation failing. It has
happened more than once that changes in QEMU cause Windows guests to
force reactivation. In more extreme instances, a guest may break that
used to work before.
Regards,
Anthony Liguori
> Regards,
> Daniel
>
next prev parent reply other threads:[~2009-05-28 13:19 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-22 17:14 [Qemu-devel] [PATCH] Change virtio-console to PCI_CLASS_SERIAL_OTHER Mark McLoughlin
2009-05-24 9:11 ` Avi Kivity
2009-05-27 14:21 ` Anthony Liguori
2009-05-27 17:42 ` Mark McLoughlin
2009-05-27 22:37 ` Anthony Liguori
2009-05-28 9:33 ` Mark McLoughlin
2009-05-28 9:44 ` Anthony Liguori
2009-05-28 12:53 ` Paul Brook
2009-05-28 12:56 ` Anthony Liguori
2009-05-28 13:22 ` Paul Brook
2009-05-28 13:29 ` Anthony Liguori
2009-05-28 21:45 ` Dor Laor
2009-05-29 9:43 ` Mark McLoughlin
2009-05-29 9:50 ` Anthony Liguori
2009-05-31 14:32 ` Avi Kivity
2009-05-29 9:55 ` Anthony Liguori
2009-05-29 10:09 ` Mark McLoughlin
2009-05-31 14:47 ` Dor Laor
2009-06-02 8:49 ` Mark McLoughlin
2009-06-02 13:08 ` Dor Laor
2009-06-02 13:39 ` Mark McLoughlin
2009-05-31 14:35 ` Dor Laor
2009-06-02 8:49 ` Mark McLoughlin
2009-05-28 13:04 ` Daniel P. Berrange
2009-05-28 13:19 ` Anthony Liguori [this message]
2009-05-31 18:48 ` Jamie Lokier
2009-05-28 13:20 ` Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A1E8F5D.1090408@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=ajax@redhat.com \
--cc=berrange@redhat.com \
--cc=dlaor@redhat.com \
--cc=markmc@redhat.com \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).