Home
last modified time | relevance | path

Searched refs:vcpus (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/
Dperf_test_util.h93 static struct kvm_vm *create_vm(enum vm_guest_mode mode, int vcpus, in create_vm() argument
101 pages += DEFAULT_STACK_PGS * vcpus; in create_vm()
110 pages += ((2 * vcpus * vcpu_memory_bytes) >> PAGE_SHIFT_4K) / in create_vm()
129 guest_num_pages = (vcpus * vcpu_memory_bytes) / in create_vm()
140 guest_num_pages, vm_get_max_gfn(vm), vcpus, in create_vm()
171 static void add_vcpus(struct kvm_vm *vm, int vcpus, uint64_t vcpu_memory_bytes) in add_vcpus() argument
177 for (vcpu_id = 0; vcpu_id < vcpus; vcpu_id++) { in add_vcpus()
/kernel/linux/linux-5.10/Documentation/powerpc/
Dvcpudispatch_stats.rst8 static mapping of the LPAR processors (vcpus) to physical processor
9 chips (representing the "home" node) and tries to always dispatch vcpus
11 scenarios, vcpus may be dispatched on a different processor chip (away
/kernel/linux/linux-5.10/arch/mips/kvm/
Dloongson_ipi.c123 kvm_vcpu_ioctl_interrupt(kvm->vcpus[id], &irq); in loongson_vipi_write()
131 kvm_vcpu_ioctl_interrupt(kvm->vcpus[id], &irq); in loongson_vipi_write()
Dmips.c177 kvm->vcpus[i] = NULL; in kvm_mips_free_vcpus()
513 dvcpu = vcpu->kvm->vcpus[irq->cpu]; in kvm_vcpu_ioctl_interrupt()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h44 struct list_head vcpus; member
Dkvm_util.c193 INIT_LIST_HEAD(&vm->vcpus); in vm_create()
415 list_for_each_entry(vcpu, &vm->vcpus, list) { in vcpu_find()
455 list_for_each_entry_safe(vcpu, tmp, &vmp->vcpus, list) in kvm_vm_release()
914 list_add(&vcpu->list, &vm->vcpus); in vm_vcpu_add()
1628 list_for_each_entry(vcpu, &vm->vcpus, list) in vm_dump()
/kernel/linux/linux-5.10/arch/s390/hypfs/
Dhypfs_vm.c37 __u32 vcpus; member
149 ATTRIBUTE(cpus_dir, "count", data->vcpus); in hypfs_vm_create_guest()
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-kvm.txt104 analyze events which occur on this vcpu. (default: all vcpus)
138 analyze events which occur on this vcpu. (default: all vcpus)
/kernel/linux/linux-5.10/Documentation/virt/
Dguest-halt-polling.rst6 the guest vcpus to poll for a specified amount of time before
/kernel/linux/linux-5.10/Documentation/virt/kvm/devices/
Darm-vgic-its.rst128 a) restore all guest memory and create vcpus
139 Then vcpus can be started.
Dvcpu.rst40 all vcpus, while as an SPI it must be a separate number per vcpu.
Dvm.rst99 :Returns: -EBUSY in case 1 or more vcpus are already activated (only in write case);
/kernel/linux/linux-5.10/arch/arm64/kvm/
Darm.c171 if (kvm->vcpus[i]) { in kvm_arch_destroy_vm()
172 kvm_vcpu_destroy(kvm->vcpus[i]); in kvm_arch_destroy_vm()
173 kvm->vcpus[i] = NULL; in kvm_arch_destroy_vm()
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dhalt-polling.rst11 vcpus of a single vcore have ceded, the host kernel polls for wakeup conditions
Dapi.rst19 create virtual cpus (vcpus) and devices.
48 to control the vcpu or device. For vcpus, this includes the important
226 not returned in the MSR list, as different vcpus can have a different number
309 On powerpc using book3s_hv mode, the vcpus are mapped onto virtual
313 of vcpus per virtual core (vcore). The vcore id is obtained by
314 dividing the vcpu id by the number of vcpus per vcore. The vcpus in a
319 single-threaded guest vcpus, it should make all vcpu ids be a multiple
320 of the number of vcpus per vcore.
793 future vcpus to have a local APIC. IRQ routing for GSIs 0-15 is set to both
2409 .. [1] These encodings are not accepted for SVE-enabled vcpus. See
[all …]
/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h451 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; member
555 return kvm->vcpus[i]; in kvm_get_vcpu()
/kernel/linux/linux-5.10/arch/s390/kvm/
Dkvm-s390.c2783 kvm->vcpus[i] = NULL; in kvm_free_vcpus()
4536 if (!is_vcpu_stopped(vcpu->kvm->vcpus[i])) in kvm_s390_vcpu_start()
4603 if (!is_vcpu_stopped(vcpu->kvm->vcpus[i])) { in kvm_s390_vcpu_stop()
4605 started_vcpu = vcpu->kvm->vcpus[i]; in kvm_s390_vcpu_stop()
/kernel/linux/linux-5.10/Documentation/admin-guide/mm/
Duserfaultfd.rst178 the guest vcpus.
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c3184 BUG_ON(kvm->vcpus[vcpu->vcpu_idx]); in kvm_vm_ioctl_create_vcpu()
3194 kvm->vcpus[vcpu->vcpu_idx] = vcpu; in kvm_vm_ioctl_create_vcpu()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dpowerpc.c484 kvm->vcpus[i] = NULL; in kvm_arch_destroy_vm()
/kernel/linux/linux-5.10/Documentation/sparc/oradax/
Ddax-hv-api.txt1284 … CCBs on all other vcpus but can expect continued rejections of all
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c10502 kvm->vcpus[i] = NULL; in kvm_free_vcpus()