Bug 989636

Summary: [RFE] Add ability to pull system entropy from host
Product: Red Hat Enterprise Linux 7 Reporter: Hai Huang <hhuang>
Component: qemu-kvmAssignee: Amos Kong <akong>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0CC: acathrow, ailan, akong, amit.shah, areis, bcao, bsarathy, dallan, dayleparker, juzhang, kseifried, laine, lnovich, mazhang, mhomolov, michen, mkenneth, pkrempa, pspacek, qzhang, rhod, sgrubb, shu, sradvan, tburke, trichard, virt-maint
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu 1.4 Doc Type: Release Note
Doc Text:
Pulling System Entropy from Host A new device, virtio-rng, can be configured for guests, which will make entropy available to guests from the host. By default, this information is sourced from the host's /dev/random file, but hardware random number generators (RNG) available on hosts can be used as the source as well.
Story Points: ---
Clone Of: 786407 Environment:
Last Closed: 2014-06-13 12:21:49 UTC Type: ---
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: 786407, 1001770, 1001773    
Bug Blocks: 975927    

Comment 2 Amos Kong 2013-07-30 06:40:14 UTC
We already have virtio-rng support in latest qemu-kvm-rhel7.
I assume that what I need to do more is confirming it works in rhel7.

1) use assigned backend
# qemu-kvm-rhel7 -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 -vnc :0 -snapshot /images/RHEL-Server-7.0-64-virtio.qcow2 --enable-kvm

2) use default backend
# qemu-kvm-rhel7 -device virtio-rng-pci -vnc :0 -snapshot /images/RHEL-Server-7.0-64-virtio.qcow2 --enable-kvm

Comment 6 Ludek Smid 2014-06-13 12:21:49 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.