1 #ifndef _VX_NAMESPACE_H
2 #define _VX_NAMESPACE_H
4 #include <linux/types.h>
7 /* virtual host info names */
9 #define VCMD_vx_set_vhi_name VC_CMD(VHOST, 1, 0)
10 #define VCMD_vx_get_vhi_name VC_CMD(VHOST, 2, 0)
12 struct vcmd_vx_vhi_name_v0 {
18 enum vx_vhi_name_field {
30 extern int vc_set_vhi_name(uint32_t, void *);
31 extern int vc_get_vhi_name(uint32_t, void *);
33 #endif /* __KERNEL__ */
35 #define VCMD_enter_namespace VC_CMD(PROCALT, 1, 0)
36 #define VCMD_cleanup_namespace VC_CMD(PROCALT, 2, 0)
37 #define VCMD_set_namespace VC_CMD(PROCALT, 3, 0)
45 extern int vx_set_namespace(struct vx_info *, struct namespace *, struct fs_struct *);
47 extern int vc_enter_namespace(uint32_t, void *);
48 extern int vc_cleanup_namespace(uint32_t, void *);
49 extern int vc_set_namespace(uint32_t, void *);
51 #endif /* __KERNEL__ */
52 #endif /* _VX_NAMESPACE_H */