Bug 1272417
Summary: | qmp didnot distinguish the current work cpu when change the cpu in hmp | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Shuang Yu <shuyu> |
Component: | qemu-kvm-rhev | Assignee: | Markus Armbruster <armbru> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.2 | CC: | juzhang, knoel, michen, qzhang, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-26 11:01:31 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: | |
Embargoed: |
Description
Shuang Yu
2015-10-16 10:59:45 UTC
"Current CPU" is monitor-local, i.e. if you have multiple monitors, each has its own current CPU. Therefore, your actual results are expected: executing "cpus" in HMP (steps 4 and 6) affects "info cpus" in the same monitor, but not "query-cpus", because that's in a different monitor. Moreover, only HMP monitors have a current CPU. QMP command "cpu" actually does nothing, and command "query-cpus" always shows CPU #0 as current. Actually an implementation artifact that shouldn't be relied on; member "current" exists only for backward compatibility, and should be ignored. This mess is due to some confused QMP development history, and can't be changed now. Closing NOTABUG. Please don't hesitate to ask if you have further questions. |