Bug 1172583
Summary: | [Power KVM] Qemu monitor command don't support {"execute":"qom-get","arguments":{"path":"/machine","property":"rtc-time"}} | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Gu Nini <ngu> |
Component: | qemu-kvm-rhev | Assignee: | David Gibson <dgibson> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | bugproxy, dgibson, fnovak, knoel, mazhang, michen, mrezanin, qzhang, sherold, virt-maint, xuhan, ypu |
Target Milestone: | rc | ||
Target Release: | 7.2 | ||
Hardware: | ppc64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.2.0-8.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-04 16:23:35 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
Gu Nini
2014-12-10 12:26:17 UTC
Have done test with the the test package https://brewweb.devel.redhat.com/taskinfo?taskID=8368750, no the bug issue any more: [root@ibm-p8-virt-01 ~]# nc -U /var/lib/libvirt/qemu/rhel7.1.monitor {"QMP": {"version": {"qemu": {"micro": 2, "minor": 1, "major": 2}, "package": " (qemu-kvm-rhev-2.1.2-16.el7.test)"}, "capabilities": []}} {"execute":"qmp_capabilities"} {"return": {}} {"timestamp": {"seconds": 1418379753, "microseconds": 516943}, "event": "VSERPORT_CHANGE", "data": {"open": true, "id": "console0"}} {"execute":"qom-get","arguments":{"path":"/machine","property":"rtc-time"}} {"return": {"tm_year": 114, "tm_sec": 55, "tm_hour": 10, "tm_min": 22, "tm_mon": 11, "tm_mday": 12}} Draft patches posted upstream, see https://www.mail-archive.com/qemu-devel@nongnu.org/msg271868.html Still under discussion. The bug also exists on power system, the software versions are as follows: Host kernel: 3.10.53-2020.1.pkvm2_1_1.49.ppc64 Qemu kvm: qemu-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 qemu-debuginfo-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 qemu-common-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 qemu-kvm-tools-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 qemu-img-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 qemu-kvm-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 qemu-system-x86-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 qemu-system-ppc-2.0.0-2.1.pkvm2_1_1.20.40.ppc64 That's expected but thanks for confirming. ------- Comment From fnovak.com 2015-02-06 13:10 EDT------- reverse mirror of RHBZ 1172583 - [Power KVM] Qemu monitor command don't support {"execute":"qom-get","arguments":{"path":"/machine","property":"rtc-time"}} Fix included in qemu-kvm-rhev-2.2.0-8.el7 ------- Comment From fnovak.com 2015-06-12 16:39 EDT------- AT this point, w/o some customer impact statement, this is not planned to be fixed in the 2.1.1.x series. This is fixed in the 3.1.0.0... If there's a strong case for fixing in 2.1.1.x, please provide some justification.. Verify the bug on both ppc64be and ppc64le host with following sw versions: PPC64BE HOST: host kernel: 3.10.0-300.el7.ppc64 Guest kernel: 3.10.0-295.el7.ppc64/3.10.0-295.el7.ppc64le Qemu-kvm-rhev: qemu-kvm-rhev-2.3.0-13.el7.ppc64 PPC64LE HOST: host kernel: 3.10.0-300.el7.ppc64le Guest kernel: 3.10.0-295.el7.ppc64/3.10.0-295.el7.ppc64le Qemu-kvm-rhev: qemu-kvm-rhev-2.3.0-13.el7.ppc64le Now qmp cmd 'qom-get' could get the rtc-time correctly: [root@ibm-p8-rhevm-05 ~]# nc -U /home/spaprraw-0526-le.monitor {"QMP": {"version": {"qemu": {"micro": 0, "minor": 3, "major": 2}, "package": " (qemu-kvm-rhev-2.3.0-13.el7)"}, "capabilities": []}} {"execute":"qmp_capabilities"} {"return": {}} {"execute":"qom-get","arguments":{"path":"/machine","property":"rtc-time"}} {"return": {"tm_year": 106, "tm_sec": 29, "tm_hour": 0, "tm_min": 8, "tm_mon": 5, "tm_mday": 6}} Setting to VERIFIED according to comment 11. Hi David, I found this bug also happened on qemu-kvm-1.5.3-103.el7, do you plan fix it, if yes, I'll file a bug trace it? {"QMP": {"version": {"qemu": {"micro": 3, "minor": 5, "major": 1}, "package": " (qemu-kvm-1.5.3-103.el7)"}, "capabilities": []}} { "execute": "qmp_capabilities" } {"return": {}} {"execute":"qom-get","arguments":{"path":"/machine","property":"rtc-time"} } {"error": {"class": "GenericError", "desc": "Property '.rtc-time' not found"}} Thanks, Mazhang. Since the problem is on x86 platform, I'll file a new bug trace it, cancel this needinfo. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2546.html |