aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-03-22 00:00:48 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2012-04-12 19:01:41 -0300
commitc73b00973b13a4a1e823ce935bcfe264c758b40b (patch)
tree8bd6ef3577ff9f74b61d1b4921485bc37d839495 /kvm-all.c
parent4b8f1c88e9de2ded754b12a967a93d395bed1245 (diff)
kvm: Drop unused kvm_pit_in_kernel
This is now implied by kvm_irqchip_in_kernel. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kvm-all.c b/kvm-all.c
index f1cb69fbce..5ff954abd7 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -75,7 +75,6 @@ struct KVMState
#ifdef KVM_CAP_SET_GUEST_DEBUG
struct kvm_sw_breakpoint_head kvm_sw_breakpoints;
#endif
- int pit_in_kernel;
int pit_state2;
int xsave, xcrs;
int many_ioeventfds;
@@ -198,11 +197,6 @@ static void kvm_reset_vcpu(void *opaque)
kvm_arch_reset_vcpu(env);
}
-int kvm_pit_in_kernel(void)
-{
- return kvm_state->pit_in_kernel;
-}
-
int kvm_init_vcpu(CPUArchState *env)
{
KVMState *s = kvm_state;