Home
last modified time | relevance | path

Searched refs:max_vcpu_id (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/kvm/x86_64/
A Dset_boot_cpu_id.c38 unsigned long max_vcpu_id = vm_check_cap(vm, KVM_CAP_MAX_VCPU_ID); in test_set_invalid_bsp() local
41 if (max_vcpu_id) { in test_set_invalid_bsp()
42 r = __vm_ioctl(vm, KVM_SET_BOOT_CPU_ID, (void *)(max_vcpu_id + 1)); in test_set_invalid_bsp()
/linux/Documentation/virt/kvm/
A Dapi.rst304 The vcpu id is an integer in the range [0, max_vcpu_id).
316 The maximum possible value for max_vcpu_id can be retrieved using the
319 If the KVM_CAP_MAX_VCPU_ID does not exist, you should assume that max_vcpu_id

Completed in 14 milliseconds