aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2009-11-09 21:05:37 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-12 11:23:55 -0600
commit9bdbe550f06ac8a2aa0a3fc999d86bc092918b0a (patch)
tree19b49b405da976205563c274f76cef806900c920 /kvm-all.c
parent49c3c8dca7b324d0aed590bb747be2179cc631cc (diff)
kvm: Move KVM mp_state accessors to i386-specific code
Unbreaks PowerPC and S390 KVM builds. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 48ae26caed..1916ec604a 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -207,26 +207,6 @@ err:
return ret;
}
-int kvm_put_mp_state(CPUState *env)
-{
- struct kvm_mp_state mp_state = { .mp_state = env->mp_state };
-
- return kvm_vcpu_ioctl(env, KVM_SET_MP_STATE, &mp_state);
-}
-
-int kvm_get_mp_state(CPUState *env)
-{
- struct kvm_mp_state mp_state;
- int ret;
-
- ret = kvm_vcpu_ioctl(env, KVM_GET_MP_STATE, &mp_state);
- if (ret < 0) {
- return ret;
- }
- env->mp_state = mp_state.mp_state;
- return 0;
-}
-
/*
* dirty pages logging control
*/