[PATCH 0/8] Add virDomainMigrateGetMaxSpeed API

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

 



As per previous request [1], this patch series introduces
virDomainMigrateGetMaxSpeed API.

Patches 1-5 contain usual new API stuff.  In patch 6,
qemuDomainMigrateSetMaxSpeed is made to work with inactive domains and set
the new value in domain conf.  Patch 7 changes migration speed to unlimited
when target is a file *and* no user defined migration speed is set, and
reverts to previous value after migration completes.  Patch 8 considers
user-defined migration speed in qemuMigrationRun() when explicit bandwidth
is not provided in 'resource' paramter.

Note that a patch to fix the remote protocol generator [2] is required
for this patch series.

[1] https://www.redhat.com/archives/libvir-list/2011-August/msg00224.html
[2] https://www.redhat.com/archives/libvir-list/2011-August/msg01367.html


Jim Fehlig (8):
  Add on_migrate element to domainXML
  Add public API for getting migration speed
  Add max migration bandwidth to domain_conf
  Impl virDomainMigrateGetMaxSpeed in qemu driver
  virsh: Expose virDomainMigrateGetMaxSpeed API
  Save migration speed to domain conf in qemuDomainMigrateSetMaxSpeed
  Set qemu migration speed unlimited when migrating to file
  Use max speed specified in domain conf when migrating

 docs/apibuild.py                            |    3 +-
 docs/formatdomain.html.in                   |   21 +++++++
 docs/schemas/domain.rng                     |   13 +++++
 include/libvirt/libvirt.h.in                |    4 ++
 python/generator.py                         |    1 +
 python/libvirt-override-api.xml             |    6 ++
 python/libvirt-override.c                   |   24 ++++++++
 src/conf/domain_conf.c                      |   11 ++++
 src/conf/domain_conf.h                      |    2 +
 src/driver.h                                |    6 ++
 src/libvirt.c                               |   51 ++++++++++++++++++
 src/libvirt_public.syms                     |    5 ++
 src/qemu/qemu_driver.c                      |   76 ++++++++++++++++++++-------
 src/qemu/qemu_migration.c                   |   28 +++++++++-
 src/qemu/qemu_migration.h                   |    3 +
 src/remote/remote_driver.c                  |    1 +
 src/remote/remote_protocol.x                |   13 ++++-
 src/remote_protocol-structs                 |    9 +++
 src/rpc/gendispatch.pl                      |    1 +
 tests/domainschemadata/migration-params.xml |   34 ++++++++++++
 tools/virsh.c                               |   41 ++++++++++++++
 tools/virsh.pod                             |    4 ++
 22 files changed, 333 insertions(+), 24 deletions(-)
 create mode 100644 tests/domainschemadata/migration-params.xml

-- 
1.7.5.4

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