From: Paolo Bonzini <pbonzini@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 3/4] savevm: define new unambiguous migration format
Date: Fri, 12 Aug 2011 17:46:43 +0200 [thread overview]
Message-ID: <4E454AE3.4000508@redhat.com> (raw)
In-Reply-To: <4E4543CE.8050402@codemonkey.ws>
On 08/12/2011 05:16 PM, Anthony Liguori wrote:
>>
>> Because of the change we made for 0.15, this is no longer strictly
>> needed. It only matters if we add a subsection to a structure, right?
Yes. We can also check the current migration format in the "needed"
function for such subsections, if necessary. This is what I plan to do
for the floppy subsection, skipping it for old machine types that do not
use the new migration format.
> I'm definitely not saying we shouldn't do this BTW. But trying to
> understand whether we can position this as a strictly optional feature
> (iow, a capability) or whether this requires a hard break in the
> migration protocol.
This what? :) Adding a subsection to a structure, or using the new
migration format? If you mean using the new format only when you have
subsections in a structure, then you'll need quite a bit of new code to
try all VMState handlers and see if they'll need a subsection. I don't
think it's worth it, also because we all hope this is a temporary
solution until we have a serious format (e.g. ASN-1).
Paolo
next prev parent reply other threads:[~2011-08-12 15:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 9:59 [Qemu-devel] [PATCH v3 0/4] Fix subsection ambiguity in the migration format Paolo Bonzini
2011-08-12 9:59 ` [Qemu-devel] [PATCH v3 1/4] add support for machine models to specify their " Paolo Bonzini
2011-08-12 9:59 ` [Qemu-devel] [PATCH v3 2/4] add pc-0.14/pc-0.15 machine Paolo Bonzini
2011-08-12 9:59 ` [Qemu-devel] [PATCH v3 3/4] savevm: define new unambiguous migration format Paolo Bonzini
2011-08-12 15:11 ` Anthony Liguori
2011-08-12 15:16 ` Anthony Liguori
2011-08-12 15:46 ` Paolo Bonzini [this message]
2011-08-12 9:59 ` [Qemu-devel] [PATCH v3 4/4] Partially revert "savevm: fix corruption in vmstate_subsection_load()." Paolo Bonzini
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=4E454AE3.4000508@redhat.com \
--to=pbonzini@redhat.com \
--cc=anthony@codemonkey.ws \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.