From: Steven Sistare <steven.sistare@oracle.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>,
qemu-devel@nongnu.org
Subject: Re: cpr-transfer with caveats
Date: Fri, 25 Oct 2024 14:19:19 -0400 [thread overview]
Message-ID: <74a34ee0-51a9-4f46-9d24-a8b97a2e7577@oracle.com> (raw)
In-Reply-To: <Zxu_MqXqm78v3zJE@redhat.com>
On 10/25/2024 11:54 AM, Daniel P. Berrangé wrote:
> On Fri, Oct 25, 2024 at 11:01:27AM -0400, Steven Sistare wrote:
>> Hi Peter, are you OK if we proceed with cpr-transfer as is, without the
>> precreate phase? Here are the problems that motivated it:
>>
>> * migration test wants to enable migration events on the dest.
>> fix: enable on dest qemu using -global. only for the test.
>>
>> * migration test needs to fetch the dynamically assigned migration
>> listen port number
>> Fix: require unix domain socket for cpr-transfer, or a fixed port
>> number. Document it.
>>
>> * migration test hangs connecting to the qtest socket.
>> fix: in the qtest code, defer connection.
>>
>> Document that one cannot set migration caps or params on the dest
>> for cpr-transfer.
>>
>> Document that for -incoming defer, mgmt must send the migrate command
>> to the src first (so dest reads cpr state and progresses to start the
>> monitor), then send the hotplug monitor commands to the dest.
>>
>> Daniel, are you OK with that last bit?
>
> I guess it depends on what happens inside QEMU between reading the
> cpr state and libvirt being able to access the monitor. Libvirt does
> various things with the monitor during QEMU startup, before guest
> vCPUs start. Mostly this is around host resource placement/mgmt
> that needs to be done before the guest CPUs start.
When the monitor starts, there will be no difference in observable VM state.
The only difference is how you get there -- libvirt must issue the migrate
command up front, rather than issuing it after issuing migrate_incoming.
- Steve
prev parent reply other threads:[~2024-10-25 18:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 15:01 cpr-transfer with caveats Steven Sistare
2024-10-25 15:47 ` Peter Xu
2024-10-25 18:14 ` Steven Sistare
2024-10-25 15:54 ` Daniel P. Berrangé
2024-10-25 18:19 ` Steven Sistare [this message]
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=74a34ee0-51a9-4f46-9d24-a8b97a2e7577@oracle.com \
--to=steven.sistare@oracle.com \
--cc=berrange@redhat.com \
--cc=farosas@suse.de \
--cc=peterx@redhat.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).