From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAAp1-0005my-4r for qemu-devel@nongnu.org; Mon, 16 Nov 2009 18:17:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAAoz-0005lI-GT for qemu-devel@nongnu.org; Mon, 16 Nov 2009 18:17:22 -0500 Received: from [199.232.76.173] (port=37683 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAAoz-0005lC-C7 for qemu-devel@nongnu.org; Mon, 16 Nov 2009 18:17:21 -0500 Received: from bhuna.collabora.co.uk ([93.93.128.226]:46858) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAAoy-0001JL-Rw for qemu-devel@nongnu.org; Mon, 16 Nov 2009 18:17:21 -0500 Message-ID: <4B01DD62.6030900@collabora.co.uk> Date: Mon, 16 Nov 2009 23:16:50 +0000 From: Ian Molton MIME-Version: 1.0 Subject: Re: [Qemu-devel] virtio-rng References: <4AFB2D4D.8050208@collabora.co.uk> <4B011F38.9070500@redhat.com> <4B014584.6000001@collabora.co.uk> <4B014F2D.3040205@redhat.com> <4B0192BE.4010105@collabora.co.uk> <20091116225100.GE12063@shareable.org> In-Reply-To: <20091116225100.GE12063@shareable.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Gerd Hoffmann , qemu-devel@nongnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jamie Lokier wrote: > Ian Molton wrote: >> Heres my patch to virtio-console. The device is now specified like this: >> >> - -chardev file,path=/path/to/testfile,id=test >> - -device virtio-console-pci,chardev=test Note, I think the patch above is broken and slipped by me because I forgot to make clean - I'll doublecheck tomorrow. > It'd be nice if some options on the qemu command line (or config file) > resulted in the guest kernel getting entropy (assuming a kernel with > the appropriate support), without having to run a special > entropy-injection daemon in the guest. How, though - AFAIK linux has no drivers specifically intended to feed entropy into the kernels pool - all the hwrng drivers use a userspace tool to do so. I still intend to submit my virtio-rng driver, if thats what you mean, since it presents the data via the same routes as all the other hw rng sources. I feel this approach has value. - -Ian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJLAd1fAAoJEFIjE1w7L6YHqk4QAKSUMZ9VUJss4YWecDPS52DF Jc7sbDEDuk6bRziRqY8nYMovOzalXgbcfSR3ElhZ4lAEGAGwDP1Qa9IbLh1vf083 UgLZa6FRSWbf5A72+Jl3vLzFnzraWp7Y3m6/qX4mv+NHyBRrBGJ5RwJ7DCTeW8I0 9YScryKZiwPdH2CW+ZUj1+mdbbX/n28mJzUHByRkUgLmKHEXgjNdSRBgtM8/YTia yEO2arQC0Oq+t+r/cjy0B5HTg2Qq+mqFIr9gTIIN8xuVmEuX2mNoT5BSJwGoOWYS +tjTusCXQ/SF1FgGBmNaFddtUTLge1op1gKtGEwsX8QqYmLCo9TBhDzfVZB+U+jM m5ACEHYFCAuYQWOMsajcO78wy6q5yKFE1MJrP69EGR9wtGHNeXVsRQ0EGTqH+rs2 m66+Y0sqzvRvaYqUHSvZMNUf1FWEapkwDLYfJ87twdL1OIqOA5knBMrmZO+rF6bK RKXGeNK/sTnvL0OEXkzeeaw8Em7ykeyVJi9rO9J8XIKH6cE/XC1ab7uNyFrSIGS6 ELvhbrzJ/c5vp/mZQOaMYrj+1+2QAv+0DpF4DDpQOuiuXFR4O6vh+Tz/qjoFxgzF Dkh4ggPmbbRWjYS0XNa0p6zvlLC+cKXKnkrOnsxcbre9CQsl4fgMtoAIqApNdlmB HNoo62fsogVUHaJyJVu7 =eD2D -----END PGP SIGNATURE-----