Re: [PATCH] target/i386: do not expose ARCH_CAPABILITIES on AMD CPU

2025-07-18 Thread Zhao Liu
On Thu, Jul 17, 2025 at 12:34:48PM +0200, Paolo Bonzini wrote: > Date: Thu, 17 Jul 2025 12:34:48 +0200 > From: Paolo Bonzini > Subject: [PATCH] target/i386: do not expose ARCH_CAPABILITIES on AMD CPU > X-Mailer: git-send-email 2.50.1 > > KVM emulates the ARCH_CAPABILITIES on x86 for both Intel an

Re: [PATCH] target/i386: do not expose ARCH_CAPABILITIES on AMD CPU

2025-07-17 Thread Xiaoyao Li
On 7/17/2025 6:34 PM, Paolo Bonzini wrote: KVM emulates the ARCH_CAPABILITIES on x86 for both Intel and AMD cpus, although the IA32_ARCH_CAPABILITIES MSR is an Intel-specific MSR and it makes no sense to emulate it on AMD. As a consequence, VMs created on AMD with qemu -cpu host and using KVM wi