PERFORCE change 143380 for review
Julian Elischer
julian at FreeBSD.org
Thu Jun 12 17:28:29 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=143380
Change 143380 by julian at julian_trafmon1 on 2008/06/12 17:27:45
Make it more generic
Affected files ...
.. //depot/projects/vimage-commit/src/sys/sys/vimage.h#4 integrate
Differences ...
==== //depot/projects/vimage-commit/src/sys/sys/vimage.h#4 (text+ko) ====
@@ -51,6 +51,7 @@
struct ifnet; /* XXX must go away */
#define curvnet curthread->td_vnet
+#define basevnet thread0.td_vnet
typedef int vnet_attach_fn(const void *);
typedef int vnet_detach_fn(const void *);
@@ -320,7 +321,7 @@
#define VCPU(sym) VSYM(vcpu, sym)
#define V_hostname VPROCG(hostname)
-#define G_hostname hostname /* global hostname..vimage 0*/
+#define G_hostname VSYM(basevnet, hostname) /* global hostname */
#define V_domainname VPROCG(domainname)
#if 0
#define V_morphing_symlinks VPROCG(morphing_symlinks)
More information about the p4-projects
mailing list