From 76a036e96d7ad7a2e5269d8cbd2a86f7b717bca0 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 11 Oct 2021 11:25:41 +0200 Subject: [PATCH] hypervisor: kvm: Add missing MSR related to Hyper-V When the synthetic interrupt controller is enabled, an extra set of MSRs must be stored in case of migration. There was one MSR missing in the list, HV_X64_MSR_SINT14 corresponding to the 15th interrupt source from the synthetic interrupt controller. Signed-off-by: Sebastien Boeuf --- hypervisor/src/kvm/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypervisor/src/kvm/mod.rs b/hypervisor/src/kvm/mod.rs index ed8fe5cc7..b68609d2a 100644 --- a/hypervisor/src/kvm/mod.rs +++ b/hypervisor/src/kvm/mod.rs @@ -1374,8 +1374,8 @@ impl cpu::Vcpu for KvmVcpu { 0x40000020, 0x40000021, 0x40000080, 0x40000081, 0x40000082, 0x40000083, 0x40000084, 0x40000090, 0x40000091, 0x40000092, 0x40000093, 0x40000094, 0x40000095, 0x40000096, 0x40000097, 0x40000098, 0x40000099, 0x4000009a, 0x4000009b, 0x4000009c, 0x4000009d, - 0x4000009f, 0x400000b0, 0x400000b1, 0x400000b2, 0x400000b3, 0x400000b4, 0x400000b5, - 0x400000b6, 0x400000b7, + 0x4000009e, 0x4000009f, 0x400000b0, 0x400000b1, 0x400000b2, 0x400000b3, 0x400000b4, + 0x400000b5, 0x400000b6, 0x400000b7, ]; for index in hyperv_synic_msrs { let msr = kvm_msr_entry {