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.


Revised check for already-launched VM
[palacios.git] / palacios / src / interfaces / vmm_file.c
index c22267a..4827a95 100644 (file)
@@ -28,12 +28,18 @@ static struct v3_file_hooks * file_hooks = NULL;
 
 void V3_Init_File(struct v3_file_hooks * hooks) {
     file_hooks = hooks;
-    PrintDebug("V3 file access inited\n");
-
+    V3_Print("V3 file interface intialized\n");
     return;
 }
 
 
+int v3_mkdir(char * path, uint16_t permissions, uint8_t recursive) {
+    V3_ASSERT(file_hooks);
+    V3_ASSERT(file_hooks->mkdir);
+    
+    return file_hooks->mkdir(path, permissions, recursive);
+}
+
 v3_file_t v3_file_open(struct v3_vm_info * vm, char * path, uint8_t mode) {
     void * priv_data = NULL;
     V3_ASSERT(file_hooks);