summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86.c
diff options
context:
space:
mode:
authorAvi Kivity2007-12-06 15:32:45 +0100
committerAvi Kivity2008-01-30 16:53:19 +0100
commite5314067f6a77688a3d36548e7618430ce4a6236 (patch)
treea03623c7ae33403d7e4de0deeb581367bef67ae3 /drivers/kvm/x86.c
parentKVM: x86 emulator: fix eflags preparation for emulation (diff)
downloadkernel-qcow2-linux-e5314067f6a77688a3d36548e7618430ce4a6236.tar.gz
kernel-qcow2-linux-e5314067f6a77688a3d36548e7618430ce4a6236.tar.xz
kernel-qcow2-linux-e5314067f6a77688a3d36548e7618430ce4a6236.zip
KVM: VMX: Avoid exit when setting cr8 if the local apic is in the kernel
With apic in userspace, we must exit to userspace after a cr8 write in order to update the tpr. But if the apic is in the kernel, the exit is unnecessary. Noticed by Joerg Roedel. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions