From: Juan Quintela <quintela@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, Peter Xu <peterx@redhat.com>,
Leonardo Bras <leobras@redhat.com>,
Fabiano Rosas <farosas@suse.de>,
Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Subject: Re: [PATCH v2 1/3] migration/doc: Add documentation for backwards compatiblity
Date: Wed, 18 Oct 2023 13:24:06 +0200 [thread overview]
Message-ID: <87il74kwbt.fsf@secure.mitica> (raw)
In-Reply-To: <CAFEAcA8brMkW8Y6=sOq1YpEwY+Wjvt+NxSqCBTQFw2tBeYRbEw@mail.gmail.com> (Peter Maydell's message of "Tue, 17 Oct 2023 17:20:01 +0100")
Peter Maydell <peter.maydell@linaro.org> wrote:
> On Tue, 17 Oct 2023 at 16:20, Juan Quintela <quintela@redhat.com> wrote:
>>
>> State what are the requeriments to get migration working between qemu
>> versions. And once there explain how one is supposed to implement a
>> new feature/default value and not break migration.
>>
>> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
>> Acked-by: Peter Xu <peterx@redhat.com>
>> Signed-off-by: Juan Quintela <quintela@redhat.com>
>> ---
>> docs/devel/migration.rst | 217 +++++++++++++++++++++++++++++++++++++++
>> 1 file changed, 217 insertions(+)
>>
>> diff --git a/docs/devel/migration.rst b/docs/devel/migration.rst
>> index c3e1400c0c..5ef2b36e9e 100644
>> --- a/docs/devel/migration.rst
>> +++ b/docs/devel/migration.rst
>> @@ -142,6 +142,223 @@ General advice for device developers
>> may be different on the destination. This can result in the
>> device state being loaded into the wrong device.
>>
>> +How backwards compatibility works
>> +---------------------------------
>
> Is there a better place in this document that we could add
> this information?
> At the moment these new sections have
> been placed in the middle of the "Saving the state of one device"
> section, which doesn't seem right; worse, it's between the
> "General advice for device developers" and the "VMState"
> subsections of that section, which means that we end up with
> a very long part of the document that is talking about edge
> cases, and which splits up the two parts of the document that
> are really all most device model authors need to think about.
You are right. I didn't know for a good place either.
I created a new section:
Backwards compatibility
At the end of the archive.
> My guess is that the extra documentation on backwards
> compatibility that these patches are adding should get
> a new section of its own (at the same level as the current
> top-level sections "Transports", "Debugging", etc) which
> then has its own subsections; and that this should probably
> go either at the bottom of the document, after "Firmware",
> or else just before "Stream structure".
End it is.
> We should probably also add a
> .. contents::
> directive near the start of the page, since it's now big
> enough and has enough sections and subsections that a
> table of contents would be helpful.
Also done.
Thanks a lot.
next prev parent reply other threads:[~2023-10-18 11:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-17 15:18 [PATCH v2 0/3] Migration Documentation for backward compatibility Juan Quintela
2023-10-17 15:18 ` [PATCH v2 1/3] migration/doc: Add documentation for backwards compatiblity Juan Quintela
2023-10-17 16:20 ` Peter Maydell
2023-10-18 11:24 ` Juan Quintela [this message]
2023-10-17 15:18 ` [PATCH v2 2/3] migration/doc: How to migrate when hosts have different features Juan Quintela
2023-10-17 16:50 ` Fabiano Rosas
2023-10-18 10:44 ` Juan Quintela
2023-10-17 15:18 ` [PATCH v2 3/3] migration/doc: We broke backwards compatibility Juan Quintela
2023-10-17 16:56 ` Fabiano Rosas
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=87il74kwbt.fsf@secure.mitica \
--to=quintela@redhat.com \
--cc=farosas@suse.de \
--cc=leobras@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@yandex-team.ru \
/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).