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.


remove debugging
Jack Lange [Tue, 19 Oct 2010 17:08:18 +0000 (12:08 -0500)]
palacios/src/palacios/mmu/vmm_shdw_pg_tlb_32.h
palacios/src/palacios/vmm_mem.c

index 5acac32..b3f4e43 100644 (file)
@@ -139,7 +139,7 @@ static inline int handle_shadow_pagefault_32(struct guest_info * info, addr_t fa
            uint32_t page_size = v3_get_max_page_size(info, guest_pa, PROTECTED);
            
            if (page_size == PAGE_SIZE_4MB) {
-               PrintError("using large page for fault_addr %p (gpa=%p)\n", (void *)fault_addr, (void *)guest_pa); 
+               PrintDebug("using large page for fault_addr %p (gpa=%p)\n", (void *)fault_addr, (void *)guest_pa); 
                if (handle_4MB_shadow_pagefault_pde_32(info, fault_addr, error_code, shadow_pde_access,
                                                       (pde32_4MB_t *)shadow_pde, (pde32_4MB_t *)guest_pde) == -1) {
                    PrintError("Error handling large pagefault with large page\n");
@@ -479,7 +479,7 @@ static int handle_4MB_shadow_pagefault_pde_32(struct guest_info * info,
                return -1;
            }
 
-           PrintError("shadow PA = %p\n", (void *)shadow_pa);
+           PrintDebug("shadow PA = %p\n", (void *)shadow_pa);
 
 
             large_guest_pde->vmm_info = V3_LARGE_PG; /* For invalidations */
index 2a47822..a1505c3 100644 (file)
@@ -458,9 +458,6 @@ uint32_t v3_get_max_page_size(struct guest_info * core, addr_t page_addr, v3_cpu
     addr_t pg_end = 0; 
     uint32_t page_size = PAGE_SIZE_4KB;
     struct v3_mem_region * reg = NULL;
-
-
-    PrintError("Getting max page size for addr %p\n", (void *)page_addr);
     
     switch (mode) {
         case PROTECTED:
@@ -518,8 +515,6 @@ uint32_t v3_get_max_page_size(struct guest_info * core, addr_t page_addr, v3_cpu
             return -1;
     }
 
-
-    PrintError("Returning PAGE size = %d\n", page_size);
     return page_size;
 }