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.


various minor bug fixes
Jack Lange [Fri, 26 Aug 2011 19:54:58 +0000 (15:54 -0400)]
linux_module/vm.c
palacios/src/palacios/vmm_string.c
palacios/src/palacios/vmx.c

index 967ecf6..00111fc 100644 (file)
@@ -274,7 +274,7 @@ int stop_palacios_vm(struct v3_guest * guest) {
 
     cdev_del(&(guest->cdev));
 
-    kfree(guest->img);
+    vfree(guest->img);
     kfree(guest);
 
     return 0;
index 725fa17..75a8975 100644 (file)
@@ -460,10 +460,14 @@ size_t strcspn(const char * s, const char * reject) {
        for (i = 0; i < reject_len; i++) {
            if (s[cnt] == reject[i]) {
                match = 1;
-               cnt++;
                break;
            }
        }
+
+       if (!match) {
+           cnt++;
+       }
+
     }
 
     return cnt;
index 20c0c5f..e2e6d4b 100644 (file)
@@ -549,7 +549,7 @@ int v3_deinit_vmx_vmcs(struct guest_info * core) {
     struct vmx_data * vmx_state = core->vmm_data;
 
     V3_FreePages((void *)(vmx_state->vmcs_ptr_phys), 1);
-    V3_FreePages(vmx_state->msr_area, 1);
+    V3_FreePages(V3_PAddr(vmx_state->msr_area), 1);
 
     V3_Free(vmx_state);