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 xchg support to emulator
[palacios.git] / palacios / src / palacios / vmm_mem.c
index 3a3acbf..0537006 100644 (file)
@@ -222,12 +222,12 @@ int v3_handle_mem_full_hook(struct guest_info * info, addr_t guest_va, addr_t gu
 
   if (access_info.write == 1) {
     if (v3_emulate_write_op(info, guest_va, guest_pa, op_addr, reg->write_hook, reg->priv_data) == -1) {
-      PrintError("Read Full Hook emulation faild\n");
+      PrintError("Write Full Hook emulation failed\n");
       return -1;
     }
   } else {
-    if (v3_emulate_read_op(info, guest_va, guest_pa, op_addr, reg->read_hook, reg->priv_data) == -1) {
-      PrintError("Write Full Hook emulation faild\n");
+    if (v3_emulate_read_op(info, guest_va, guest_pa, op_addr, reg->read_hook, reg->write_hook, reg->priv_data) == -1) {
+      PrintError("Read Full Hook emulation failed\n");
       return -1;
     }
   }