[libvirt] [PATCH 0/4] qemu: Add support for setting TSC frequency to enable migration with invtsc

Jiri Denemark jdenemar at redhat.com
Fri Mar 24 13:25:18 UTC 2017


QEMU allows for TSC frequency to be explicitly set to enable migration
with invtsc (migration fails if the destination QEMU cannot set the
exact same frequency used when starting the domain on the source host).

Jiri Denemark (4):
  conf: Fix XML parser for timer frequency
  qemu: Add support for setting TSC frequency
  qemu: Use virCPUCheckFeature in qemuMigrationIsAllowed
  qemu: Allow migration with invtsc if tsc frequency is set

 src/conf/domain_conf.c                             |  2 +-
 src/qemu/qemu_command.c                            | 16 ++++++----
 src/qemu/qemu_migration.c                          | 28 +++++++++++------
 .../qemuxml2argv-cpu-tsc-frequency.args            | 23 ++++++++++++++
 .../qemuxml2argv-cpu-tsc-frequency.xml             | 35 ++++++++++++++++++++++
 tests/qemuxml2argvtest.c                           |  1 +
 6 files changed, 89 insertions(+), 16 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-tsc-frequency.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-cpu-tsc-frequency.xml

-- 
2.12.1




More information about the libvir-list mailing list