mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
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>
This commit is contained in:
parent
4b8f1c88e9
commit
c73b00973b
@ -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;
|
||||
|
@ -16,12 +16,6 @@
|
||||
#include "gdbstub.h"
|
||||
#include "kvm.h"
|
||||
|
||||
int kvm_pit_in_kernel(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int kvm_init_vcpu(CPUArchState *env)
|
||||
{
|
||||
return -ENOSYS;
|
||||
|
2
kvm.h
2
kvm.h
@ -83,8 +83,6 @@ int kvm_update_guest_debug(CPUArchState *env, unsigned long reinject_trap);
|
||||
int kvm_set_signal_mask(CPUArchState *env, const sigset_t *sigset);
|
||||
#endif
|
||||
|
||||
int kvm_pit_in_kernel(void);
|
||||
|
||||
int kvm_on_sigbus_vcpu(CPUArchState *env, int code, void *addr);
|
||||
int kvm_on_sigbus(int code, void *addr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user