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.


make v3_launch fail on ioctl error
[palacios.git] / linux_usr / v3_ctrl.h
index 0826825..97cb0fd 100644 (file)
@@ -6,12 +6,13 @@
 #ifndef _v3_ctrl_h
 #define _v3_ctrl_h
 
-#define V3_START_GUEST 10
-#define V3_STOP_GUEST 11
 #define V3_CREATE_GUEST 12
 #define V3_FREE_GUEST 13
 
 
+/* VM Specific ioctls */
+#define V3_VM_CONSOLE_CONNECT 20
+#define V3_VM_SERIAL_CONNECT 21
 #define V3_VM_PAUSE 23
 #define V3_VM_CONTINUE 24
 
 #define V3_VM_STOP 26
 #define V3_VM_LOAD 27
 #define V3_VM_SAVE 28
+#define V3_VM_SIMULATE 29
+#define V3_VM_INSPECT 30
+#define V3_VM_DEBUG 31
 
 #define V3_ADD_MEMORY 50
 
-#define V3_VM_CONSOLE_CONNECT 20
-#define V3_VM_SERIAL_CONNECT 21
-
 #define V3_VM_MOVE_CORE 33
 
+#define V3_VM_FB_INPUT 257
+#define V3_VM_FB_QUERY 258
+
+#define V3_VM_HOST_DEV_CONNECT 10245
+#define V3_VM_KSTREAM_USER_CONNECT 11245
+
+
 static const char * v3_dev = "/dev/v3vee";
 
 struct v3_guest_img {
@@ -48,6 +56,11 @@ struct v3_core_move_cmd{
 } __attribute__((packed));
 
 
+struct v3_debug_cmd {
+    unsigned int core; 
+    unsigned int cmd;
+} __attribute__((packed));
+
 struct v3_chkpt_info {
     char store[128];
     char url[256]; /* This might need to be bigger... */