qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio
at master 31 lines 468 B view raw
1#include "qemu/osdep.h" 2#include "exec/ramlist.h" 3#include "exec/cpu-common.h" 4 5void *qemu_ram_get_host_addr(RAMBlock *rb) 6{ 7 return 0; 8} 9 10ram_addr_t qemu_ram_get_offset(RAMBlock *rb) 11{ 12 return 0; 13} 14 15ram_addr_t qemu_ram_get_used_length(RAMBlock *rb) 16{ 17 return 0; 18} 19 20void ram_block_notifier_add(RAMBlockNotifier *n) 21{ 22} 23 24void ram_block_notifier_remove(RAMBlockNotifier *n) 25{ 26} 27 28int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque) 29{ 30 return 0; 31}