summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorJoerg Roedel2008-04-30 17:55:59 +0200
committerAvi Kivity2008-07-20 11:40:47 +0200
commitc7bf23babc959b186335d2640959a1b8633588de (patch)
tree39516a1fedf1d17504959681617d07ccb921f554 /arch/x86/kvm/vmx.c
parentKVM: add statics were possible, function definition in lapic.h (diff)
downloadkernel-qcow2-linux-c7bf23babc959b186335d2640959a1b8633588de.tar.gz
kernel-qcow2-linux-c7bf23babc959b186335d2640959a1b8633588de.tar.xz
kernel-qcow2-linux-c7bf23babc959b186335d2640959a1b8633588de.zip
KVM: VMX: move APIC_ACCESS trace entry to generic code
This patch moves the trace entry for APIC accesses from the VMX code to the generic lapic code. This way APIC accesses from SVM will also be traced. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 397393059800..8c951d3eab30 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -2554,8 +2554,6 @@ static int handle_apic_access(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
exit_qualification = vmcs_read64(EXIT_QUALIFICATION);
offset = exit_qualification & 0xffful;
- KVMTRACE_1D(APIC_ACCESS, vcpu, (u32)offset, handler);
-
er = emulate_instruction(vcpu, kvm_run, 0, 0, 0);
if (er != EMULATE_DONE) {