]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/include/asm/kvm_ppc.h
KVM: PPC: Book3S HV: Support reset of secure guest
[linux.git] / arch / powerpc / include / asm / kvm_ppc.h
index ee62776e5433cc72316bf323f43d3c5df99d97f2..3d2f871241a8c7bfc7d4cba00f35408ccdfafbcd 100644 (file)
@@ -271,6 +271,7 @@ struct kvmppc_ops {
                           union kvmppc_one_reg *val);
        void (*vcpu_load)(struct kvm_vcpu *vcpu, int cpu);
        void (*vcpu_put)(struct kvm_vcpu *vcpu);
+       void (*inject_interrupt)(struct kvm_vcpu *vcpu, int vec, u64 srr1_flags);
        void (*set_msr)(struct kvm_vcpu *vcpu, u64 msr);
        int (*vcpu_run)(struct kvm_run *run, struct kvm_vcpu *vcpu);
        struct kvm_vcpu *(*vcpu_create)(struct kvm *kvm, unsigned int id);
@@ -321,6 +322,7 @@ struct kvmppc_ops {
                               int size);
        int (*store_to_eaddr)(struct kvm_vcpu *vcpu, ulong *eaddr, void *ptr,
                              int size);
+       int (*svm_off)(struct kvm *kvm);
 };
 
 extern struct kvmppc_ops *kvmppc_hv_ops;