One more thing to take into consideration in revamping the hypercall is 
that not necessary all platforms can deliver random numbers to guests 
(e.g. Xen), except by collecting some random events and mixing and 
mashing.  For those platforms, we should just signal that getrandom() 
never returns anything, and use the in-rump-kernel rnd_add_foo() to seed 
the pool.  That way we don't need to implement the tricky entropy 
collection in the hypercall layer.

Note, lack of platform randomness can be problematic especially on 
short-lived guests, but not sure how we can produce something we don't have.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to