Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/powerpc/
H A 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
/OK3568_Linux_fs/kernel/arch/mips/kvm/
H A 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()
H A Dmips.c177 kvm->vcpus[i] = NULL; in kvm_mips_free_vcpus()
513 dvcpu = vcpu->kvm->vcpus[irq->cpu]; in kvm_vcpu_ioctl_interrupt()
/OK3568_Linux_fs/kernel/arch/s390/hypfs/
H A Dhypfs_vm.c37 __u32 vcpus; member
149 ATTRIBUTE(cpus_dir, "count", data->vcpus); in hypfs_vm_create_guest()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/
H A Dkvm_util_internal.h44 struct list_head vcpus; member
H A 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()
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dperf-kvm.txt104 analyze events which occur on this vcpu. (default: all vcpus)
138 analyze events which occur on this vcpu. (default: all vcpus)
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/devices/
H A Darm-vgic-its.rst128 a) restore all guest memory and create vcpus
139 Then vcpus can be started.
H A Dvcpu.rst40 all vcpus, while as an SPI it must be a separate number per vcpu.
H A Dvm.rst99 :Returns: -EBUSY in case 1 or more vcpus are already activated (only in write case);
/OK3568_Linux_fs/kernel/Documentation/virt/
H A Dguest-halt-polling.rst6 the guest vcpus to poll for a specified amount of time before
/OK3568_Linux_fs/kernel/arch/arm64/kvm/
H A Darm.c178 if (kvm->vcpus[i]) { in kvm_arch_destroy_vm()
179 kvm_vcpu_destroy(kvm->vcpus[i]); in kvm_arch_destroy_vm()
180 kvm->vcpus[i] = NULL; in kvm_arch_destroy_vm()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkvm_host.h452 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; member
582 return kvm->vcpus[i]; in kvm_get_vcpu()
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/
H A Dhalt-polling.rst11 vcpus of a single vcore have ceded, the host kernel polls for wakeup conditions
H A 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.
798 future vcpus to have a local APIC. IRQ routing for GSIs 0-15 is set to both
2414 .. [1] These encodings are not accepted for SVE-enabled vcpus. See
[all …]
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dkvm-s390.c2798 kvm->vcpus[i] = NULL; in kvm_free_vcpus()
4557 if (!is_vcpu_stopped(vcpu->kvm->vcpus[i])) in kvm_s390_vcpu_start()
4624 if (!is_vcpu_stopped(vcpu->kvm->vcpus[i])) { in kvm_s390_vcpu_stop()
4626 started_vcpu = vcpu->kvm->vcpus[i]; in kvm_s390_vcpu_stop()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/mm/
H A Duserfaultfd.rst204 the guest vcpus.
/OK3568_Linux_fs/kernel/virt/kvm/
H A Dkvm_main.c3221 BUG_ON(kvm->vcpus[vcpu->vcpu_idx]); in kvm_vm_ioctl_create_vcpu()
3231 kvm->vcpus[vcpu->vcpu_idx] = vcpu; in kvm_vm_ioctl_create_vcpu()
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A Dpowerpc.c484 kvm->vcpus[i] = NULL; in kvm_arch_destroy_vm()
/OK3568_Linux_fs/kernel/Documentation/sparc/oradax/
H A Ddax-hv-api.txt1284 … CCBs on all other vcpus but can expect continued rejections of all
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dx86.c10615 kvm->vcpus[i] = NULL; in kvm_free_vcpus()