diff options
author | Gleb Natapov <gleb@redhat.com> | 2011-04-12 05:36:21 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-22 08:39:49 -0400 |
commit | 8d7d810255982bfcc355cdb8972d72843acb0cf8 (patch) | |
tree | 9a486a1b741bff8e6d0620e63261b9f8086f7b1b /arch/x86/kvm/x86.c | |
parent | 46561646ce409ad96c22645362c113de04f60bfb (diff) |
KVM: mmio_fault_cr2 is not used
Remove unused variable mmio_fault_cr2.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index a831d5d8ca14..e3ac212f7c87 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -4561,7 +4561,7 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu, | |||
4561 | bool writeback = true; | 4561 | bool writeback = true; |
4562 | 4562 | ||
4563 | kvm_clear_exception_queue(vcpu); | 4563 | kvm_clear_exception_queue(vcpu); |
4564 | vcpu->arch.mmio_fault_cr2 = cr2; | 4564 | |
4565 | /* | 4565 | /* |
4566 | * TODO: fix emulate.c to use guest_read/write_register | 4566 | * TODO: fix emulate.c to use guest_read/write_register |
4567 | * instead of direct ->regs accesses, can save hundred cycles | 4567 | * instead of direct ->regs accesses, can save hundred cycles |