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.


Support for new Palacios image file format (Version 1)
[palacios.git] / linux_usr / v3_ctrl.h
index a210013..e81968c 100644 (file)
@@ -110,6 +110,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 +131,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