From: Enrico Scholz Date: Mon, 2 Feb 2004 18:58:31 +0000 (+0000) Subject: added VHOST support X-Git-Tag: VERSION_0_10~806 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=561ef83011ccbe945f7214a218d4863b127a4e35;p=util-vserver.git added VHOST support git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@739 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/virtual.h b/util-vserver/lib/virtual.h index 2381db7..d40b922 100644 --- a/util-vserver/lib/virtual.h +++ b/util-vserver/lib/virtual.h @@ -48,7 +48,8 @@ */ #define VC_CAT_VERSION 0 - +#define VC_CAT_VHOST 2 + #define VC_CAT_PROCTRL 12 #define VC_CAT_SCHED 14 @@ -185,4 +186,23 @@ struct vcmd_vx_info_v0 { }; +#define VCMD_vx_set_vhi_name VC_CMD(VHOST, 1, 0) +#define VCMD_vx_get_vhi_name VC_CMD(VHOST, 2, 0) + +struct vcmd_vx_vhi_name_v0 { + uint32_t field; + char name[65]; +}; + +enum vx_vhi_name_field { + VHIN_CONTEXT=0, + VHIN_SYSNAME, + VHIN_NODENAME, + VHIN_RELEASE, + VHIN_VERSION, + VHIN_MACHINE, + VHIN_DOMAINNAME, +}; + + #endif /* _LINUX_VIRTUAL_H */