Searched refs:host_topo (Results 1 – 2 of 2) sorted by relevance
77 KVMHostTopoInfo host_topo; member
2684 for (int i = 0; i < vmsr->host_topo.maxpkgs; i++) { in kvm_msr_energy_thread()2692 * vmsr->host_topo.pkg_cpu_count[i]; in kvm_msr_energy_thread()2927 r->host_topo.maxcpus = vmsr_get_maxcpus(); in kvm_msr_energy_thread_init()2928 if (r->host_topo.maxcpus == 0) { in kvm_msr_energy_thread_init()2935 r->host_topo.maxpkgs = vmsr_get_max_physical_package(r->host_topo.maxcpus); in kvm_msr_energy_thread_init()2936 if (r->host_topo.maxpkgs == 0) { in kvm_msr_energy_thread_init()2943 r->host_topo.pkg_cpu_count = g_new0(unsigned int, r->host_topo.maxpkgs); in kvm_msr_energy_thread_init()2944 r->host_topo.maxticks = g_new0(unsigned int, r->host_topo.maxpkgs); in kvm_msr_energy_thread_init()2947 r->host_topo.maxpkgs); in kvm_msr_energy_thread_init()2948 for (int i = 0; i < r->host_topo.maxpkgs; i++) { in kvm_msr_energy_thread_init()[all …]