qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 24/29] migration, vl: start migration via qmp_migrate_incomin


From: Paolo Bonzini
Subject: Re: [PATCH 24/29] migration, vl: start migration via qmp_migrate_incoming
Date: Fri, 20 Nov 2020 17:02:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

On 20/11/20 16:34, Igor Mammedov wrote:
      qapi_event_send_migration(MIGRATION_STATUS_SETUP);
-    if (!strcmp(uri, "defer")) {
-        deferred_incoming_migration(errp);
-    } else if (strstart(uri, "tcp:", &p) ||
-               strstart(uri, "unix:", NULL) ||
-               strstart(uri, "vsock:", NULL)) {
considering the last hunk does won't call qmp_migrate_incoming
if 'defer' was used, wouldn't we will lose QAPI event here?
not sure how important it to users,

Hmm yeah that's true. That might even be considered a bugfix (no setup is done until the "real" migrate-incoming command), but I can also add the event manually in qemu_init.

(Libvirt doesn't use the SETUP case of the event but that's of course only part of the story).

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]