Re: [PATCH 0/3] Add TCG & KVM support for MSR_CORE_THREAD_COUNT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/5/22 00:56, Alexander Graf wrote:
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(+)


Queued, thanks!

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux