vhost: fix incorrect userspace address
MemoryListener::region_add() gives us a slice of a MemoryRegion, not a region. Adjust the userspace address to reflect that. Signed-off-by: NAvi Kivity <avi@redhat.com> Acked-by: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录