Bug 1039804

Summary: QMP query-cpus returns wrong value for PC
Product: Red Hat Enterprise Linux 7 Reporter: xhan
Component: qemu-kvmAssignee: Laszlo Ersek <lersek>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: acathrow, bsarathy, hhuang, juzhang, michen, mkenneth, qzhang, shuang, virt-maint, xwei, ypu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1024215 Environment:
Last Closed: 2013-12-17 17:30:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Comment 2 Ademar Reis 2013-12-12 14:39:59 UTC
The PC information is useful for low-level debug purposes. The difference between HMP and QMP is that HMP is using hex (which appears to be correct), while QMP appears to be using signed int (which appears to be wrong).

In RHEL7 we don't support direct usage of HMP/QMP (only via libvirt), but it appears to me that libvirt does expose this information.

Comment 3 Laszlo Ersek 2013-12-17 17:30:49 UTC
The clone origin has been closed as a dupe. This BZ already depends on the duplicate, so I'm turning this dependency into explicit duplicate.

*** This bug has been marked as a duplicate of bug 612816 ***

Comment 4 Laszlo Ersek 2013-12-17 17:32:15 UTC
Note that at the end of the chain of duplicates, there's bug 706887, which has been recently reassigned to libvirt.