qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Deferred incoming migration through fd
@ 2019-05-28  9:16 Yury Kotov
  2019-05-28  9:16 ` [Qemu-devel] [PATCH v2 1/2] migration: Fix fd protocol for incoming defer Yury Kotov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yury Kotov @ 2019-05-28  9:16 UTC (permalink / raw)
  To: Juan Quintela, Dr. David Alan Gilbert, Thomas Huth,
	Laurent Vivier, Paolo Bonzini
  Cc: open list:All patches CC here, yc-core

Hi,

V2:
* Revert odd changes in migrate()
* Add short description for socket_send_fds()
  and remove ifdef WIN32 as it's not needed

This series is a continuation of the previous two:
* migration: Fix handling fd protocol
* Add 'inline-fd:' protocol for migration

It's about such use case:
1. Target VM: exec ...,-incoming defer
2. Target VM: getfd("fd-mig")
3. Target VM: migrate-incoming("fd:"fd-mig")
4. Source VM: getfd("fd-mig")
5. Source VM: migrate("fd-mig")

Currently, it's not possible to do the step 3, because for incoming migration
"fd:" protocol expects an integer, not the name of fd.

Yury Kotov (2):
  migration: Fix fd protocol for incoming defer
  migration-test: Add a test for fd protocol

 migration/fd.c         |   8 ++--
 migration/fd.h         |   2 +-
 tests/libqtest.c       |  80 ++++++++++++++++++++++++++++++--
 tests/libqtest.h       |  51 ++++++++++++++++++++-
 tests/migration-test.c | 101 +++++++++++++++++++++++++++++++++++++++++
 5 files changed, 233 insertions(+), 9 deletions(-)

-- 
2.21.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-29  3:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-28  9:16 [Qemu-devel] [PATCH v2 0/2] Deferred incoming migration through fd Yury Kotov
2019-05-28  9:16 ` [Qemu-devel] [PATCH v2 1/2] migration: Fix fd protocol for incoming defer Yury Kotov
2019-05-28  9:16 ` [Qemu-devel] [PATCH v2 2/2] migration-test: Add a test for fd protocol Yury Kotov
2019-05-29  3:30 ` [Qemu-devel] [PATCH v2 0/2] Deferred incoming migration through fd Peter Xu

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).