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.


added initial symbiotic swapping framework
[palacios.git] / palacios / src / palacios / vmm_shadow_paging_32.h
index f96485e..4c8922b 100644 (file)
@@ -36,7 +36,7 @@ static inline int activate_shadow_pt_32(struct guest_info * info) {
     return 0;
 }
 
-#ifdef __V3_SYMBIOTIC__
+#ifdef CONFIG_SYMBIOTIC_SWAP
 static inline int is_swapped_pte32(pte32_t * pte) {
     return (*(uint32_t *)pte != 0);
 }
@@ -229,7 +229,7 @@ static int handle_pte_shadow_pagefault_32(struct guest_info * info, addr_t fault
 
        PrintDebug("Access error injecting pf to guest (guest access error=%d) (pf error code=%d)\n", 
                   guest_pte_access, *(uint_t*)&error_code);
-#ifdef __V3_SYMBIOTIC__
+#ifdef CONFIG_SYMBIOTIC_SWAP_
        if (is_swapped_pg(guest_pte)) {
            PrintError("Page fault on swapped out page\n");