From: Markus Armbruster <armbru@redhat.com>
To: Dongli Zhang <dongli.zhang@oracle.com>
Cc: qemu-devel@nongnu.org, david@kernel.org, imammedo@redhat.com,
maciej.szmigiero@oracle.com, peterx@redhat.com,
farosas@suse.de, mark.kanda@oracle.com, bchaney@akamai.com,
pierrick.bouvier@oss.qualcomm.com, alex@shazbot.org,
clg@redhat.com, yi.l.liu@intel.com, eric.auger@redhat.com,
zhenzhong.duan@intel.com, mst@redhat.com, cohuck@redhat.com,
pbonzini@redhat.com, eblake@redhat.com
Subject: Re: [PATCH 01/21] qapi/migration: add cpr-luo migration mode
Date: Thu, 15 Oct 2026 07:06:26 +0200 [thread overview]
Message-ID: <87qzhrblil.fsf@pond.sub.org> (raw)
In-Reply-To: <4b7de1ba-f063-43b9-9dd2-64d1187e488f@oracle.com> (Dongli Zhang's message of "Wed, 14 Oct 2026 08:52:24 -0700")
Dongli Zhang <dongli.zhang@oracle.com> writes:
> On Wed, Oct 14, 2026 12:42:55AM -0700, Markus Armbruster wrote:
>> Dongli Zhang <dongli.zhang@oracle.com> writes:
>>
>>> Add the cpr-luo migration mode for CPR through the Linux Live Update
>>> Orchestrator (LUO). Subsequent changes preserve CPR state and RAMBlock
>>> backing file descriptors in an LUO session across a host kernel update.
>>>
>>> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
>>> ---
>>> qapi/migration.json | 11 ++++++++++-
>>> 1 file changed, 10 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/qapi/migration.json b/qapi/migration.json
>>> index 889a9b89c2..ab117c3897 100644
>>> --- a/qapi/migration.json
>>> +++ b/qapi/migration.json
>>> @@ -712,9 +712,18 @@
>>> # with the '-machine aux-ram-share=on' option.
>>> #
>>> # (since 10.2)
>>> +#
>>> +# @cpr-luo: A CPR mode that preserves guest RAM backing file
>>> +# descriptors and CPR state through the Linux Live Update
>>> +# Orchestrator (LUO) across a host kernel update.
>>> +#
>>> +# This mode requires Linux with LUO support.
>>
>> Pardon my ignorant question: host or guest kernel?
>>
> Host KVM kernel.
Suggest something like "This mode requires Linux with LUO support on the
host", or "This mode requires the host to run Linux with LUO support".
> cpr-luo is more similar to cpr-exec (assuming VFIO is not involved).
>
> cpr-exec (same process across exec):
>
> - RAMBlock fds are preserved across exec(). The metadata is transferred to the
> target via a memfd passed through an environment variable.
> - The device state (i.e., virtio) is transferred through the main stream (i.e.,
> a file).
>
> cpr-transfer (two processes):
>
> - RAMBlock fds are preserved and transferred to the target QEMU via a UNIX
> domain socket.
> - The device state (i.e., virtio) is transferred through the main stream (i.e.,
> local TCP).
>
> cpr-reboot (across reboot):
>
> - The RAMBlock is always reconstructed. It is just a matter of whether to
> save/load the memory data, depending on whether x-ignore-shared is enabled.
> - The vmstate (i.e., virtio) is transferred through the main stream (i.e., a file).
>
> New cpr-luo (across kexec/LUO/KHO):
>
> - RAMBlock fds are preserved and transferred across kexec to the target QEMU via
> LUO/KHO, identified by a LUO session and tokens.
> - The device state (i.e., virtio) is transferred through the main stream (i.e.,
> a file).
Is this covered in the documentation?
> Thank you very much!
>
> Dongli Zhang
You're welcome!
next prev parent reply other threads:[~2026-10-15 5:07 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 23:55 [PATCH 00/21] migration/cpr: introduce cpr-luo mode to support KHO/LUO Dongli Zhang
2026-10-12 23:55 ` [PATCH 01/21] qapi/migration: add cpr-luo migration mode Dongli Zhang
2026-10-14 7:42 ` Markus Armbruster
2026-10-14 15:52 ` Dongli Zhang
2026-10-15 5:06 ` Markus Armbruster [this message]
2026-10-15 20:37 ` Dongli Zhang
2026-10-16 5:04 ` Markus Armbruster
2026-10-12 23:55 ` [PATCH 02/21] migration/cpr: move CprFd definition to header file Dongli Zhang
2026-10-12 23:55 ` [PATCH 03/21] scripts/update-linux-headers: Add liveupdate.h Dongli Zhang
2026-10-12 23:56 ` [PATCH 04/21] linux-headers: import liveupdate UAPI header Dongli Zhang
2026-10-13 6:35 ` Cornelia Huck
2026-10-13 21:09 ` Dongli Zhang
2026-10-12 23:56 ` [PATCH 05/21] migration/cpr-luo: require a non-null machine UUID Dongli Zhang
2026-10-12 23:56 ` [PATCH 06/21] migration/cpr-luo: add LUO session management Dongli Zhang
2026-10-12 23:56 ` [PATCH 07/21] migration/cpr-luo: add LUO fd management helpers Dongli Zhang
2026-10-12 23:56 ` [PATCH 08/21] migration/cpr-luo: track LUO fds Dongli Zhang
2026-10-12 23:56 ` [PATCH 09/21] migration/cpr-luo: add LUO fd VMStateDescription Dongli Zhang
2026-10-12 23:56 ` [PATCH 10/21] migration/cpr-luo: add tokens for LUO fds Dongli Zhang
2026-10-12 23:56 ` [PATCH 11/21] migration/cpr: move QEMUFile fd helpers to common code Dongli Zhang
2026-10-12 23:56 ` [PATCH 12/21] migration/cpr-luo: add state fd helpers Dongli Zhang
2026-10-12 23:56 ` [PATCH 13/21] migration/cpr: add more arguments for cpr_walk_fd() Dongli Zhang
2026-10-12 23:56 ` [PATCH 14/21] migration/cpr-luo: add helpers to preserve and retrieve all LUO fds Dongli Zhang
2026-10-12 23:56 ` [PATCH 15/21] migration/cpr-luo: enable cpr-luo mode for source side preservation Dongli Zhang
2026-10-12 23:56 ` [PATCH 16/21] migration/cpr-luo: enable cpr-luo mode for target side retrieval Dongli Zhang
2026-10-12 23:56 ` [PATCH 17/21] migration/cpr-luo: abort session when migration fails Dongli Zhang
2026-10-12 23:56 ` [PATCH 18/21] system/physmem: add cpr-luo blocker Dongli Zhang
2026-10-12 23:56 ` [PATCH 19/21] monitor/qmp: close LUO session when resuming source QEMU Dongli Zhang
2026-10-12 23:56 ` [PATCH 20/21] vfio: block cpr-luo migration Dongli Zhang
2026-10-12 23:56 ` [PATCH 21/21] migration: cpr-luo documentation Dongli Zhang
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=87qzhrblil.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=alex@shazbot.org \
--cc=bchaney@akamai.com \
--cc=clg@redhat.com \
--cc=cohuck@redhat.com \
--cc=david@kernel.org \
--cc=dongli.zhang@oracle.com \
--cc=eblake@redhat.com \
--cc=eric.auger@redhat.com \
--cc=farosas@suse.de \
--cc=imammedo@redhat.com \
--cc=maciej.szmigiero@oracle.com \
--cc=mark.kanda@oracle.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
--cc=yi.l.liu@intel.com \
--cc=zhenzhong.duan@intel.com \
/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