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)
commit48245cc0708d49d1d0566b9fa617ad6c5f4c6934
treeb396fd2d1ab185aab20894570e7e84bd4f656355
parent3c6b5bfa3cf3b4057788e08482a468cc3bc00780
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