[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 2/3] tools: build qemu-vmsr-helper
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH v3 2/3] tools: build qemu-vmsr-helper |
Date: |
Mon, 29 Jan 2024 21:21:55 +0100 |
On Mon, Jan 29, 2024 at 8:54 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
> Looking again, the TID is never used after being checked. QEMU sends
> the TID, but the helper never does anything with this information
> except to check the TID belongs the PID. Why are we sending the TID ?
Doh! sched_getaffinity's first argument should be the tid. (As an
aside, sched_getaffinity does not need CAP_SYS_NICE to read the
affinity of another user's thread).
Paolo
[PATCH v3 3/3] Add support for RAPL MSRs in KVM/Qemu, Anthony Harivel, 2024/01/25