diff options
author | Avi Kivity <avi@redhat.com> | 2009-08-12 08:04:37 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-09-10 03:46:45 -0400 |
commit | 56e8231841301ad38e347e33fd4319c89f697045 (patch) | |
tree | 77a30a9ccb9bd2e664b32d95470f719809385280 /arch/x86/kvm/x86.c | |
parent | c0c7c04b874bf98a10d8e0c8322a5d3bc93536bc (diff) |
KVM: Rename x86_emulate.c to emulate.c
We're in arch/x86, what could we possibly be emulating?
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 1aa7e6d91d4f..c0e942747b0f 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -2759,7 +2759,7 @@ int emulate_instruction(struct kvm_vcpu *vcpu, | |||
2759 | kvm_clear_exception_queue(vcpu); | 2759 | kvm_clear_exception_queue(vcpu); |
2760 | vcpu->arch.mmio_fault_cr2 = cr2; | 2760 | vcpu->arch.mmio_fault_cr2 = cr2; |
2761 | /* | 2761 | /* |
2762 | * TODO: fix x86_emulate.c to use guest_read/write_register | 2762 | * TODO: fix emulate.c to use guest_read/write_register |
2763 | * instead of direct ->regs accesses, can save hundred cycles | 2763 | * instead of direct ->regs accesses, can save hundred cycles |
2764 | * on Intel for instructions that don't read/change RSP, for | 2764 | * on Intel for instructions that don't read/change RSP, for |
2765 | * for example. | 2765 | * for example. |