1 #ifndef _VX_CVIRT_CMD_H
2 #define _VX_CVIRT_CMD_H
5 /* virtual host info name commands */
7 #define VCMD_set_vhi_name VC_CMD(VHOST, 1, 0)
8 #define VCMD_get_vhi_name VC_CMD(VHOST, 2, 0)
10 struct vcmd_vhi_name_v0 {
29 #include <linux/compiler.h>
31 extern int vc_set_vhi_name(struct vx_info *, void __user *);
32 extern int vc_get_vhi_name(struct vx_info *, void __user *);
34 #endif /* __KERNEL__ */
36 #define VCMD_virt_stat VC_CMD(VSTAT, 3, 0)
38 struct vcmd_virt_stat_v0 {
43 uint32_t nr_uninterruptible;
50 extern int vc_virt_stat(struct vx_info *, void __user *);
52 #endif /* __KERNEL__ */
53 #endif /* _VX_CVIRT_CMD_H */