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.


Update host dev and keyed stream user to reflect changes in ioctl define locations
[palacios.git] / linux_module / palacios.h
index 6bb7271..4933028 100644 (file)
@@ -15,7 +15,7 @@
 
 /* VM Specific IOCTLs */
 #define V3_VM_CONSOLE_CONNECT 20
-
+#define V3_VM_STREAM_CONNECT 21
 
 #define V3_VM_PAUSE 23
 #define V3_VM_CONTINUE 24
 #define V3_VM_SIMULATE 29
 
 #define V3_VM_INSPECT 30
+#define V3_VM_DEBUG 31
 
 #define V3_VM_MOVE_CORE 33
 
-#define V3_VM_FB_INPUT (256+1)
-#define V3_VM_FB_QUERY (256+2)
+#define V3_VM_FB_INPUT 257
+#define V3_VM_FB_QUERY 258
 
-#define V3_VM_HOST_DEV_CONNECT (10244+1)
+#define V3_VM_HOST_DEV_CONNECT 10245
 
-#define V3_VM_KSTREAM_USER_CONNECT (11244+1)
+#define V3_VM_KSTREAM_USER_CONNECT 11245
 
 // KERN_EMERG    "<0>"  /* system is unusable               */
 // KERN_ALERT    "<1>"  /* action must be taken immediately */
@@ -69,7 +70,12 @@ struct v3_mem_region {
     unsigned long long num_pages;
 } __attribute__((packed));
 
-struct v3_core_move_cmd{
+struct v3_debug_cmd {
+    unsigned int core; 
+    unsigned int cmd;
+} __attribute__((packed));
+
+struct v3_core_move_cmd {
     unsigned short vcore_id;
     unsigned short pcore_id;
 } __attribute__((packed));
@@ -81,6 +87,7 @@ struct v3_chkpt_info {
 
 
 
+
 void * trace_malloc(size_t size, gfp_t flags);
 void trace_free(const void * objp);