Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/svm/
H A Davic.c189 return min(kvm->arch.max_vcpu_ids - 1, arch_max); in __avic_get_max_physical_id()
/linux/arch/x86/kvm/
H A Dx86.c6927 } else if (kvm->arch.max_vcpu_ids == cap->args[0]) { in kvm_vm_ioctl_enable_cap()
6929 } else if (!kvm->arch.max_vcpu_ids) { in kvm_vm_ioctl_enable_cap()
6930 kvm->arch.max_vcpu_ids = cap->args[0]; in kvm_vm_ioctl_enable_cap()
7496 (kvm->arch.max_vcpu_ids && arg > kvm->arch.max_vcpu_ids)) in kvm_arch_vm_ioctl()
12802 if (!kvm->arch.max_vcpu_ids) in kvm_arch_vcpu_precreate()
12803 kvm->arch.max_vcpu_ids = KVM_MAX_VCPU_IDS; in kvm_arch_vcpu_precreate()
12805 if (id >= kvm->arch.max_vcpu_ids) in kvm_arch_vcpu_precreate()
/linux/arch/x86/include/asm/
H A Dkvm_host.h1635 u32 max_vcpu_ids; member