On Wed, Jan 13, 2021 at 11:53:23PM +0300, yaroshchuk2...@gmail.com wrote: > From: Vladislav Yaroshchuk <yaroshchuk2...@gmail.com> > > Some guests (ex. Darwin-XNU) can attemp to read this MSR to retrieve and > validate CPU topology comparing it to ACPI MADT content > > MSR description from Intel Manual: > 35H: MSR_CORE_THREAD_COUNT: Configured State of Enabled Processor Core > Count and Logical Processor Count > > Bits 15:0 THREAD_COUNT The number of logical processors that are > currently enabled in the physical package > > Bits 31:16 Core_COUNT The number of processor cores that are currently > enabled in the physical package > > Bits 63:32 Reserved > > Signed-off-by: Vladislav Yaroshchuk <yaroshchuk2...@gmail.com> > --- > target/i386/cpu.h | 2 ++ > target/i386/hvf/x86_emu.c | 5 +++++ > 2 files changed, 7 insertions(+) >
Queued, thanks! -Roman