Add TCG & KVM support for MSR_CORE_THREAD_COUNT
Status from this message: Queued, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86: Implement MSR_CORE_THREAD_COUNT MSRtarget/ | +5 | 0 replies | |
| 2/3 | i386: kvm: Add support for MSR filteringtarget/ target/ | +135 | 0 replies | |
| 3/3 | KVM: x86: Implement MSR_CORE_THREAD_COUNT MSRtarget/ | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Add TCG & KVM support for MSR_CORE_THREAD_COUNT
Commit 027ac0cb516 ("target/i386/hvf: add rdmsr 35H MSR_CORE_THREAD_COUNT") added support for the MSR_CORE_THREAD_COUNT MSR to HVF. This MSR is mandatory to execute macOS when run with -cpu host,+hypervisor.
This patch set adds support for the very same MSR to TCG as well as KVM - as long as host KVM is recent enough to support MSR trapping.
With this support added, I can successfully execute macOS guests in KVM with an APFS enabled OVMF build, a valid applesmc plus OSK and
-cpu Skylake-Client,+invtsc,+hypervisor
Alex
Alexander Graf (3):
x86: Implement MSR_CORE_THREAD_COUNT MSR
i386: kvm: Add support for MSR filtering
KVM: x86: Implement MSR_CORE_THREAD_COUNT MSR
target/i386/kvm/kvm.c | 145 +++++++++++++++++++++++++++ target/i386/kvm/kvm_i386.h | 11 ++ target/i386/tcg/sysemu/misc_helper.c | 5 + 3 files changed, 161 insertions(+)
Signature · 1 line
2.37.0 (Apple Git-136)