Skip to content
Commit 69c73028 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Cache cpl



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.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent f4c63e5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment