Date: Thu, 12 Jun 2008 17:28:29 GMT From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 143380 for review Message-ID: <200806121728.m5CHSTJM084434@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143380 Change 143380 by julian@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806121728.m5CHSTJM084434>