From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaMWD-0004cn-7Q for qemu-devel@nongnu.org; Fri, 11 Sep 2015 07:29:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaMWA-0005mx-1P for qemu-devel@nongnu.org; Fri, 11 Sep 2015 07:29:25 -0400 References: <1441963021-31423-1-git-send-email-thuth@redhat.com> From: Eric Blake Message-ID: <55F2BB05.1050809@redhat.com> Date: Fri, 11 Sep 2015 05:29:09 -0600 MIME-Version: 1.0 In-Reply-To: <1441963021-31423-1-git-send-email-thuth@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jRA1tfP8bC2eVSa2l2p4EWwRGOMxovteQ" Subject: Re: [Qemu-devel] [PATCH v3] ppc/spapr: Implement H_RANDOM hypercall in QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , qemu-ppc@nongnu.org, agraf@suse.de, david@gibson.dropbear.id.au Cc: qemu-devel@nongnu.org, kvm-ppc@vger.kernel.org, michael@ellerman.id.au, amit.shah@redhat.com, sam.bobroff@au1.ibm.com, gkurz@linux.vnet.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jRA1tfP8bC2eVSa2l2p4EWwRGOMxovteQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/11/2015 03:17 AM, Thomas Huth wrote: > The PAPR interface defines a hypercall to pass high-quality > hardware generated random numbers to guests. Recent kernels can > already provide this hypercall to the guest if the right hardware > random number generator is available. But in case the user wants > to use another source like EGD, or QEMU is running with an older > kernel, we should also have this call in QEMU, so that guests that > do not support virtio-rng yet can get good random numbers, too. >=20 > This patch now adds a new pseude-device to QEMU that either s/pseude/pseudo/ > directly provides this hypercall to the guest or is able to > enable the in-kernel hypercall if available. The in-kernel > hypercall can be enabled with the use-kvm property, e.g.: >=20 > qemu-system-ppc64 -device spapr-rng,use-kvm=3Dtrue >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --jRA1tfP8bC2eVSa2l2p4EWwRGOMxovteQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJV8rsFAAoJEKeha0olJ0Nq62EH/093ZOg+CSpVIaiajkIGnaZ7 7QObc/uiFNbas+LV2ENQHfEY5M+A+vtJRPlqKfKFLmUisDcLYl13Fab75QtPyteD 0GVcL01dWAbFjf7PlmQSRmG86Gw85cAAH4XWMzF2Sr7mFjlkUmn2g1ubIyxBqGJB KEuWAZsYD1u2MShgwqWQPrsqf58f+peUwaL48bi9UTLKOzJDlEiuNIBFD1wK/wca ELpA2aRU8nm4RpzMbDIfl6VOAGhLevauyKO6ilJrGFLm5DmxPk8Vf6c9/X+8JNNQ FI2W7gkMbUeqZ2skREUPvsbHdaF9aP8AAR7IvdkwLeR1l4ZTIpPCslf772QNadY= =2hLU -----END PGP SIGNATURE----- --jRA1tfP8bC2eVSa2l2p4EWwRGOMxovteQ--