Lines Matching +full:qemu +full:- +full:kvm
7 * See the COPYING file in the top-level directory.
11 #include "qemu/osdep.h"
15 #include "system/kvm.h"
17 #include "system/confidential-guest-support.h"
19 #define TYPE_PEF_GUEST "pef-guest"
35 * # $QEMU \
36 * -object pef-guest,id=pef0 \
37 * -machine ...,confidential-guest-support=pef0
50 "KVM implementation does not support Secure VMs (is an ultravisor running?)"); in kvmppc_svm_init()
51 return -1; in kvmppc_svm_init()
57 "Error enabling PEF with KVM"); in kvmppc_svm_init()
58 return -1; in kvmppc_svm_init()
64 /* NB: This can fail if --only-migratable is used */ in kvmppc_svm_init()
67 cgs->ready = true; in kvmppc_svm_init()
85 if (rc && rc != -ENOTTY) { in kvmppc_svm_off()
86 error_setg_errno(errp, -rc, "KVM_PPC_SVM_OFF ioctl failed"); in kvmppc_svm_off()
102 error_setg(errp, "PEF requires KVM"); in pef_kvm_init()
103 return -1; in pef_kvm_init()
116 * If we don't have KVM we should never have been able to in pef_kvm_reset()
135 klass->kvm_init = pef_kvm_init; in pef_guest_class_init()
136 klass->kvm_reset = pef_kvm_reset; in pef_guest_class_init()