]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm/hyper-v: Synic default SCONTROL MSR needs to be enabled
authorJon Doron <arilou@gmail.com>
Fri, 17 Jul 2020 12:52:38 +0000 (15:52 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 10 Aug 2020 17:22:10 +0000 (13:22 -0400)
commit6f99b3539b78ef08ddd7cb625d54422d6471f003
tree735f7bb8cf487e64d5e5f2ae795d2c13dfef8600
parent9116b5b24c9cdcef9648f49c770b27ddba6e71a3
x86/kvm/hyper-v: Synic default SCONTROL MSR needs to be enabled

Based on an analysis of the HyperV firmwares (Gen1 and Gen2) it seems
like the SCONTROL is not being set to the ENABLED state as like we have
thought.

Also from a test done by Vitaly Kuznetsov, running a nested HyperV it
was concluded that the first access to the SCONTROL MSR with a read
resulted with the value of 0x1, aka HV_SYNIC_CONTROL_ENABLE.

It's important to note that this diverges from the value states in the
HyperV TLFS of 0.

Signed-off-by: Jon Doron <arilou@gmail.com>
Message-Id: <20200717125238.1103096-2-arilou@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c