vhost: convert to MemoryListener API
commit04097f7c5957273c578f72b9bd603ba6b1d69e33
authorAvi Kivity <avi@redhat.com>
Sun, 18 Dec 2011 12:06:05 +0000 (18 14:06 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 20 Dec 2011 12:14:07 +0000 (20 14:14 +0200)
tree51134fa9b1aee6fb9ef83392b33afafa80e0f325
parenta01672d3968cf91208666d371784110bfde9d4f8
vhost: convert to MemoryListener API

Drop the use of cpu_register_phys_memory_client() in favour of the new
MemoryListener API.  The new API simplifies the caller, since there is no
need to deal with splitting and merging slots; however this is not exploited
in this patch.

Signed-off-by: Avi Kivity <avi@redhat.com>
hw/vhost.c
hw/vhost.h