• N
    KVM: nVMX: vmcs12 checks on nested entry · 7c177938
    Nadav Har'El 提交于
    This patch adds a bunch of tests of the validity of the vmcs12 fields,
    according to what the VMX spec and our implementation allows. If fields
    we cannot (or don't want to) honor are discovered, an entry failure is
    emulated.
    
    According to the spec, there are two types of entry failures: If the problem
    was in vmcs12's host state or control fields, the VMLAUNCH instruction simply
    fails. But a problem is found in the guest state, the behavior is more
    similar to that of an exit.
    Signed-off-by: NNadav Har'El <nyh@il.ibm.com>
    Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
    7c177938
vmx.h 19.1 KB