]> git.proxmox.com Git - qemu.git/commit - hw/vhost.c
vhost: improve region filtering
authorAvi Kivity <avi@redhat.com>
Mon, 9 Jan 2012 12:01:39 +0000 (14:01 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jan 2012 12:01:39 +0000 (14:01 +0200)
commitc49450b98f7b9edd6690f34ae6ff15fe4a6131b9
tree8752c01bca5ffcdeab5cab86988a14870a8e3258
parent637f7a6a01e09bc39f7b3a24257a9cd6ea396ca0
vhost: improve region filtering

vhost memory management doesn't care about non-memory (e.g. PIO) or non-RAM
regions.  Adjust the filtering to reflect that, and move it earlier so it
applies to mem_sections too.

Signed-off-by: Avi Kivity <avi@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
hw/vhost.c