Red Hat Bugzilla – Bug 446986
Need to support 'info cpus' monitor command
Last modified: 2008-05-19 06:40:14 EDT
Description of problem:
Libvirt is getting support for setting VCPU affinity of QEMU/KVM guests. The
'info cpus' monitor command is used to determine the VCPU -> Thread ID mapping.
For a guest with 3 virtual CPUs, it would show
(qemu) info cpus
* CPU #0: pc=0x00000000000ffff0 thread_id=19575
CPU #1: pc=0x00000000fffffff0 thread_id=19576
CPU #2: pc=0x00000000fffffff0 thread_id=19577
where, thread_id is the host PID of the thread associated with the VCPU
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start with '-smp 3'
2. Run 'info cpus' in the monitor
No cpu info
CPU thread info
Fixed in 0.35.