lkml.org 
[lkml]   [2006]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 34/35] Add the Xen virtual network device driver.
Date
On Tue, 9 May 2006 21:26:11 +0100
Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:

>
> On 9 May 2006, at 21:25, Stephen Hemminger wrote:
>
> >> + memcpy(netdev->dev_addr, info->mac, ETH_ALEN);
> >> + network_connect(netdev);
> >> + info->irq = bind_evtchn_to_irqhandler(
> >> + info->evtchn, netif_int, SA_SAMPLE_RANDOM,
> >> netdev->name,
> >>
> >
> > This doesn't look like a real random entropy source. packets
> > arriving from another domain are easily timed.
>
> Where should we get our entropy from in a VM environment? Leaving the
> pool empty can cause processes to hang.
>

You probably need to get entropy from dom0 and real hardware sources.
Could you piggyback on some other perodic polling/message passing to
push some entropy out?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-09 22:42    [from the cache]
©2003-2011 Jasper Spaans