projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cc8883
)
KVM: Remove unnecessary ->decache_regs() call
author
Avi Kivity
<avi@qumranet.com>
Sun, 25 May 2008 11:38:15 +0000
(14:38 +0300)
committer
Avi Kivity
<avi@qumranet.com>
Sun, 20 Jul 2008 09:42:25 +0000
(12:42 +0300)
Since we aren't modifying any register, there's no need to decache
the register state.
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index fd03b4465bcc325f5f6a73a9721d8774464676f4..5f00c60f0aff4edc612d7f875e28766fdc921024 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-2297,7
+2297,6
@@
int kvm_emulate_pio(struct kvm_vcpu *vcpu, struct kvm_run *run, int in,
kvm_x86_ops->cache_regs(vcpu);
memcpy(vcpu->arch.pio_data, &vcpu->arch.regs[VCPU_REGS_RAX], 4);
- kvm_x86_ops->decache_regs(vcpu);
kvm_x86_ops->skip_emulated_instruction(vcpu);