diff options
Diffstat (limited to 'hw/vhost.h')
-rw-r--r-- | hw/vhost.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/vhost.h b/hw/vhost.h index c9452f0732..d1824ec9d9 100644 --- a/hw/vhost.h +++ b/hw/vhost.h @@ -3,6 +3,7 @@ #include "hw/hw.h" #include "hw/virtio.h" +#include "memory.h" /* Generic structures common for any vhost based device. */ struct vhost_virtqueue { @@ -26,7 +27,7 @@ typedef unsigned long vhost_log_chunk_t; struct vhost_memory; struct vhost_dev { - CPUPhysMemoryClient client; + MemoryListener memory_listener; int control; struct vhost_memory *mem; struct vhost_virtqueue *vqs; |