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: NAvi Kivity <avi@redhat.com> Acked-by: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录