vshost-util-vserver

Build script and sources for util-vserver.
git clone https://ccx.te2000.cz/git/vshost-util-vserver
Log | Files | Refs

space_cmd.h (746B)


      1 #ifndef _VX_SPACE_CMD_H
      2 #define _VX_SPACE_CMD_H
      3 
      4 
      5 #define VCMD_enter_space_v0	VC_CMD(PROCALT, 1, 0)
      6 #define VCMD_enter_space_v1	VC_CMD(PROCALT, 1, 1)
      7 #define VCMD_enter_space	VC_CMD(PROCALT, 1, 2)
      8 
      9 /* XXX: This is not available in recent kernels */
     10 #define VCMD_cleanup_namespace	VC_CMD(PROCALT, 2, 0)
     11 
     12 #define VCMD_set_space_v0	VC_CMD(PROCALT, 3, 0)
     13 #define VCMD_set_space_v1	VC_CMD(PROCALT, 3, 1)
     14 #define VCMD_set_space		VC_CMD(PROCALT, 3, 2)
     15 
     16 #define VCMD_get_space_mask_v0	VC_CMD(PROCALT, 4, 0)
     17 
     18 #define VCMD_get_space_mask	VC_CMD(VSPACE, 0, 1)
     19 #define VCMD_get_space_default	VC_CMD(VSPACE, 1, 0)
     20 
     21 
     22 struct	vcmd_space_mask_v1 {
     23 	uint64_t mask;
     24 };
     25 
     26 struct	vcmd_space_mask_v2 {
     27 	uint64_t mask;
     28 	uint32_t index;
     29 };
     30 
     31 
     32 #endif	/* _VX_SPACE_CMD_H */