Re: [PATCH 4/9] KVM: VMX: Cache cpl

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

 



On 03/08/2011 04:20 PM, Gleb Natapov wrote:
On Tue, Mar 08, 2011 at 03:57:40PM +0200, Avi Kivity wrote:
>  We may read the cpl quite often in the same vmexit (instruction privilege
>  check, memory access checks for instruction and operands), so we gain
>  a bit if we cache the value.
>
Shouldn't VCPU_EXREG_CPL be cleared in vmx_set_efer too?

I anticipated that question (which really means that a comment is needed). Flipping EFER.LMA is done by flipping CR0.PG (and doesn't affect cpl. in any case).

--
error compiling committee.c: too many arguments to function

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux