X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_mem.c;h=36d866a1c6070b08bd222ac5d619aeea9e42fbca;hp=4062f1f665440ee7bc8e299891023e3e116b7323;hb=af355c370ac80f8e19d6375cb3070213c29a92eb;hpb=9e5b4c4140241b45094c87ac15f75fead726981f diff --git a/palacios/src/palacios/vmm_mem.c b/palacios/src/palacios/vmm_mem.c index 4062f1f..36d866a 100644 --- a/palacios/src/palacios/vmm_mem.c +++ b/palacios/src/palacios/vmm_mem.c @@ -72,6 +72,10 @@ struct vmm_mem_hook * get_mem_hook(struct guest_info * info, addr_t guest_addr) int mem_hook_dispatch(struct guest_info * info, addr_t mem_addr, pf_error_t access_info, struct vmm_mem_hook * hook) { + // emulate and then dispatch + // or dispatch and emulate + + if (access_info.write == 1) { void * src = NULL; uint_t length = 0;