Searched refs:kvm_type (Results 1 – 11 of 11) sorted by relevance
41 int (*kvm_type)(X86ConfidentialGuest *cg); member55 if (klass->kvm_type) { in x86_confidential_guest_kvm_type()56 return klass->kvm_type(cg); in x86_confidential_guest_kvm_type()
94 int kvm_type; member1387 int kvm_type; in sev_kvm_type() local1389 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 …]
258 int (*kvm_type)(MachineState *machine, const char *arg); member
424 mc->kvm_type = heathrow_kvm_type; in heathrow_class_init()
582 mc->kvm_type = core99_kvm_type; in core99_machine_class_init()
3301 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()
384 mc->kvm_type = x86_kvm_type; in x86_machine_class_init()
2528 g_autofree char *kvm_type = object_property_get_str(OBJECT(current_machine), in kvm_init() local2531 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()
263 char *kvm_type; member
197 int kvm_type = KVM_X86_DEFAULT_VM; in kvm_get_vm_type() local205 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()
3088 mc->kvm_type = virt_kvm_type; in virt_machine_class_init()