target/i386 patch for QEMU 9.1
The following changes since commit 3ef11c991e501768f2fa646e8438f075be1cd2f5:
po: update Italian translation (2024-08-13 19:01:42 +0200)
are available in the Git repository at:
https://gitlab.com/bonzini/qemu.git tags/for-upstream
for you to fetch changes up to a6e65975c3fac1b2f067fef8eeed92584d773f06:
target/i386: Fix arguments for vmsr_read_thread_stat() (2024-08-14 18:42:19 +0200)
Sorry, this one fell through the cracks.
----------------------------------------------------------------
* fix RAPL computations
----------------------------------------------------------------
Anthony Harivel (1):
target/i386: Fix arguments for vmsr_read_thread_stat()
target/i386/kvm/kvm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.46.0
[PULL 1/1] target/i386: Fix arguments for vmsr_read_thread_stat()
From: Anthony Harivel <[email protected]>
Snapshot of the stat utime and stime for each thread, taken before and after the pause, must be stored in separate locations
--- target/i386/kvm/kvm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
target/i386/kvm/kvm.c +4 -4
@@ -2712,8 +2712,8 @@ static void *kvm_msr_energy_thread(void *data) thd_stat[i].thread_id = thread_ids[i];vmsr_read_thread_stat (vmsr->pid, thd_stat[i].thread_id, - thd_stat[i].utime, - thd_stat[i].stime, + &thd_stat[i].utime[0 ], + &thd_stat[i].stime[0 ], &thd_stat[i].cpu_id); thd_stat[i].pkg_id =vmsr_get_physical_package_id (thd_stat[i].cpu_id);
@@ -2777,8 +2777,8 @@ static void *kvm_msr_energy_thread(void *data)for (int i =0 ; i < num_threads; i++) {vmsr_read_thread_stat (vmsr->pid, thd_stat[i].thread_id, - thd_stat[i].utime, - thd_stat[i].stime, + &thd_stat[i].utime[1 ], + &thd_stat[i].stime[1 ], &thd_stat[i].cpu_id);if (vmsr->pid <0 ) {
Signature · 1 line
2.46.0
Richard Henderson
AppliedQuoted 8 lines · Paolo Bonzini
The following changes since commit
3ef11c991e501768f2fa646e8438f075be1cd2f5:po: update Italian translation (2024-08-13 19:01:42 +0200)are available in the Git repository at:
https://gitlab.com/bonzini/qemu.git tags/for-upstream
Quoted 8 lines
for you to fetch changes up to
a6e65975c3fac1b2f067fef8eeed92584d773f06:target/i386: Fix arguments for vmsr_read_thread_stat() (2024-08-14 18:42:19 +0200)Sorry, this one fell through the cracks.
----------------------------------------------------------------
* fix RAPL computations
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.
r~