Re: [RFC PATCH 34/35] Add the Xen virtual network device driver.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 9 May 2006 21:26:11 +0100
Keir Fraser <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux