Bug 446986 - Need to support 'info cpus' monitor command
Summary: Need to support 'info cpus' monitor command
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xenner
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Gerd Hoffmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: LibvirtXenner
TreeView+ depends on / blocked
 
Reported: 2008-05-16 20:30 UTC by Daniel Berrangé
Modified: 2008-05-19 10:40 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-19 10:40:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2008-05-16 20:30:46 UTC
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):
xenner-0.33

How reproducible:
Always

Steps to Reproduce:
1. Start with '-smp 3'
2. Run 'info cpus' in the monitor
3.
  
Actual results:
No cpu info

Expected results:
CPU thread info 

Additional info:

Comment 1 Gerd Hoffmann 2008-05-19 10:40:14 UTC
Fixed in 0.35.


Note You need to log in before you can comment on or make changes to this bug.