Re: [PATCH v2 0/2] KVM: x86: expose direct stores instructions into VM.

From: Eric Northup
Date: Fri Nov 30 2018 - 15:42:02 EST


On Mon, Nov 5, 2018 at 10:01 PM Liu Jingqi <jingqi.liu@xxxxxxxxx> wrote:
>
> Direct stores instructions MOVDIRI and MOVDIR64B will be available in
> Tremont and other future x86 processors,
> and need to be exposed to guest VM.

It seems like KVM's emulator should be able to complete these
instructions to emulated MMIO before exposing CPUID to guests in any
default or supported configurations.

It'll be much simpler for usermode to implement that property if the
KVM-reported supported CPUID table doesn't get updated before the KVM
emulator does.

-Eric