| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/include/ |
| H A D | perf_test_util.h | 93 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 D | vcpudispatch_stats.rst | 8 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 D | loongson_ipi.c | 123 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 D | mips.c | 177 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 D | hypfs_vm.c | 37 __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 D | kvm_util_internal.h | 44 struct list_head vcpus; member
|
| H A D | kvm_util.c | 193 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 D | perf-kvm.txt | 104 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 D | arm-vgic-its.rst | 128 a) restore all guest memory and create vcpus 139 Then vcpus can be started.
|
| H A D | vcpu.rst | 40 all vcpus, while as an SPI it must be a separate number per vcpu.
|
| H A D | vm.rst | 99 :Returns: -EBUSY in case 1 or more vcpus are already activated (only in write case);
|
| /OK3568_Linux_fs/kernel/Documentation/virt/ |
| H A D | guest-halt-polling.rst | 6 the guest vcpus to poll for a specified amount of time before
|
| /OK3568_Linux_fs/kernel/arch/arm64/kvm/ |
| H A D | arm.c | 178 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 D | kvm_host.h | 452 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 D | halt-polling.rst | 11 vcpus of a single vcore have ceded, the host kernel polls for wakeup conditions
|
| H A D | api.rst | 19 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 D | kvm-s390.c | 2798 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 D | userfaultfd.rst | 204 the guest vcpus.
|
| /OK3568_Linux_fs/kernel/virt/kvm/ |
| H A D | kvm_main.c | 3221 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 D | powerpc.c | 484 kvm->vcpus[i] = NULL; in kvm_arch_destroy_vm()
|
| /OK3568_Linux_fs/kernel/Documentation/sparc/oradax/ |
| H A D | dax-hv-api.txt | 1284 … CCBs on all other vcpus but can expect continued rejections of all
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/ |
| H A D | x86.c | 10615 kvm->vcpus[i] = NULL; in kvm_free_vcpus()
|