Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
On Power platform(P8 and P9), qemu-kvm doesn't support vmcoreinfo device.
When starting qemu process with "vmcoreinfo" device, it will fail with errors.
Version-Release number of selected component (if applicable):
Host kernel: 3.10.0-837.el7.ppc64le (Power8 Host)
qemu-kvm: qemu-kvm-rhev-2.10.0-18.el7
How reproducible: 100%
Steps to Reproduce:
1. Start qemu with "vmcoreinfo" device
Actual results:
Starting qemu fails:
QEMU 2.10.0 monitor - type 'help' for more information
(qemu) qemu-kvm: -device vmcoreinfo: 'vmcoreinfo' is not a valid device model name
Expected results: Qemu should start successfully
Additional info:
When verifying the bug 1398633 on Power platform, if not adding "vmcoreinfo" device, gdb cannot use dump-guest-memory.py.
And the error is like:
# gdb core.44472
... ...
(gdb) source /usr/share/qemu-kvm/dump-guest-memory.py
(gdb) set height 0
(gdb) dump-guest-memory /tmp/vmcore ppc64-le
guest RAM blocks:
target_start target_end host_addr message count
---------------- ---------------- ---------------- ------- -----
0000000000000000 0000000200000000 00003ffd86980000 added 1
0000200080000000 0000200080800000 00003ffd86170000 added 2
Python Exception <class 'gdb.error'> No symbol "vmcoreinfo_realize" in current context.:
Error occurred in Python command: No symbol "vmcoreinfo_realize" in current context.
(gdb)
Comment 2Marc-Andre Lureau
2018-02-01 11:00:42 UTC
(In reply to yilzhang from comment #0)
> Description of problem:
> On Power platform(P8 and P9), qemu-kvm doesn't support vmcoreinfo device.
> When starting qemu process with "vmcoreinfo" device, it will fail with
> errors.
>
>
> Version-Release number of selected component (if applicable):
> Host kernel: 3.10.0-837.el7.ppc64le (Power8 Host)
> qemu-kvm: qemu-kvm-rhev-2.10.0-18.el7
>
>
> How reproducible: 100%
>
> Steps to Reproduce:
> 1. Start qemu with "vmcoreinfo" device
>
>
> Actual results:
> Starting qemu fails:
> QEMU 2.10.0 monitor - type 'help' for more information
> (qemu) qemu-kvm: -device vmcoreinfo: 'vmcoreinfo' is not a valid device
> model name
>
>
> Expected results: Qemu should start successfully
vmcoreinfo requires fw-cfg DMA support, which isn't supported on Power. I don't know if there should be a different design for Power, and what it should be.
But since KASLR is not available on Power, we dont't have to solve this yet.
>
> Additional info:
> When verifying the bug 1398633 on Power platform, if not adding "vmcoreinfo"
> device, gdb cannot use dump-guest-memory.py.
>
> And the error is like:
> # gdb core.44472
> ... ...
> (gdb) source /usr/share/qemu-kvm/dump-guest-memory.py
> (gdb) set height 0
> (gdb) dump-guest-memory /tmp/vmcore ppc64-le
> guest RAM blocks:
> target_start target_end host_addr message count
> ---------------- ---------------- ---------------- ------- -----
> 0000000000000000 0000000200000000 00003ffd86980000 added 1
> 0000200080000000 0000200080800000 00003ffd86170000 added 2
> Python Exception <class 'gdb.error'> No symbol "vmcoreinfo_realize" in
> current context.:
> Error occurred in Python command: No symbol "vmcoreinfo_realize" in current
> context.
> (gdb)
This is a separate problem, we are treating the regression in the original bug.
Closing as upstream.
Comment 3Marc-Andre Lureau
2018-02-01 11:18:13 UTC