Re: [PATCH] KVM: VMX: Use wrapper macro ~RMODE_GUEST_OWNED_EFLAGS_BITS directly

From: Paolo Bonzini
Date: Fri Mar 06 2020 - 00:33:02 EST


On 06/03/20 03:17, linmiaohe wrote:
> Define a macro RMODE_HOST_OWNED_EFLAGS_BITS for (X86_EFLAGS_IOPL |
> X86_EFLAGS_VM) as suggested by Vitaly seems a good way to fix this ?
> Thanks.

No, what if a host-owned flag was zero? I'd just leave it as is.

Paolo