Lines Matching refs:vm_type
255 unsigned long vm_type)
259 bool es_active = vm_type != KVM_X86_SEV_VM;
325 unsigned long vm_type;
327 if (kvm->arch.vm_type != KVM_X86_DEFAULT_VM)
330 vm_type = (argp->id == KVM_SEV_INIT ? KVM_X86_SEV_VM : KVM_X86_SEV_ES_VM);
336 if (vm_type == KVM_X86_SEV_ES_VM)
339 return __sev_guest_init(kvm, argp, &data, vm_type);
350 if (kvm->arch.vm_type != KVM_X86_SEV_VM &&
351 kvm->arch.vm_type != KVM_X86_SEV_ES_VM)
357 return __sev_guest_init(kvm, argp, &data, kvm->arch.vm_type);
702 if (vcpu->kvm->arch.vm_type != KVM_X86_DEFAULT_VM) {
1937 if (kvm->arch.vm_type != source_kvm->arch.vm_type ||