Bug 1128095
Summary: | chardev 'chr0' isn't initialized when we try to open rng backend | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zhoujunqin <juzhou> |
Component: | qemu-kvm-rhev | Assignee: | Amos Kong <akong> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | ailan, akong, amit.shah, dyuan, hhuang, huding, imammedo, juzhang, juzhou, knoel, lcapitulino, mazhang, mdeng, mihaly.arva-toth+rhzilla, mrezanin, mzhan, stefanha, tzheng, virt-maint, xfu |
Target Milestone: | rc | Flags: | imammedo:
needinfo-
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu 2.1.1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 09:49:04 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
zhoujunqin
2014-08-08 09:50:46 UTC
What's the full qemu command line? Why the bind and connect port is different? Please also upload your full xml file as attachment. A simple way to reproduce this bug: x86_64-softmmu/qemu-system-x86_64 -monitor stdio -vnc :0 \ -chardev socket,host=localhost,port=1024,id=chr0 \ -object rng-egd,chardev=chr0,id=rng0 qemu-system-x86_64: -object rng-egd,chardev=chr0,id=rng0: Device 'chr0' not found It's an upstream regression which was introduced by the following patch, it's not fixed: | commit 57d3e1b3f52d07d215ed96df946ee01f8d9f9526 | Author: Igor Mammedov <imammedo> | Date: Thu Jan 16 17:34:39 2014 +0100 | | virtio_rng: replace custom backend API with UserCreatable.complete() callback | | in addition fix default backend leak by releasing it if its | initialization failed. | | Signed-off-by: Igor Mammedov <imammedo> | Reviewed-by: Stefan Hajnoczi <stefanha> | Signed-off-by: Luiz Capitulino <lcapitulino> Fix included in qemu-kvm-1.5.3-70.el7 (In reply to Miroslav Rezanina from comment #6) > Fix included in qemu-kvm-1.5.3-70.el7 The Component is qemu-kvm-rhev, we only need it for qemu-kvm-rhev. it doesn't need for qemu-kvm-rhel7, but it's harmless. Did I mark something wrong in bug/patch? Hi Amos, you did nothing wrong. Looks like build -70.el7 was corrupted due other incorrectly submitted patches that cause inclusion of few rhev only patches to rhel build. Changing back to POST and putting patch back on queue...rhel build will be fixed with other incorrectly committed patches. Reproduced this bug on qemu-kvm-rhev-2.1.0-4.el7.x86_64. Host: qemu-img-rhev-2.1.0-4.el7.x86_64 qemu-kvm-rhev-debuginfo-2.1.0-4.el7.x86_64 qemu-kvm-common-rhev-2.1.0-4.el7.x86_64 qemu-kvm-tools-rhev-2.1.0-4.el7.x86_64 qemu-kvm-rhev-2.1.0-4.el7.x86_64 Steps: # /usr/libexec/qemu-kvm -monitor stdio -vnc :0 -chardev socket,host=10.66.11.16,port=1024,id=chr0 -object rng-egd,chardev=chr0,id=rng0 qemu-kvm: -object rng-egd,chardev=chr0,id=rng0: Device 'chr0' not found Verified this bug on qemu-kvm-rhev-2.1.2-3.el7.x86_64. Host: qemu-kvm-common-rhev-2.1.2-3.el7.x86_64 qemu-kvm-rhev-debuginfo-2.1.2-3.el7.x86_64 qemu-img-rhev-2.1.2-3.el7.x86_64 qemu-kvm-tools-rhev-2.1.2-3.el7.x86_64 qemu-kvm-rhev-2.1.2-3.el7.x86_64 # /usr/libexec/qemu-kvm -monitor stdio -vnc :0 -chardev socket,host=10.66.11.16,port=1024,id=chr0 -object rng-egd,chardev=chr0,id=rng0 QEMU 2.1.2 monitor - type 'help' for more information (qemu) Base on comment#10 set this bug verified, any problem please let me know. Thanks, Mazhang. 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/RHSA-2015-0624.html |