Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


cleaned up ioctl linux interfaces
[palacios.git] / linux_usr / v3_ctrl.h
1 /* 
2  * V3 Control header file 
3  * (c) Jack lange, 2010
4  */
5
6 #ifndef _v3_ctrl_h
7 #define _v3_ctrl_h
8
9 #define V3_CREATE_GUEST 12
10 #define V3_FREE_GUEST 13
11
12
13 /* VM Specific ioctls */
14 #define V3_VM_CONSOLE_CONNECT 20
15 #define V3_VM_SERIAL_CONNECT 21
16 #define V3_VM_PAUSE 23
17 #define V3_VM_CONTINUE 24
18
19 #define V3_VM_LAUNCH 25
20 #define V3_VM_STOP 26
21 #define V3_VM_LOAD 27
22 #define V3_VM_SAVE 28
23 #define V3_VM_SIMULATE 29
24 #define V3_VM_INSPECT 30
25 #define V3_VM_DEBUG 31
26
27 #define V3_ADD_MEMORY 50
28
29 #define V3_VM_MOVE_CORE 33
30
31 #define V3_VM_FB_INPUT 257
32 #define V3_VM_FB_QUERY 258
33
34 #define V3_VM_HOST_DEV_CONNECT 10245
35 #define V3_VM_KSTREAM_USER_CONNECT 11245
36
37
38 static const char * v3_dev = "/dev/v3vee";
39
40 struct v3_guest_img {
41     unsigned long long size;
42     void * guest_data;
43     char name[128];
44 } __attribute__((packed));
45
46
47 struct v3_mem_region {
48     unsigned long long base_addr;
49     unsigned long long num_pages;
50 } __attribute__((packed));
51
52
53 struct v3_core_move_cmd{
54     unsigned short vcore_id;
55     unsigned short pcore_id;
56 } __attribute__((packed));
57
58
59 struct v3_chkpt_info {
60     char store[128];
61     char url[256]; /* This might need to be bigger... */
62 } __attribute__((packed));
63
64 #endif