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.


hooked checkpoint code up to the linux module and added user space tools
[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_START_GUEST 10
10 #define V3_STOP_GUEST 11
11 #define V3_CREATE_GUEST 12
12 #define V3_FREE_GUEST 13
13
14
15 #define V3_VM_PAUSE 23
16 #define V3_VM_CONTINUE 24
17
18 #define V3_VM_LAUNCH 25
19 #define V3_VM_STOP 26
20 #define V3_VM_LOAD 27
21 #define V3_VM_SAVE 28
22
23 #define V3_ADD_MEMORY 50
24
25 #define V3_VM_CONSOLE_CONNECT 20
26 #define V3_VM_SERIAL_CONNECT 21
27
28 #define V3_VM_MOVE_CORE 33
29
30 static const char * v3_dev = "/dev/v3vee";
31
32 struct v3_guest_img {
33     unsigned long long size;
34     void * guest_data;
35     char name[128];
36 } __attribute__((packed));
37
38
39 struct v3_mem_region {
40     unsigned long long base_addr;
41     unsigned long long num_pages;
42 } __attribute__((packed));
43
44
45 struct v3_core_move_cmd{
46     unsigned short vcore_id;
47     unsigned short pcore_id;
48 } __attribute__((packed));
49
50
51 struct v3_chkpt_info {
52     char store[128];
53     char url[256]; /* This might need to be bigger... */
54 } __attribute__((packed));
55
56 #endif