Home
last modified time | relevance | path

Searched refs:max_vcpu_ids (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/x86/kvm/
Dx86.c6691 } else if (kvm->arch.max_vcpu_ids == cap->args[0]) { in kvm_vm_ioctl_enable_cap()
6693 } else if (!kvm->arch.max_vcpu_ids) { in kvm_vm_ioctl_enable_cap()
6694 kvm->arch.max_vcpu_ids = cap->args[0]; in kvm_vm_ioctl_enable_cap()
7237 (kvm->arch.max_vcpu_ids && arg > kvm->arch.max_vcpu_ids)) in kvm_arch_vm_ioctl()
12237 if (!kvm->arch.max_vcpu_ids) in kvm_arch_vcpu_precreate()
12238 kvm->arch.max_vcpu_ids = KVM_MAX_VCPU_IDS; in kvm_arch_vcpu_precreate()
12240 if (id >= kvm->arch.max_vcpu_ids) in kvm_arch_vcpu_precreate()
/linux-6.12.1/arch/x86/include/asm/
Dkvm_host.h1513 u32 max_vcpu_ids; member
/linux-6.12.1/arch/x86/kvm/vmx/
Dvmx.c4696 return get_order(kvm->arch.max_vcpu_ids * sizeof(*to_kvm_vmx(kvm)->pid_table)); in vmx_get_pid_table_order()
4768 vmcs_write16(LAST_PID_POINTER_INDEX, kvm->arch.max_vcpu_ids - 1); in init_vmcs()