|
@@ -542,6 +542,8 @@ struct kvm_mips_callbacks {
|
|
|
int (*handle_msa_fpe)(struct kvm_vcpu *vcpu);
|
|
|
int (*handle_fpe)(struct kvm_vcpu *vcpu);
|
|
|
int (*handle_msa_disabled)(struct kvm_vcpu *vcpu);
|
|
|
+ int (*hardware_enable)(void);
|
|
|
+ void (*hardware_disable)(void);
|
|
|
int (*check_extension)(struct kvm *kvm, long ext);
|
|
|
int (*vcpu_init)(struct kvm_vcpu *vcpu);
|
|
|
void (*vcpu_uninit)(struct kvm_vcpu *vcpu);
|
|
@@ -864,7 +866,6 @@ extern int kvm_mips_trans_mtc0(union mips_instruction inst, u32 *opc,
|
|
|
extern void kvm_mips_dump_stats(struct kvm_vcpu *vcpu);
|
|
|
extern unsigned long kvm_mips_get_ramsize(struct kvm *kvm);
|
|
|
|
|
|
-static inline void kvm_arch_hardware_disable(void) {}
|
|
|
static inline void kvm_arch_hardware_unsetup(void) {}
|
|
|
static inline void kvm_arch_sync_events(struct kvm *kvm) {}
|
|
|
static inline void kvm_arch_free_memslot(struct kvm *kvm,
|