diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2008-12-02 16:51:58 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 09:55:41 -0500 |
commit | 7b7015914b30ad8d9136d41412c5129b9bc9af70 (patch) | |
tree | c0764fff834b784d933126f30ef5562aef0dc55c /arch/powerpc/kvm/44x_emulate.c | |
parent | 73e75b416ffcfa3a84952d8e389a0eca080f00e1 (diff) |
KVM: ppc: mostly cosmetic updates to the exit timing accounting code
The only significant changes were to kvmppc_exit_timing_write() and
kvmppc_exit_timing_show(), both of which were dramatically simplified.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/44x_emulate.c')
-rw-r--r-- | arch/powerpc/kvm/44x_emulate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/44x_emulate.c b/arch/powerpc/kvm/44x_emulate.c index 69f88d53c428..82489a743a6f 100644 --- a/arch/powerpc/kvm/44x_emulate.c +++ b/arch/powerpc/kvm/44x_emulate.c | |||
@@ -132,7 +132,7 @@ int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
132 | run->dcr.is_write = 0; | 132 | run->dcr.is_write = 0; |
133 | vcpu->arch.io_gpr = rt; | 133 | vcpu->arch.io_gpr = rt; |
134 | vcpu->arch.dcr_needed = 1; | 134 | vcpu->arch.dcr_needed = 1; |
135 | account_exit(vcpu, DCR_EXITS); | 135 | kvmppc_account_exit(vcpu, DCR_EXITS); |
136 | emulated = EMULATE_DO_DCR; | 136 | emulated = EMULATE_DO_DCR; |
137 | } | 137 | } |
138 | 138 | ||
@@ -152,7 +152,7 @@ int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
152 | run->dcr.data = vcpu->arch.gpr[rs]; | 152 | run->dcr.data = vcpu->arch.gpr[rs]; |
153 | run->dcr.is_write = 1; | 153 | run->dcr.is_write = 1; |
154 | vcpu->arch.dcr_needed = 1; | 154 | vcpu->arch.dcr_needed = 1; |
155 | account_exit(vcpu, DCR_EXITS); | 155 | kvmppc_account_exit(vcpu, DCR_EXITS); |
156 | emulated = EMULATE_DO_DCR; | 156 | emulated = EMULATE_DO_DCR; |
157 | } | 157 | } |
158 | 158 | ||