summaryrefslogtreecommitdiffstats
path: root/include/linux/lguest.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2007-10-22 11:03:27 +1000
committerRusty Russell <rusty@rustcorp.com.au>2007-10-23 15:49:51 +1000
commit48245cc0708d49d1d0566b9fa617ad6c5f4c6934 (patch)
treeb396fd2d1ab185aab20894570e7e84bd4f656355 /include/linux/lguest.h
parent3c6b5bfa3cf3b4057788e08482a468cc3bc00780 (diff)
downloadop-kernel-dev-48245cc0708d49d1d0566b9fa617ad6c5f4c6934.zip
op-kernel-dev-48245cc0708d49d1d0566b9fa617ad6c5f4c6934.tar.gz
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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/lguest.h b/include/linux/lguest.h
index d4d94a1..8e959de 100644
--- a/include/linux/lguest.h
+++ b/include/linux/lguest.h
@@ -41,8 +41,6 @@ struct lguest_data
/* Fields initialized by the Host at boot: */
/* Memory not to try to access */
unsigned long reserve_mem;
- /* ID of this Guest (used by network driver to set ethernet address) */
- u16 guestid;
/* KHz for the TSC clock. */
u32 tsc_khz;
OpenPOWER on IntegriCloud