qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] target/i386: do not set unsupported VMX secondary execution


From: Vitaly Kuznetsov
Subject: Re: [PATCH] target/i386: do not set unsupported VMX secondary execution controls
Date: Wed, 01 Apr 2020 09:08:13 +0200

"Dr. David Alan Gilbert" <address@hidden> writes:

> So you would think that would tkae care of RDSEED exiting - but what
> about VMCS shadowing?
>

SECONDARY_EXEC_SHADOW_VMCS is special, we are able to emulate it in KVM
even when it is not supported by hardware, see
nested_vmx_setup_ctls_msrs():

        /*
         * We can emulate "VMCS shadowing," even if the hardware
         * doesn't support it.
         */
        msrs->secondary_ctls_high |=
                SECONDARY_EXEC_SHADOW_VMCS;

-- 
Vitaly




reply via email to

[Prev in Thread] Current Thread [Next in Thread]