[PATCH v2 0/7] qemu: Add support for -incoming defer

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

 



Traditionally, we pass incoming migration URI on QEMU command line,
which has some drawbacks. Depending on the URI QEMU may initialize its
migration state immediately without giving us a chance to set any
additional migration parameters (this applies mainly for fd: URIs). For
some URIs the monitor may be completely blocked from the beginning until
migration is finished, which means we may be stuck in qmp_capabilities
command without being able to send any QMP commands.

QEMU solved this by introducing "defer" parameter for -incoming command
line option. This will tell QEMU to prepare for an incoming migration
while the actual incoming URI is sent using migrate-incoming QMP
command. Before calling this command we can normally talk to the
monitor and even set any migration parameters which will be honored by
the incoming migration.

The first 17 patches from the original series were already pushed. This
is the rest of the series. See individual patches for changes from
previous version.

Jiri Denemark (7):
  qemu: Introduce qemuProcessInit
  qemu: Introduce qemuProcessLaunch
  qemu: Introduce qemuProcessFinishStartup
  qemu: Separate incoming URI generation from qemuMigrationPrepareAny
  qemu: Kill QEMU process if Prepare phase fails
  qemu: Skip starting NBD servers for offline migration
  qemu: Use qemuProcessLaunch in migration Prepare phase

 src/qemu/qemu_migration.c | 250 ++++++++++++++----------
 src/qemu/qemu_process.c   | 488 +++++++++++++++++++++++++++++-----------------
 src/qemu/qemu_process.h   |  19 ++
 3 files changed, 467 insertions(+), 290 deletions(-)

-- 
2.6.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]