Home
last modified time | relevance | path

Searched refs:kvm_type (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/target/i386/
H A Dconfidential-guest.h41 int (*kvm_type)(X86ConfidentialGuest *cg); member
55 if (klass->kvm_type) { in x86_confidential_guest_kvm_type()
56 return klass->kvm_type(cg); in x86_confidential_guest_kvm_type()
H A Dsev.c94 int kvm_type; member
1387 int kvm_type; in sev_kvm_type() local
1389 if (sev_common->kvm_type != -1) { in sev_kvm_type()
1397 sev_common->kvm_type = KVM_X86_DEFAULT_VM; in sev_kvm_type()
1406 kvm_type = (sev_guest->policy & SEV_POLICY_ES) ? in sev_kvm_type()
1408 if (!kvm_is_vm_type_supported(kvm_type)) { in sev_kvm_type()
1425 sev_common->kvm_type = kvm_type; in sev_kvm_type()
1427 return sev_common->kvm_type; in sev_kvm_type()
2071 sev_common->kvm_type = -1; in sev_common_instance_init()
2153 x86_klass->kvm_type = sev_kvm_type; in sev_guest_class_init()
[all …]
/openbmc/qemu/include/hw/
H A Dboards.h258 int (*kvm_type)(MachineState *machine, const char *arg); member
/openbmc/qemu/hw/ppc/
H A Dmac_oldworld.c424 mc->kvm_type = heathrow_kvm_type; in heathrow_class_init()
H A Dmac_newworld.c582 mc->kvm_type = core99_kvm_type; in core99_machine_class_init()
H A Dspapr.c3301 return g_strdup(spapr->kvm_type); in spapr_get_kvm_type()
3308 g_free(spapr->kvm_type); in spapr_set_kvm_type()
3309 spapr->kvm_type = g_strdup(value); in spapr_set_kvm_type()
3475 spapr->kvm_type = g_strdup(DEFAULT_KVM_TYPE); in spapr_instance_init()
3539 g_free(spapr->kvm_type); in spapr_machine_finalizefn()
4703 mc->kvm_type = spapr_kvm_type; in spapr_machine_class_init()
/openbmc/qemu/hw/i386/
H A Dx86.c384 mc->kvm_type = x86_kvm_type; in x86_machine_class_init()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c2528 g_autofree char *kvm_type = object_property_get_str(OBJECT(current_machine), in kvm_init() local
2531 type = mc->kvm_type(ms, kvm_type); in kvm_init()
2532 } else if (mc->kvm_type) { in kvm_init()
2533 type = mc->kvm_type(ms, NULL); in kvm_init()
/openbmc/qemu/include/hw/ppc/
H A Dspapr.h263 char *kvm_type; member
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c197 int kvm_type = KVM_X86_DEFAULT_VM; in kvm_get_vm_type() local
205 kvm_type = x86_confidential_guest_kvm_type( in kvm_get_vm_type()
209 if (!kvm_is_vm_type_supported(kvm_type)) { in kvm_get_vm_type()
210 error_report("vm-type %s not supported by KVM", vm_type_name[kvm_type]); in kvm_get_vm_type()
214 return kvm_type; in kvm_get_vm_type()
/openbmc/qemu/hw/arm/
H A Dvirt.c3088 mc->kvm_type = virt_kvm_type; in virt_machine_class_init()