Bug 1432295
Summary: | Add gpa2hpa command to qemu hmp | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Guo, Zhiyi <zhguo> | ||||
Component: | qemu-kvm-rhev | Assignee: | Paolo Bonzini <pbonzini> | ||||
Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chayang> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.4 | CC: | chayang, juzhang, michen, pbonzini, plai, virt-maint, yuhuang, zhguo | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-kvm-rhev-2.9.0-2.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-08-02 03:39:56 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1335351 | ||||||
Attachments: |
|
Description
Guo, Zhiyi
2017-03-15 02:22:31 UTC
Fix included in qemu-kvm-rhev-2.9.0-2.el7 *** Bug 1450130 has been marked as a duplicate of this bug. *** Test against qemu-kvm-rhev-2.9.0-9.el7.x86_64, I can see gpa2hpa command in hmp. And use gpa2hpa following the way in https://bugzilla.redhat.com/attachment.cgi?id=1262511(this is attached to bug 1402102), I can pass the test steps written by Haozhong from intel. steps: 1. run vtop to get guest address: # ./vtop gva=0x0x7f4082f58000 gpa=0xa9260000 2. Translate address using gpa2hpa: (qemu) gpa2hpa 0xa9260000 Host physical address for 0xa9260000 (pc.ram) is 0x123ffb000 3. In guest, write this address to SRAO and pass it to mce-inject. echo "ADDR 0x123ffb000" >> SRAO mce-inject < SRAO 4. Check key information from lmce log: # cat /var/log/mcelog | grep SRAO SRAO # cat /var/log/mcelog | grep 123ffb000 MISC 8c ADDR 123ffb000 # cat /var/log/mcelog | grep LMCE # Above test match the expect result from https://bugzilla.redhat.com/attachment.cgi?id=1262511 Per robert's result in Bug 1402104 - [Intel 7.4 FEAT] KVM local MCE enabling - qemu, intel confirm 1402104 is passed, so gpa2hpa is worked well in intel's verification. So mark the bug verified. 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://access.redhat.com/errata/RHSA-2017:2392 |