fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / linux / vserver / switch.h
index 81f5c23..0ff8c90 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/types.h>
 
+
 #define VC_CATEGORY(c)         (((c) >> 24) & 0x3F)
 #define VC_COMMAND(c)          (((c) >> 16) & 0xFF)
 #define VC_VERSION(c)          ((c) & 0xFFF)
@@ -33,7 +34,7 @@
   DISK   |       |       |       |       |DLIMIT |       | |INODE  |       |
   VFS    |     32|     33|     34|     35|     36|     37| |     38|     39|
   -------+-------+-------+-------+-------+-------+-------+ +-------+-------+
-  OTHER  |       |       |       |       |       |       | |VINFO  |       |
+  OTHER  |VSTAT  |       |       |       |       |       | |VINFO  |       |
         |     40|     41|     42|     43|     44|     45| |     46|     47|
   =======+=======+=======+=======+=======+=======+=======+ +=======+=======+
   SPECIAL|EVENT  |       |       |       |FLAGS  |       | |       |       |
@@ -65,6 +66,7 @@
 #define VC_CAT_DLIMIT          36
 #define VC_CAT_INODE           38
 
+#define VC_CAT_VSTAT           40
 #define VC_CAT_VINFO           46
 #define VC_CAT_EVENT           48
 
 #define VC_CAT_SYSTEST         61
 #define VC_CAT_COMPAT          63
 
-/*  interface version */
-
-#define VCI_VERSION            0x00010025
-
-
 /*  query version */
 
 #define VCMD_get_version       VC_CMD(VERSION, 0, 0)
+#define VCMD_get_vci           VC_CMD(VERSION, 1, 0)
 
 
 #ifdef __KERNEL__