|
@@ -429,11 +429,6 @@ static int kvm_trap_emul_handle_msa_disabled(struct kvm_vcpu *vcpu)
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
|
|
|
|
-static int kvm_trap_emul_vm_init(struct kvm *kvm)
|
|
|
|
-{
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static int kvm_trap_emul_vcpu_init(struct kvm_vcpu *vcpu)
|
|
static int kvm_trap_emul_vcpu_init(struct kvm_vcpu *vcpu)
|
|
{
|
|
{
|
|
struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm;
|
|
struct mm_struct *kern_mm = &vcpu->arch.guest_kernel_mm;
|
|
@@ -847,7 +842,6 @@ static struct kvm_mips_callbacks kvm_trap_emul_callbacks = {
|
|
.handle_fpe = kvm_trap_emul_handle_fpe,
|
|
.handle_fpe = kvm_trap_emul_handle_fpe,
|
|
.handle_msa_disabled = kvm_trap_emul_handle_msa_disabled,
|
|
.handle_msa_disabled = kvm_trap_emul_handle_msa_disabled,
|
|
|
|
|
|
- .vm_init = kvm_trap_emul_vm_init,
|
|
|
|
.vcpu_init = kvm_trap_emul_vcpu_init,
|
|
.vcpu_init = kvm_trap_emul_vcpu_init,
|
|
.vcpu_uninit = kvm_trap_emul_vcpu_uninit,
|
|
.vcpu_uninit = kvm_trap_emul_vcpu_uninit,
|
|
.vcpu_setup = kvm_trap_emul_vcpu_setup,
|
|
.vcpu_setup = kvm_trap_emul_vcpu_setup,
|