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.


Memory alloction bugfix for vmm_events
[palacios.git] / linux_usr / v3_ctrl.h
index a210013..929d7e6 100644 (file)
@@ -77,6 +77,12 @@ struct v3_debug_cmd {
 struct v3_chkpt_info {
     char store[128];
     char url[256]; /* This might need to be bigger... */
+    unsigned long long opts;
+#define V3_CHKPT_OPT_NONE         0
+#define V3_CHKPT_OPT_SKIP_MEM     1  // don't write memory to store
+#define V3_CHKPT_OPT_SKIP_DEVS    2  // don't write devices to store
+#define V3_CHKPT_OPT_SKIP_CORES   4  // don't write core arch ind data to store
+#define V3_CHKPT_OPT_SKIP_ARCHDEP 8  // don't write core arch dep data to store
 } __attribute__((packed));
 
 
@@ -110,6 +116,7 @@ int v3_read_file (int fd, int size, unsigned char * buf);
 int launch_vm (const char * filename);
 int stop_vm   (const char * filename);
 
+unsigned long v3_hash_buffer (unsigned char * msg, unsigned int len);
 
 /* XML-related structs */
 struct cfg_value {
@@ -130,4 +137,12 @@ struct file_info {
     char id[256];
 };
 
+struct mem_file_hdr {
+    unsigned int file_idx;
+    unsigned int file_size;
+    unsigned long long file_offset;
+    unsigned long file_hash;
+};
+
+
 #endif