[PATCH 0/2] qemu: Add pre-migration hook

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

 



Current dxml parameter of virDomainMigrate{,ToURI}2 requires the caller
to have deep knowlege of the environment on the target machine.  In some
cases, this may be impractical or even impossible to achieve.  By adding
per-migration hook which may filter incoming domain XML and change it
appropriately called during the Prepare phase the destination host may
filter incoming domain XMLs and change them to fit local environment.
For example, such hook may relocate disk images.  The hook is not
allowed to make guest-visible changes to a domain XML.

Jiri Denemark (2):
  hooks: Add support for capturing hook output
  qemu: Add pre-migration hook

 daemon/libvirtd.c         |    6 +++---
 docs/hooks.html.in        |   35 +++++++++++++++++++++++------------
 src/lxc/lxc_driver.c      |    6 ++++--
 src/qemu/qemu_migration.c |   40 ++++++++++++++++++++++++++++++++++++++++
 src/qemu/qemu_process.c   |   12 ++++++++----
 src/util/hooks.c          |   25 ++++++++++++++++++++-----
 src/util/hooks.h          |    3 ++-
 7 files changed, 100 insertions(+), 27 deletions(-)

-- 
1.7.8.5

--
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]