[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 0/3] Expose thread id through info cpus

From: Avi Kivity
Subject: [Qemu-devel] Re: [PATCH 0/3] Expose thread id through info cpus
Date: Thu, 06 Mar 2008 08:55:15 +0200
User-agent: Thunderbird (X11/20080226)

Glauber Costa wrote:

This patch series expose the actual thread id of each cpu via the qemu
monitor. It is done through "info cpus", which I though would be the
most natural command to do it. (If you disagree, please voice it)

Goal is to allow tools like libvirt to easily grab it and feed taskset
for thinks like cpu pinning, etc

AFAIK, qemu runs all cpus in the same process, so for plain qemu, all cpus
will show the same id. But KVM can benefit from it, by overriding this data
in its ap initialization

Of the whole series, only the last patch is kvm-specific.

Many thanks to Anthony, who pointed me that this approach was possible.

Applied all, thanks.

Do not meddle in the internals of kernels, for they are subtle and quick to 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]