From: Enrico Scholz Date: Wed, 21 Jan 2004 18:55:42 +0000 (+0000) Subject: updated; added VINFO commands X-Git-Tag: VERSION_0_10~858 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a69cf8cb62ab62e39f8e50c82e2ae35e32b76e;p=util-vserver.git updated; added VINFO commands git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@672 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/virtual.h b/util-vserver/lib/virtual.h index f83d18f..bac76cd 100644 --- a/util-vserver/lib/virtual.h +++ b/util-vserver/lib/virtual.h @@ -54,6 +54,8 @@ #define VC_CAT_SCHED 14 #define VC_CAT_INODE 38 +#define VC_CAT_VINFO 46 + #define VC_CAT_RLIMIT 60 #define VC_CAT_SYSTEST 61 @@ -169,5 +171,19 @@ struct vcmd_ctx_iattr_v0 { +/* vinfo commands */ + +#define VCMD_task_xid VC_CMD(VINFO, 1, 0) +#define VCMD_task_nid VC_CMD(VINFO, 2, 0) + +#define VCMD_vx_info VC_CMD(VINFO, 5, 0) +#define VCMD_nx_info VC_CMD(VINFO, 6, 0) + +struct vcmd_vx_info_v0 { + uint32_t xid; + uint32_t initpid; + /* more to come */ +}; + #endif /* _LINUX_VIRTUAL_H */