[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] scripts: qmp: Introduce vcpu pinning helper scrip
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [RFC] scripts: qmp: Introduce vcpu pinning helper script |
Date: |
Thu, 29 Sep 2016 15:22:08 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Thu, Sep 29, 2016 at 08:50:51AM +0200, Maxime Coquelin wrote:
[...]
> >Nit: for TCG, looks like we are using a single thread for all vCPUs.
> >In that case, I'd suggest we make sure KVM is enabled before running
> >this script, otherwise raise error (It won't make sense we pin the
> >same TID for lots of times). I believe that's a prerequisite for this
> >one.
>
> In the script, we could check that vCPUs TIDs are different.
> Checking for TCG or KVM is not a good solution, as IIUC, multi-threaded
> TCG support is in the pipe?
Sounds good. :)
-- peterx