[libvirt] [PATCHv2 3/3] qemu: Don't skip detection of virtual cpu's on non KVM targets

Eric Blake eblake at redhat.com
Fri May 11 14:12:47 UTC 2012


On 05/11/2012 07:23 AM, Peter Krempa wrote:
> This patch lifts the limit of calling thread detection code only on KVM
> guests. With upstream qemu the thread mappings are reported also on
> non-KVM machines.
> 
> QEMU adoppted the thread_id information from the kvm branch.

s/adoppted/adopted/

> 
> To remain compatible with older upstream versions of qemu the check is
> attempted but the failure to detect threads (or even run the monitor
> command - on older versions without SMP support) is treated non-fatal
> and the code reports one vCPU with pid of the hypervisor (in same
> fashion this was done on non-KVM guests).
> ---
> Diff to v1:
> - Try to detect vCPU threads on all types of guests but
> fall back gracefully if the hypervisor doesn't support it.
> ---
>  src/qemu/qemu_process.c |   21 ++++++++-------------
>  1 files changed, 8 insertions(+), 13 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120511/e04e7e04/attachment-0001.sig>


More information about the libvir-list mailing list