]> git.baikalelectronics.ru Git - kernel.git/commit
Remove fixed limit on number of guests, and lguests array.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2007 01:03:27 +0000 (11:03 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:51 +0000 (15:49 +1000)
commitebfa4c0f19c847bcd81d517bfda3dc2f700a4ea9
treeb396fd2d1ab185aab20894570e7e84bd4f656355
parentec70d90b71d7d02da9f1b5464eb73ec80d955fd4
Remove fixed limit on number of guests, and lguests array.

Back when we had all the Guest state in the switcher, we had a fixed
array of them.  This is no longer necessary.

If we switch the network code to using random_ether_addr (46 bits is
enough to avoid clashes), we can get rid of the concept of "guest id"
altogether.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/core.c
drivers/lguest/hypercalls.c
drivers/lguest/io.c
drivers/lguest/lg.h
drivers/lguest/lguest_user.c
drivers/net/lguest_net.c
include/linux/lguest.h