X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fswitch.h;h=6836c2704b959e3c86e4a8c6091d3624d40d6852;hb=17d04acb0a5885b60d12d5c782d8b1af897c22d7;hp=95eb6b420dc496aec4c0dbfa63988abe200d21fc;hpb=636875649376f36e02848dde1c1017a119b4fff4;p=util-vserver.git diff --git a/kernel/switch.h b/kernel/switch.h index 95eb6b4..6836c27 100644 --- a/kernel/switch.h +++ b/kernel/switch.h @@ -8,7 +8,7 @@ #define VC_COMMAND(c) (((c) >> 16) & 0xFF) #define VC_VERSION(c) ((c) & 0xFFF) -#define VC_CMD(c,i,v) ((((VC_CAT_ ## c) & 0x3F) << 24) \ +#define VC_CMD(c, i, v) ((((VC_CAT_ ## c) & 0x3F) << 24) \ | (((i) & 0xFF) << 16) | ((v) & 0xFFF)) /* @@ -31,7 +31,7 @@ NETWORK| |VNET |NETALT |NETMIG |NETCTL | | |SERIAL | | | 24| 25| 26| 27| 28| 29| | 30| 31| -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ - DISK | | | | |DLIMIT | | |INODE | | + DISK | | | |TAGMIG |DLIMIT | | |INODE | | VFS | 32| 33| 34| 35| 36| 37| | 38| 39| -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ OTHER |VSTAT | | | | | | |VINFO | | @@ -60,11 +60,14 @@ #define VC_CAT_SCHED 14 +#define VC_CAT_MEMCTRL 20 + #define VC_CAT_VNET 25 #define VC_CAT_NETALT 26 #define VC_CAT_NETMIG 27 #define VC_CAT_NETCTRL 28 +#define VC_CAT_TAGMIG 35 #define VC_CAT_DLIMIT 36 #define VC_CAT_INODE 38 @@ -79,11 +82,6 @@ #define VC_CAT_SYSTEST 61 #define VC_CAT_COMPAT 63 -/* interface version */ - -#define VCI_VERSION 0x00020102 -#define VCI_LEGACY_VERSION 0x000100FF - /* query version */ #define VCMD_get_version VC_CMD(VERSION, 0, 0)