Home
last modified time | relevance | path

Searched refs:msr_energy (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/sysemu/
H A Dkvm_int.h151 struct KVMMsrEnergy msr_energy; member
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c2585 *val = cs->kvm_state->msr_energy.msr_unit; in kvm_rdmsr_rapl_power_unit()
2597 *val = cs->kvm_state->msr_energy.msr_limit; in kvm_rdmsr_pkg_power_limit()
2609 *val = cs->kvm_state->msr_energy.msr_info; in kvm_rdmsr_pkg_power_info()
2662 struct KVMMsrEnergy *vmsr = &s->msr_energy; in kvm_msr_energy_thread()
2734 s->msr_energy.sioc); in kvm_msr_energy_thread()
2758 s->msr_energy.sioc); in kvm_msr_energy_thread()
2891 struct KVMMsrEnergy *r = &s->msr_energy; in kvm_msr_energy_thread_init()
2960 if (s->msr_energy.socket_path == NULL) { in kvm_msr_energy_thread_init()
2965 s->msr_energy.sioc = vmsr_open_socket(s->msr_energy.socket_path); in kvm_msr_energy_thread_init()
2967 if (s->msr_energy.sioc == NULL) { in kvm_msr_energy_thread_init()
[all …]
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3795 s->msr_energy.enable = value; in kvm_set_kvm_rapl()
3803 g_free(s->msr_energy.socket_path); in kvm_set_kvm_rapl_socket_path()
3804 s->msr_energy.socket_path = g_strdup(str); in kvm_set_kvm_rapl_socket_path()
3826 s->msr_energy.enable = false; in kvm_accel_instance_init()