Lines Matching +full:qemu +full:- +full:kvm
9 * your option) any later version. See the COPYING file in the top-level
12 #include "qemu/osdep.h"
14 #include <linux/kvm.h>
16 #include "qemu/units.h"
18 #include "qemu/error-report.h"
19 #include "system/kvm.h"
22 #include "system/confidential-guest-support.h"
25 #include "target/s390x/kvm/kvm_s390x.h"
26 #include "target/s390x/kvm/pv.h"
43 } while (rc == -EINTR); in __s390_pv_cmd()
46 error_report("KVM PV command %d (%s) failed: header rc %x rrc %x " in __s390_pv_cmd()
51 pv_resp->cmd = cmd; in __s390_pv_cmd()
52 pv_resp->rc = pv_cmd.rc; in __s390_pv_cmd()
53 pv_resp->rrc = pv_cmd.rrc; in __s390_pv_cmd()
88 error_report("KVM PV INFO cmd %x failed: %s", in s390_pv_query_info()
89 info.header.id, strerror(-rc)); in s390_pv_query_info()
98 error_report("KVM PV INFO cmd %x failed: %s", in s390_pv_query_info()
99 info.header.id, strerror(-rc)); in s390_pv_query_info()
164 if (pv_resp->rc == UV_RC_SSC_INVAL_HOSTKEY) { in s390_pv_set_sec_parms()
206 int r1 = (cs->kvm_run->s390_sieic.ipa & 0x00f0) >> 4; in s390_pv_inject_reset_error()
207 CPUS390XState *env = &S390_CPU(cs)->env; in s390_pv_inject_reset_error()
225 env->regs[r1 + 1] = resp.regs; in s390_pv_inject_reset_error()
261 error_report("KVM DUMP command %ld failed", subcmd); in s390_pv_dump_cmd()
299 #define TYPE_S390_PV_GUEST "s390-pv-guest"
308 * # $QEMU \
309 * -object s390-pv-guest,id=pv0 \
310 * -machine ...,confidential-guest-support=pv0
325 * available space also depends on the Extended-Length SCCB (ELS)
335 return (TARGET_PAGE_SIZE - offset_cpu) / sizeof(CPUEntry); in s390_pv_get_max_cpus()
343 if (ms->smp.max_cpus > pv_max_cpus) { in s390_pv_check_cpus()
364 error_setg(errp, "Protected Virtualization requires KVM"); in s390_pv_kvm_init()
365 return -1; in s390_pv_kvm_init()
371 return -1; in s390_pv_kvm_init()
375 return -1; in s390_pv_kvm_init()
378 cgs->ready = true; in s390_pv_kvm_init()
394 klass->kvm_init = s390_pv_kvm_init; in s390_pv_guest_class_init()