From: Jonas Theisen <j.theisen@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH qemu-server v4 6/7] cpu config: set TSC frequency for invtsc to allow live migration
Date: Wed, 2 Dec 2026 18:45:23 +0100 [thread overview]
Message-ID: <20261202174530.565487-7-j.theisen@proxmox.com> (raw)
In-Reply-To: <20261202174530.565487-1-j.theisen@proxmox.com>
The invariant TSC flag can be enabled with custom CPU models. Unless
the TSC frequency is set explicitly, QEMU blocks live migration,
snapshots with RAM and hibernation of such VMs, as KVM does not
emulate the TSC frequency of the source host afterwards.
Set it to the host's TSC frequency, as for 'hv-reenlightenment', which
also brings the check for a compatible TSC on the migration target. As
VMs with custom CPU models keep the CPU of the running instance, the
frequency stays the same across live migrations. It is not set for
confidential VMs either.
VMs started with invtsc but without an explicit TSC frequency still
cannot be live migrated until they are stopped and started again.
Refuse this upfront, as QEMU's migration blocker only aborts the
migration after the target instance was started and local disks were
copied. Ask QEMU for its migration blockers, as the CPU arguments do
not reliably tell whether the vCPUs have the flag: 'host' and 'max'
silently drop it if the host lacks it, and pass it through without
naming it with 'migratable=off'.
If the query fails, refuse the migration as well if the vCPUs might
have invtsc, as the CPU names it, or as 'host' or 'max' run with
'migratable=off', but suggest to try again instead of restarting the
VM. Otherwise, QEMU does not block the migration because of invtsc, so
only warn, instead of refusing the live migration of every VM if QEMU
does not respond in time.
Signed-off-by: Jonas Theisen <j.theisen@proxmox.com>
---
src/PVE/QemuMigrate/Helpers.pm | 62 +++++++++++
src/PVE/QemuServer/CPUConfig.pm | 10 +-
src/test/MigrationTest/QemuMigrateMock.pm | 9 ++
src/test/QemuServerTest/CommandLineMocks.pm | 4 +
src/test/cfg2cmd/cpu-invtsc.conf | 6 +
src/test/cfg2cmd/cpu-invtsc.conf.cmd | 27 +++++
src/test/cfg2cmd/tdx-cpu-invtsc.conf | 9 ++
src/test/cfg2cmd/tdx-cpu-invtsc.conf.cmd | 30 +++++
src/test/run_qemu_migrate_tests.pl | 117 +++++++++++++++++++-
9 files changed, 266 insertions(+), 8 deletions(-)
create mode 100644 src/test/cfg2cmd/cpu-invtsc.conf
create mode 100644 src/test/cfg2cmd/cpu-invtsc.conf.cmd
create mode 100644 src/test/cfg2cmd/tdx-cpu-invtsc.conf
create mode 100644 src/test/cfg2cmd/tdx-cpu-invtsc.conf.cmd
diff --git a/src/PVE/QemuMigrate/Helpers.pm b/src/PVE/QemuMigrate/Helpers.pm
index ef95c107..54a6cbe4 100644
--- a/src/PVE/QemuMigrate/Helpers.pm
+++ b/src/PVE/QemuMigrate/Helpers.pm
@@ -380,6 +380,9 @@ my sub get_tsc_frequency_flags_of_vm {
# the target, which then enables it depending on its CPU vendor
# - the enabled flags as 'flags' hash, including the flags the CPU model enables by default if
# 'enforce' is set, and invtsc if 'host' or 'max' pass it through due to an explicit TSC frequency
+# - 'invtsc-blocker' set if QEMU blocks the migration, as the vCPUs have an invariant TSC but no
+# explicit TSC frequency. If querying this failed, 'invtsc-blocker-error' is set if the vCPUs
+# might have invtsc, 'invtsc-blocker-unknown' otherwise.
#
# The CPU information of the nodes is in the format of get_host_cpu_info(), plus:
# - the CPU flags KVM supports as 'kvm-flags' hash
@@ -559,6 +562,41 @@ my $target_cpu_checks = [
return ($message, { 'missing-flags' => $unknown });
},
},
+ {
+ type => 'tsc-frequency',
+ severity => 'error',
+ needs => [],
+ applies => sub {
+ my ($cpu) = @_;
+ return $cpu->{'invtsc-blocker'} || defined($cpu->{'invtsc-blocker-error'});
+ },
+ check => sub {
+ my ($cpu) = @_;
+
+ # QEMU would only refuse late, for example after local disks were copied
+ if (defined(my $err = $cpu->{'invtsc-blocker-error'})) {
+ return "unable to check whether QEMU blocks the live migration because of"
+ . " 'invtsc', try again - $err";
+ }
+ return
+ "'invtsc' requires an explicit TSC frequency for live migration, but the VM was"
+ . " started without one - stop and start the VM to set it";
+ },
+ },
+ {
+ type => 'tsc-frequency',
+ severity => 'warning',
+ needs => [],
+ applies => sub {
+ my ($cpu) = @_;
+ return defined($cpu->{'invtsc-blocker-unknown'});
+ },
+ check => sub {
+ my ($cpu) = @_;
+ return "unable to check whether QEMU blocks the live migration because of 'invtsc'"
+ . " - $cpu->{'invtsc-blocker-unknown'}";
+ },
+ },
{
type => 'tsc-frequency',
severity => 'error',
@@ -683,6 +721,21 @@ my sub vcpus_have_flag {
return mon_cmd($vmid, 'qom-get', path => $path, property => $flag) ? 1 : 0;
}
+# Returns whether QEMU blocks the migration of the running VM, as its vCPUs have an invariant TSC
+# but no explicit TSC frequency. QEMU reports this, as the CPU arguments do not tell reliably:
+# 'host' and 'max' silently drop invtsc if the host lacks it, and pass it through without naming
+# it with 'migratable=off'.
+my sub has_invtsc_migration_blocker {
+ my ($vmid, $conf, $cpu) = @_;
+
+ # QEMU only blocks the migration with KVM on x86, and without an explicit TSC frequency
+ return 0 if !$cpu->{kvm} || PVE::QemuServer::Helpers::get_vm_arch($conf) ne 'x86_64';
+ return 0 if $cpu->{props}->{'tsc-frequency'};
+
+ my $reasons = mon_cmd($vmid, 'query-migrate')->{'blocked-reasons'} // [];
+ return (grep { m/\(invtsc flag\)/ } $reasons->@*) ? 1 : 0;
+}
+
# Returns the flags a CPU model enables by default, as QEMU of the running VM defines them.
my sub get_cpu_model_flags {
my ($vmid, $model, $understood) = @_;
@@ -776,6 +829,15 @@ sub check_target_cpu_compatibility {
$cpu->{flags}->{invtsc} = 1 if $invtsc;
}
+ $cpu->{'invtsc-blocker'} = eval { has_invtsc_migration_blocker($vmid, $conf, $cpu) };
+ if (my $err = $@) {
+ chomp($err);
+ # 'host' and 'max' only pass invtsc through without naming it with 'migratable=off'
+ my $migratable = PVE::JSONSchema::parse_boolean($cpu->{props}->{migratable} // 'on') // 1;
+ my $possible = $cpu->{flags}->{invtsc} || (is_host_cpu_model($cpu) && !$migratable);
+ $cpu->{ $possible ? 'invtsc-blocker-error' : 'invtsc-blocker-unknown' } = $err;
+ }
+
my $checks = [grep { $_->{applies}->($cpu) } $target_cpu_checks->@*];
return {} if !scalar($checks->@*);
diff --git a/src/PVE/QemuServer/CPUConfig.pm b/src/PVE/QemuServer/CPUConfig.pm
index 3dde24a6..ff8d2266 100644
--- a/src/PVE/QemuServer/CPUConfig.pm
+++ b/src/PVE/QemuServer/CPUConfig.pm
@@ -874,7 +874,7 @@ started on, so that QEMU can migrate and save the state of VMs using these flags
=cut
sub get_tsc_frequency_flags() {
- return qw(hv-reenlightenment);
+ return qw(hv-reenlightenment invtsc);
}
# Calculate QEMU's '-cpu' argument from a given VM configuration
@@ -982,10 +982,10 @@ sub get_cpu_options(
$pve_forced_flags,
);
- # Without an explicit TSC frequency, QEMU refuses to migrate a guest that enabled
- # re-enlightenment notifications, as KVM does not emulate the old frequency afterwards.
- # Confidential VMs cannot be migrated or have their state saved anyway, and TDX only accepts
- # multiples of 25 MHz.
+ # Without an explicit TSC frequency, QEMU refuses to migrate a guest with an invariant TSC or
+ # one that enabled re-enlightenment notifications, as KVM does not emulate the old frequency
+ # afterwards. Confidential VMs cannot be migrated or have their state saved anyway, and TDX
+ # only accepts multiples of 25 MHz.
my @tsc_frequency_flags = grep {
my $flag = $resolved_flags->{$_};
$flag && ($flag->{op} // '') ne '-';
diff --git a/src/test/MigrationTest/QemuMigrateMock.pm b/src/test/MigrationTest/QemuMigrateMock.pm
index cd281c3a..2793d093 100644
--- a/src/test/MigrationTest/QemuMigrateMock.pm
+++ b/src/test/MigrationTest/QemuMigrateMock.pm
@@ -260,6 +260,15 @@ $MigrationTest::Shared::qemu_migrate_helpers_module->mock(
if ($command eq 'qom-get') {
return vcpus_have_flag($params{property}) ? JSON::true : JSON::false;
}
+ if ($command eq 'query-migrate') {
+ die $test_cpu_info->{'query-migrate-error'}
+ if defined($test_cpu_info->{'query-migrate-error'});
+ # QEMU blocks the migration of vCPUs with invtsc without an explicit TSC frequency
+ return {} if !vcpus_have_flag('invtsc');
+ return {} if $vm_status->{runningcpu} =~ m/(?:^|,)tsc-frequency=/;
+ my $reason = 'State blocked by non-migratable CPU device (invtsc flag)';
+ return { 'blocked-reasons' => [$reason] };
+ }
die "mon_cmd (mocked) - implement me: $command";
},
);
diff --git a/src/test/QemuServerTest/CommandLineMocks.pm b/src/test/QemuServerTest/CommandLineMocks.pm
index c1462327..683ed079 100644
--- a/src/test/QemuServerTest/CommandLineMocks.pm
+++ b/src/test/QemuServerTest/CommandLineMocks.pm
@@ -483,6 +483,10 @@ cpu-model: qemu64
cpu-model: alldefault
+cpu-model: invtsc
+ reported-model kvm64
+ flags +invtsc
+
cpu-model: reenlightenment
flags +hv-reenlightenment
diff --git a/src/test/cfg2cmd/cpu-invtsc.conf b/src/test/cfg2cmd/cpu-invtsc.conf
new file mode 100644
index 00000000..ada88ec7
--- /dev/null
+++ b/src/test/cfg2cmd/cpu-invtsc.conf
@@ -0,0 +1,6 @@
+# TEST: Test that enabling invtsc sets the VM's TSC frequency to the host's
+cpu: custom-invtsc
+memory: 768
+numa: 0
+ostype: l26
+sockets: 1
diff --git a/src/test/cfg2cmd/cpu-invtsc.conf.cmd b/src/test/cfg2cmd/cpu-invtsc.conf.cmd
new file mode 100644
index 00000000..39269134
--- /dev/null
+++ b/src/test/cfg2cmd/cpu-invtsc.conf.cmd
@@ -0,0 +1,27 @@
+/usr/bin/kvm \
+ -id 8006 \
+ -name vm8006 \
+ -no-shutdown \
+ -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
+ -object 'monitor-qmp,chardev=qmp,id=monitor-qmp' \
+ -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect-ms=5000' \
+ -object 'monitor-qmp,chardev=qmp-event,id=monitor-qmp-event' \
+ -pidfile /var/run/qemu-server/8006.pid \
+ -daemonize \
+ -smp '1,sockets=1,cores=1,maxcpus=1' \
+ -nodefaults \
+ -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
+ -vnc 'unix:/var/run/qemu-server/8006.vnc,password=on' \
+ -cpu 'kvm64,enforce,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep,tsc-frequency=2999999000' \
+ -m 768 \
+ -global 'PIIX4_PM.disable_s3=1' \
+ -global 'PIIX4_PM.disable_s4=1' \
+ -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' \
+ -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' \
+ -device 'pci-bridge,id=pci.4,chassis_nr=4,bus=pci.1,addr=0x1c' \
+ -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' \
+ -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' \
+ -device 'VGA,id=vga,bus=pci.0,addr=0x2' \
+ -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on' \
+ -iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
+ -machine 'hpet=off,type=pc+pve0'
diff --git a/src/test/cfg2cmd/tdx-cpu-invtsc.conf b/src/test/cfg2cmd/tdx-cpu-invtsc.conf
new file mode 100644
index 00000000..2e2aec2d
--- /dev/null
+++ b/src/test/cfg2cmd/tdx-cpu-invtsc.conf
@@ -0,0 +1,9 @@
+# TEST: Test that invtsc does not set the TSC frequency for TDX
+# HW_CAPABILITIES: {"intel-tdx":{"tdx-support":true}}
+bios: ovmf
+cpu: custom-invtsc
+intel-tdx: type=tdx
+machine: q35
+ostype: l26
+smbios1: uuid=7b10d7af-b932-4c66-b2c3-3996152ec465
+vmgenid: c773c261-d800-4348-9f5d-167fadd53cf8
diff --git a/src/test/cfg2cmd/tdx-cpu-invtsc.conf.cmd b/src/test/cfg2cmd/tdx-cpu-invtsc.conf.cmd
new file mode 100644
index 00000000..427e6571
--- /dev/null
+++ b/src/test/cfg2cmd/tdx-cpu-invtsc.conf.cmd
@@ -0,0 +1,30 @@
+/usr/bin/kvm \
+ -id 8006 \
+ -name vm8006 \
+ -no-shutdown \
+ -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
+ -object 'monitor-qmp,chardev=qmp,id=monitor-qmp' \
+ -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect-ms=5000' \
+ -object 'monitor-qmp,chardev=qmp-event,id=monitor-qmp-event' \
+ -pidfile /var/run/qemu-server/8006.pid \
+ -daemonize \
+ -smbios 'type=1,uuid=7b10d7af-b932-4c66-b2c3-3996152ec465' \
+ -bios /usr/share/pve-edk2-firmware//OVMF_TDX_4M.ms.fd \
+ -global 'ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off' \
+ -smp '1,sockets=1,cores=1,maxcpus=1' \
+ -nodefaults \
+ -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
+ -vnc 'unix:/var/run/qemu-server/8006.vnc,password=on' \
+ -cpu kvm64,enforce,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep \
+ -m 512 \
+ -global 'ICH9-LPC.disable_s3=1' \
+ -global 'ICH9-LPC.disable_s4=1' \
+ -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \
+ -device 'pci-bridge,id=pci.4,chassis_nr=4,bus=pci.1,addr=0x1c' \
+ -device 'vmgenid,guid=c773c261-d800-4348-9f5d-167fadd53cf8' \
+ -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' \
+ -device 'VGA,id=vga,bus=pcie.0,addr=0x1' \
+ -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on' \
+ -iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
+ -object '{"id":"tdx0","qom-type":"tdx-guest","quote-generation-socket":{"cid":"2","port":"4050","type":"vsock"}}' \
+ -machine 'hpet=off,type=q35+pve0,confidential-guest-support=tdx0,kernel_irqchip=split'
diff --git a/src/test/run_qemu_migrate_tests.pl b/src/test/run_qemu_migrate_tests.pl
index 80f33fef..db2afd7b 100755
--- a/src/test/run_qemu_migrate_tests.pl
+++ b/src/test/run_qemu_migrate_tests.pl
@@ -620,6 +620,7 @@ my $tests = [
# 'kvm-flags', and the flags each CPU model enables by default in
# 'model-flags'. 'vcpu-flags' overrides whether the vCPUs have a
# flag, by default they have the flags the running CPU enables.
+ # With 'query-migrate-error', QMP's 'query-migrate' fails with it.
# With 'check-error', the CPU check fails with it.
# See cpu_migration_test() for tests of the CPU checks.
# expected_calls - hash whose keys are calls which are required
@@ -2123,7 +2124,7 @@ my $tests = [
cpu_migration_test(
name => '1033_running_host_cpu_invtsc_enabled',
cpu => 'host',
- runningcpu => 'host,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt',
+ runningcpu => 'host,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt,tsc-frequency=2999999000',
cpu_info => {
'kvm-flags' => { pve0 => 'fpu invtsc sse' },
},
@@ -2184,7 +2185,7 @@ my $tests = [
# QEMU on the target requires flags set with 'enforce', regardless of the override
name => '1033_running_kept_cpu_invtsc_missing',
cpu => 'custom-mycpu',
- runningcpu => 'kvm64,enforce,+invtsc',
+ runningcpu => 'kvm64,enforce,+invtsc,tsc-frequency=2999999000',
opts => { 'allow-missing-cpu-flags' => 1 },
cpu_info => {
'kvm-flags' => { pve0 => 'fpu invtsc sse' },
@@ -2196,7 +2197,7 @@ my $tests = [
# nodes report invtsc support together with their TSC information
name => '1033_running_kept_cpu_invtsc_target_without_tsc_info',
cpu => 'custom-mycpu',
- runningcpu => 'kvm64,enforce,+invtsc',
+ runningcpu => 'kvm64,enforce,+invtsc,tsc-frequency=2999999000',
cpu_kept => 1,
cpu_info => {
nodes => { pve1 => { 'tsc-khz' => undef, 'tsc-scaling' => undef } },
@@ -2206,8 +2207,118 @@ my $tests = [
"CPU of node 'pve1' might be incompatible: KVM on the node might not support flags"
. " of the VM's virtual CPU, as the node does not report them, for example as they"
. " were detected by an older version: invtsc",
+ "CPU of node 'pve1' might be incompatible: the node does not provide the CPU"
+ . " information needed to check it",
],
),
+ cpu_migration_test(
+ name => '1033_running_invtsc_tsc_scaling',
+ cpu => 'custom-invtsc',
+ runningcpu => 'kvm64,enforce,+invtsc,tsc-frequency=2999999000',
+ cpu_kept => 1,
+ cpu_info => {
+ 'kvm-flags' => { pve0 => 'fpu invtsc sse', pve1 => 'fpu invtsc sse' },
+ nodes => { pve1 => { 'tsc-khz' => 2400000, 'tsc-scaling' => 1 } },
+ },
+ ),
+ cpu_migration_test(
+ name => '1033_running_invtsc_tsc_mismatch',
+ cpu => 'custom-invtsc',
+ runningcpu => 'kvm64,enforce,+invtsc,tsc-frequency=2999999000',
+ cpu_info => {
+ 'kvm-flags' => { pve0 => 'fpu invtsc sse', pve1 => 'fpu invtsc sse' },
+ nodes => { pve1 => { 'tsc-khz' => 2400000, 'tsc-scaling' => 0 } },
+ },
+ expect_die => "can't migrate VM to 'pve1' - incompatible CPU: 'invtsc' requires TSC"
+ . " scaling support or a TSC frequency close to the VM's 2999999 kHz, but the node"
+ . " has 2400000 kHz without TSC scaling",
+ ),
+ cpu_migration_test(
+ # for example, started before the TSC frequency was set for invtsc
+ name => '1033_running_invtsc_without_tsc_frequency',
+ cpu => 'custom-invtsc',
+ runningcpu => 'kvm64,enforce,+invtsc',
+ expect_die => "can't migrate VM to 'pve1' - incompatible CPU: 'invtsc' requires an"
+ . " explicit TSC frequency for live migration, but the VM was started without one"
+ . " - stop and start the VM to set it",
+ ),
+ cpu_migration_test(
+ # 'host' passes invtsc through without naming it
+ name => '1033_running_host_cpu_not_migratable_without_tsc_frequency',
+ cpu => 'host',
+ runningcpu => 'host,migratable=off,+kvm_pv_eoi,+kvm_pv_unhalt',
+ cpu_info => {
+ 'vcpu-flags' => { invtsc => 1 },
+ },
+ expect_die => "can't migrate VM to 'pve1' - incompatible CPU: 'invtsc' requires an"
+ . " explicit TSC frequency for live migration, but the VM was started without one"
+ . " - stop and start the VM to set it",
+ ),
+ cpu_migration_test(
+ name => '1033_running_invtsc_blocker_query_failed',
+ cpu => 'custom-invtsc',
+ runningcpu => 'kvm64,enforce,+invtsc',
+ cpu_info => {
+ 'query-migrate-error' => "got timeout\n",
+ },
+ expect_die =>
+ "can't migrate VM to 'pve1' - incompatible CPU: unable to check whether QEMU"
+ . " blocks the live migration because of 'invtsc', try again - got timeout",
+ ),
+ cpu_migration_test(
+ # vCPUs without invtsc cannot be blocked, so a failed query only warns
+ name => '1033_running_invtsc_blocker_query_failed_without_invtsc',
+ cpu => 'x86-64-v2-AES',
+ runningcpu => 'qemu64,+aes,enforce,+kvm_pv_eoi,+sse4.2',
+ cpu_info => {
+ 'query-migrate-error' => "got timeout\n",
+ },
+ expect_log => [
+ "CPU of node 'pve1' might be incompatible: unable to check whether QEMU blocks the"
+ . " live migration because of 'invtsc' - got timeout",
+ ],
+ ),
+ cpu_migration_test(
+ # migratable 'host' only passes invtsc through if named, so a failed query only warns
+ name => '1033_running_invtsc_blocker_query_failed_host_cpu',
+ cpu => 'host',
+ runningcpu => 'host,+kvm_pv_eoi,+kvm_pv_unhalt',
+ cpu_info => {
+ 'query-migrate-error' => "got timeout\n",
+ },
+ expect_log => [
+ "CPU of node 'pve1' might be incompatible: unable to check whether QEMU blocks the"
+ . " live migration because of 'invtsc' - got timeout",
+ ],
+ ),
+ cpu_migration_test(
+ name => '1033_running_invtsc_blocker_query_failed_host_cpu_not_migratable',
+ cpu => 'host',
+ runningcpu => 'host,migratable=off,+kvm_pv_eoi,+kvm_pv_unhalt',
+ cpu_info => {
+ 'query-migrate-error' => "got timeout\n",
+ },
+ expect_die =>
+ "can't migrate VM to 'pve1' - incompatible CPU: unable to check whether QEMU"
+ . " blocks the live migration because of 'invtsc', try again - got timeout",
+ ),
+ cpu_migration_test(
+ # only KVM blocks the migration of an invariant TSC
+ name => '1033_running_invtsc_tcg_without_tsc_frequency',
+ cpu => 'custom-invtsc',
+ config => { kvm => 0 },
+ runningcpu => 'kvm64,+invtsc',
+ cpu_kept => 1,
+ ),
+ cpu_migration_test(
+ # 'host' drops invtsc if the host lacks it, so QEMU does not block the migration
+ name => '1033_running_host_cpu_invtsc_dropped',
+ cpu => 'host',
+ runningcpu => 'host,+invtsc,+kvm_pv_eoi,+kvm_pv_unhalt',
+ cpu_info => {
+ 'vcpu-flags' => { invtsc => 0 },
+ },
+ ),
{
name => '105_replicated_to_non_replication_target',
target => 'pve1',
--
2.47.3
next prev parent reply other threads:[~2026-12-02 17:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 17:45 [PATCH docs/qemu-server v4 0/7] live migrate VMs with an invariant TSC or re-enlightenment Jonas Theisen
2026-12-02 17:45 ` [PATCH qemu-server v4 1/7] helpers: add helper to query the host's TSC frequency and scaling support Jonas Theisen
2026-12-02 17:45 ` [PATCH qemu-server v4 2/7] migrate: allow CPU checks that only need information of the target Jonas Theisen
2026-12-02 17:45 ` [PATCH qemu-server v4 3/7] cpu config: add hv-reenlightenment flag and set TSC frequency for it Jonas Theisen
2026-12-02 17:45 ` [PATCH qemu-server v4 4/7] migrate: block migration to nodes that cannot provide the TSC frequency Jonas Theisen
2026-12-02 17:45 ` [PATCH qemu-server v4 5/7] cpu flags: report invtsc support of nodes Jonas Theisen
2026-12-02 17:45 ` Jonas Theisen [this message]
2026-12-02 17:45 ` [PATCH docs v4 7/7] qm: document hv-reenlightenment and invtsc Jonas Theisen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261202174530.565487-7-j.theisen@proxmox.com \
--to=j.theisen@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox