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.


userspace changes to break apart VM lifecycle management
[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 #define V3_VM_PAUSE 23
14 #define V3_VM_CONTINUE 24
15
16 #define V3_VM_LAUNCH 25
17 #define V3_VM_STOP 26
18 #define V3_VM_LOAD 27
19 #define V3_VM_SAVE 28
20
21 #define V3_ADD_MEMORY 50
22
23 #define V3_VM_CONSOLE_CONNECT 20
24 #define V3_VM_SERIAL_CONNECT 21
25
26 #define V3_VM_MOVE_CORE 33
27
28 static const char * v3_dev = "/dev/v3vee";
29
30 struct v3_guest_img {
31     unsigned long long size;
32     void * guest_data;
33     char name[128];
34 } __attribute__((packed));
35
36
37 struct v3_mem_region {
38     unsigned long long base_addr;
39     unsigned long long num_pages;
40 } __attribute__((packed));
41
42
43 struct v3_core_move_cmd{
44     unsigned short vcore_id;
45     unsigned short pcore_id;
46 } __attribute__((packed));
47
48
49 struct v3_chkpt_info {
50     char store[128];
51     char url[256]; /* This might need to be bigger... */
52 } __attribute__((packed));
53
54 #endif