Searched refs:vcpus (Results 1 - 23 of 23) sorted by relevance

/linux-4.1.27/arch/s390/hypfs/
H A Dhypfs_vm.c34 __u32 vcpus; member in struct:diag2fc_data
144 ATTRIBUTE(cpus_dir, "count", data->vcpus); hpyfs_vm_create_guest()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dvmware.c117 * bootup can fail due to a marginal offset between vcpus' TSCs (though the
/linux-4.1.27/arch/x86/kernel/
H A Dpvclock.c104 * For updates: last_value = ret is not enough, since two vcpus could be pvclock_clocksource_read()
/linux-4.1.27/arch/x86/kvm/
H A Dmmu.h104 * shadow page table between all vcpus so it should be in the protection of
H A Dx86.c1274 * and the vcpus need to have matched TSCs. When that happens, kvm_track_tsc_matching()
1524 * when updating guest vcpus pvclock areas).
1724 * the rest of the vcpus to remain static. Otherwise ntp frequency
1728 * So in those cases, request a kvmclock update for all vcpus.
1730 * considerably slow guests that have a large number of vcpus.
7248 * that this runs for ALL vcpus, which is not a bug; all VCPUs should
7472 kvm->vcpus[i] = NULL;
H A Dmmu.c636 * kvm_flush_remote_tlbs() IPI to all active vcpus. walk_shadow_page_lockless_begin()
2267 * The obsolete pages can not be used on any vcpus. kvm_mmu_prepare_zap_page()
2293 * Wait for all vcpus to exit guest mode and/or lockless shadow kvm_mmu_commit_zap_page()
4680 * Notify all vcpus to reload its shadow page table kvm_mmu_invalidate_zap_all_pages()
4681 * and flush TLB. Then all vcpus will switch to new kvm_mmu_invalidate_zap_all_pages()
H A Dvmx.c7701 * Flush all vcpus' PML buffer and update logged GPAs to dirty_bitmap.
7711 * vcpus running in guest are possible to have unflushed GPAs in PML kvm_flush_pml_buffers()
7731 * querying dirty_bitmap, we only need to kick all vcpus out of guest vmx_handle_exit()
7732 * mode as if vcpus is in root mode, the PML buffer must has been vmx_handle_exit()
8463 * avoiding dealing with cases, such as enabling PML partially on vcpus vmx_create_vcpu()
/linux-4.1.27/arch/arm/kvm/
H A Darm.c81 * kvm_arm_get_running_vcpus - get the per-CPU array of currently running vcpus.
160 if (kvm->vcpus[i]) { kvm_arch_destroy_vm()
161 kvm_arch_vcpu_free(kvm->vcpus[i]); kvm_arch_destroy_vm()
162 kvm->vcpus[i] = NULL; kvm_arch_destroy_vm()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c208 * vcpus are using it at this stage. Since we create kvmppc_map_vrma()
951 * If vcpus are running then this call is racy anyway kvm_test_clear_dirty_npages()
1341 /* lock out vcpus from running while we're doing this */ kvm_htab_write()
H A Dbook3s_64_mmu.c562 /* flush this VA on all vcpus */ kvmppc_mmu_book3s_64_tlbie()
H A Dpowerpc.c445 kvm->vcpus[i] = NULL; kvm_arch_destroy_vm()
H A Dbook3s_hv.c2075 * All the vcpus in this vcore are idle, so wait for a decrementer
2076 * or external interrupt to one of the vcpus. vc->lock is held.
H A Dbook3s_hv_rmhandlers.S248 /* Got an IPI but other vcpus aren't yet exiting, must be a latecomer */
/linux-4.1.27/arch/x86/xen/
H A Dtime.c258 periodic timer because events are only delivered to running vcpus.
H A Dsmp.c579 /* Make sure other vcpus get a chance to run if they need to. */ for_each_cpu()
H A Denlighten.c1748 * in that case multiple vcpus might be online. */ for_each_online_cpu()
/linux-4.1.27/arch/s390/kvm/
H A Dkvm-s390.c1152 kvm->vcpus[i] = NULL; kvm_free_vcpus()
2249 if (!is_vcpu_stopped(vcpu->kvm->vcpus[i])) kvm_s390_vcpu_start()
2295 if (!is_vcpu_stopped(vcpu->kvm->vcpus[i])) { kvm_s390_vcpu_stop()
2297 started_vcpu = vcpu->kvm->vcpus[i]; kvm_s390_vcpu_stop()
/linux-4.1.27/include/uapi/linux/
H A Dkvm.h693 #define KVM_CAP_NR_VCPUS 9 /* returns recommended max vcpus per vm */
767 #define KVM_CAP_MAX_VCPUS 66 /* returns max vcpus per vm */
/linux-4.1.27/arch/mips/kvm/
H A Dmips.c159 kvm->vcpus[i] = NULL;
431 dvcpu = vcpu->kvm->vcpus[irq->cpu]; kvm_vcpu_ioctl_interrupt()
/linux-4.1.27/include/linux/
H A Dkvm_host.h356 struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; member in struct:kvm
417 return kvm->vcpus[i]; kvm_get_vcpu()
/linux-4.1.27/tools/perf/
H A Dbuiltin-kvm.c409 /* only process events for vcpus user cares about */ handle_kvm_event()
/linux-4.1.27/virt/kvm/
H A Dkvm_main.c2052 BUG_ON(kvm->vcpus[atomic_read(&kvm->online_vcpus)]);
2062 kvm->vcpus[atomic_read(&kvm->online_vcpus)] = vcpu;
/linux-4.1.27/virt/kvm/arm/
H A Dvgic.c1692 if (!nr_cpus) /* No vcpus? Can't be good... */ vgic_init()

Completed in 2417 milliseconds