diff options
author | Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> | 2007-09-09 08:41:59 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:27 -0400 |
commit | cbdd1bea2a2dce4c0b45c5f0122c150d9f07f0bc (patch) | |
tree | c01443051868880733c2973abdd59c1d82fdd243 /drivers/kvm/x86_emulate.c | |
parent | 0d8d2bd4f20c8a2a254b4fe3bc114f12214a6d73 (diff) |
KVM: Rename kvm_arch_ops to kvm_x86_ops
This patch just renames the current (misnamed) _arch namings to _x86 to
ensure better readability when a real arch layer takes place.
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86_emulate.c')
-rw-r--r-- | drivers/kvm/x86_emulate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index 342594d78d8c..86171ca794dd 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c | |||
@@ -1432,7 +1432,7 @@ twobyte_special_insn: | |||
1432 | | ((u64)_regs[VCPU_REGS_RDX] << 32); | 1432 | | ((u64)_regs[VCPU_REGS_RDX] << 32); |
1433 | rc = kvm_set_msr(ctxt->vcpu, _regs[VCPU_REGS_RCX], msr_data); | 1433 | rc = kvm_set_msr(ctxt->vcpu, _regs[VCPU_REGS_RCX], msr_data); |
1434 | if (rc) { | 1434 | if (rc) { |
1435 | kvm_arch_ops->inject_gp(ctxt->vcpu, 0); | 1435 | kvm_x86_ops->inject_gp(ctxt->vcpu, 0); |
1436 | _eip = ctxt->vcpu->rip; | 1436 | _eip = ctxt->vcpu->rip; |
1437 | } | 1437 | } |
1438 | rc = X86EMUL_CONTINUE; | 1438 | rc = X86EMUL_CONTINUE; |
@@ -1441,7 +1441,7 @@ twobyte_special_insn: | |||
1441 | /* rdmsr */ | 1441 | /* rdmsr */ |
1442 | rc = kvm_get_msr(ctxt->vcpu, _regs[VCPU_REGS_RCX], &msr_data); | 1442 | rc = kvm_get_msr(ctxt->vcpu, _regs[VCPU_REGS_RCX], &msr_data); |
1443 | if (rc) { | 1443 | if (rc) { |
1444 | kvm_arch_ops->inject_gp(ctxt->vcpu, 0); | 1444 | kvm_x86_ops->inject_gp(ctxt->vcpu, 0); |
1445 | _eip = ctxt->vcpu->rip; | 1445 | _eip = ctxt->vcpu->rip; |
1446 | } else { | 1446 | } else { |
1447 | _regs[VCPU_REGS_RAX] = (u32)msr_data; | 1447 | _regs[VCPU_REGS_RAX] = (u32)msr_data; |