vhost: use MemoryListener filtering to only monitor RAM address space
commit0fada67420e29f389119ca6f44285203400e0730
authorAvi Kivity <avi@redhat.com>
Sun, 30 Sep 2012 20:02:53 +0000 (30 22:02 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 15 Oct 2012 09:43:06 +0000 (15 11:43 +0200)
tree3f5b54d43d89af7bdcc4d558350aef902c574e0d
parent7762c2c1e02e44fdc473cbe75105faba08b906cc
vhost: use MemoryListener filtering to only monitor RAM address space

Instead of checking manually, let the listener filter for us.  This prepares
us for DMA address spaces.

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