Bug 1119207
Summary: | [rng]qemu-kvm process still can start when specify negative value for max-bytes | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Cao <bcao> |
Component: | qemu-kvm | Assignee: | John Snow <jsnow> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.6 | CC: | areis, bsarathy, chayang, juzhang, michen, mkenneth, qzhang, rbalakri, shu, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.436.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-10-14 07:02:37 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
Mike Cao
2014-07-14 09:24:58 UTC
and upstream apparently crashes with assert(vrng->conf.max_bytes <= (9223372036854775807L)) Feel free to fix it upstream and close this as WONTFIX for RHEL6. Submitted upstream, but awaiting merge. http://lists.gnu.org/archive/html/qemu-devel/2014-07/msg02348.html Accepted upstream http://git.qemu.org/?p=qemu.git;a=commit;h=713e8a102222b6b8ca65050d13b287f5705831b0 backported and posted to rhvirt-patches. Fixing another issue upstream first before resubmitting. Fix included in qemu-kvm-0.12.1.2-2.436.el6 Reproduced on qemu-kvm-0.12.1.2-2.435.el6.x86_64: boot guest with: -device virtio-rng-pci,rng=rng0,id=device-rng0,max-bytes=-100,period=1 (qemu) info qtree bus: main-system-bus type System dev: i440FX-pcihost, id "" bus: pci.0 type PCI dev: virtio-rng-pci, id "device-rng0" dev-prop: indirect_desc = on dev-prop: event_idx = on dev-prop: rng = "rng0" dev-prop: max-bytes = 18446744073709551516 dev-prop: period = 1 bus-prop: addr = 06.0 bus-prop: romfile = <null> bus-prop: rombar = 1 bus-prop: multifunction = off class Class 00ff, addr 00:06.0, pci id 1af4:1005 (sub 1af4:0004) bar 0: i/o at 0xc100 [0xc11f] Verified on qemu-kvm-0.12.1.2-2.436.el6.x86_64: boot guest with: -device virtio-rng-pci,rng=rng0,id=device-rng0,max-bytes=-100,period=1 qemu-kvm prompts error and exits: qemu-kvm: -device virtio-rng-pci,rng=rng0,id=device-rng0,max-bytes=-100,period=1: Parameter 'max-bytes' expects a non-negative integer below 2^63 qemu-kvm: -device virtio-rng-pci,rng=rng0,id=device-rng0,max-bytes=-100,period=1: Device 'virtio-rng-pci' could not be initialized 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. http://rhn.redhat.com/errata/RHBA-2014-1490.html |