Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dset_boot_cpu_id.c76 static struct kvm_vm *create_vm(uint32_t nr_vcpus, uint32_t bsp_vcpu_id, in create_vm() argument
84 vm_ioctl(vm, KVM_SET_BOOT_CPU_ID, (void *)(unsigned long)bsp_vcpu_id); in create_vm()
87 vcpus[i] = vm_vcpu_add(vm, i, i == bsp_vcpu_id ? guest_bsp_vcpu : in create_vm()
92 static void run_vm_bsp(uint32_t bsp_vcpu_id) in run_vm_bsp() argument
97 vm = create_vm(ARRAY_SIZE(vcpus), bsp_vcpu_id, vcpus); in run_vm_bsp()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h1235 u32 bsp_vcpu_id; member
/linux-6.1.9/arch/x86/kvm/
Dx86.c6853 kvm->arch.bsp_vcpu_id = arg; in kvm_arch_vm_ioctl()
12335 return vcpu->kvm->arch.bsp_vcpu_id == vcpu->vcpu_id; in kvm_vcpu_is_reset_bsp()