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.


debugging tweaks and minor fixes
[palacios.git] / palacios / src / palacios / vmm_shadow_paging_32.h
index 256f0de..c358c3c 100644 (file)
@@ -257,12 +257,12 @@ static int handle_pte_shadow_pagefault_32(struct guest_info * info, addr_t fault
                   (error_code.user == 0) ) ) {
                addr_t swp_pg_addr = 0;
 
-               V3_Print("Page fault on swapped out page (vaddr=%p) (pte=%x) (error_code=%x)\n", 
+               PrintDebug("Page fault on swapped out page (vaddr=%p) (pte=%x) (error_code=%x)\n", 
                         (void *)fault_addr, *(uint32_t *)guest_pte, *(uint32_t *)&error_code);
 
                swp_pg_addr = v3_get_swapped_pg_addr(info, shadow_pte, guest_pte);
 
-               V3_Print("Swapped page address=%p\n", (void *)swp_pg_addr);
+               PrintDebug("Swapped page address=%p\n", (void *)swp_pg_addr);
 
                if (swp_pg_addr != 0) {
                    shadow_pte->writable = swap_perms.write;
@@ -282,6 +282,8 @@ static int handle_pte_shadow_pagefault_32(struct guest_info * info, addr_t fault
 
                    return 0;
                }
+           } else {
+               PrintDebug("Not a sym swappable page\n");
            }
        }
 #endif