]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/powerpc/kvm/powerpc.c
KVM: s390: add parameter for KVM_CREATE_VM
[mirror_ubuntu-jammy-kernel.git] / arch / powerpc / kvm / powerpc.c
index 607fbdf24b8484c173cc03593ffc71d968b689fe..83f2445698747c79d8389449c1cb9951c4c9d6cd 100644 (file)
@@ -171,8 +171,11 @@ void kvm_arch_check_processor_compat(void *rtn)
        *(int *)rtn = kvmppc_core_check_processor_compat();
 }
 
-int kvm_arch_init_vm(struct kvm *kvm)
+int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)
 {
+       if (type)
+               return -EINVAL;
+
        return kvmppc_core_init_vm(kvm);
 }