<p dir="ltr"><br>
On Jul 16, 2013 10:20 AM, &quot;Digimer&quot; &lt;<a href="mailto:lists@alteeve.ca">lists@alteeve.ca</a>&gt; wrote:<br>
&gt;<br>
&gt; On 16/07/13 06:30, Stefano Stabellini wrote:<br>
&gt; &gt; On Mon, 15 Jul 2013, Digimer wrote:<br>
&gt; &gt;&gt; On 15/07/13 07:04, Stefano Stabellini wrote:<br>
&gt; &gt;&gt;&gt; On Sat, 13 Jul 2013, Digimer wrote:<br>
&gt; &gt;&gt;&gt;&gt; Hi all,<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;      I&#39;ve been curious about using hardware true random number generators<br>
&gt; &gt;&gt;&gt;&gt; in my VM clusters. This got me wondering about the VM&#39;s /dev/random<br>
&gt; &gt;&gt;&gt;&gt; source... If I setup a hardware TRNG on the host, would the VM&#39;s also<br>
&gt; &gt;&gt;&gt;&gt; benefit from it?<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Xen VMs would not be able to benefit from it. I don&#39;t know about KVM.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Would you be able to elaborate on why not? I know Xen and KVM differ, but this<br>
&gt; &gt;&gt; is not a topic I have seen discussed at all before, so any insight would be<br>
&gt; &gt;&gt; helpful and appreciated! :)<br>
&gt; &gt;<br>
&gt; &gt; Because we don&#39;t have a paravirtualized interface to export the<br>
&gt; &gt; randomness to the guest.<br>
&gt; &gt; It would be a nice small little project to do that though.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Ah, ok. I&#39;m an admin, not a programmer, so I am not sure what would be<br>
&gt; needed. Given how popular VMs are now, I can imagine it would be a nice<br>
&gt; feature to have. If it&#39;s a &quot;small&quot; project, then all the better! :)<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; --<br>
&gt; Digimer<br>
&gt; Papers and Projects: <a href="https://alteeve.ca/w/">https://alteeve.ca/w/</a><br>
&gt; What if the cure for cancer is trapped in the mind of a person without<br>
&gt; access to education?<br>
&gt; </p>
<p dir="ltr">There is such a thing, see <a href="https://fedoraproject.org/wiki/Features/Virtio_RNG">https://fedoraproject.org/wiki/Features/Virtio_RNG</a></p>
<p dir="ltr">--Pete</p>