diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-21 21:03:27 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-23 01:49:51 -0400 |
commit | 48245cc0708d49d1d0566b9fa617ad6c5f4c6934 (patch) | |
tree | b396fd2d1ab185aab20894570e7e84bd4f656355 /include/linux/lguest.h | |
parent | 3c6b5bfa3cf3b4057788e08482a468cc3bc00780 (diff) |
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>
Diffstat (limited to 'include/linux/lguest.h')
-rw-r--r-- | include/linux/lguest.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/lguest.h b/include/linux/lguest.h index d4d94a127f35..8e959deed412 100644 --- a/include/linux/lguest.h +++ b/include/linux/lguest.h | |||
@@ -41,8 +41,6 @@ struct lguest_data | |||
41 | /* Fields initialized by the Host at boot: */ | 41 | /* Fields initialized by the Host at boot: */ |
42 | /* Memory not to try to access */ | 42 | /* Memory not to try to access */ |
43 | unsigned long reserve_mem; | 43 | unsigned long reserve_mem; |
44 | /* ID of this Guest (used by network driver to set ethernet address) */ | ||
45 | u16 guestid; | ||
46 | /* KHz for the TSC clock. */ | 44 | /* KHz for the TSC clock. */ |
47 | u32 tsc_khz; | 45 | u32 tsc_khz; |
48 | 46 | ||