Il 25/07/2013 12:59, Gleb Natapov ha scritto:
> +      * we should use its exit controls. Note that IA32_MODE, LOAD_IA32_EFER
> +      * bits are further modified by vmx_set_efer() below.

IA32E_MODE, but the last sentence is not relevant anyway for this
vmcs_write32; in fact, the next command basically duplicates it.

This can be fixed while applying.

Paolo

> +      */
> +     vmcs_write32(VM_EXIT_CONTROLS, vmcs_config.vmexit_ctrl);
> +
> +     /* vmcs12's VM_ENTRY_LOAD_IA32_EFER and VM_ENTRY_IA32E_MODE are
> +      * emulated by vmx_set_efer(), below.
> +      */
> +     vmcs_write32(VM_ENTRY_CONTROLS,
> +             (vmcs12->vm_entry_controls & ~VM_ENTRY_LOAD_IA32_EFER &
> +                     ~VM_ENTRY_IA32E_MODE) |
>               (vmcs_config.vmentry_ctrl & ~VM_ENTRY_IA32E_MODE));
>  
>       if (vmcs12->vm_entry_controls & VM_ENTRY_LOAD_IA32_PAT)
> -- 1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to