Re: [Qemu-devel] [PATCH 1/3] vhost: fix incorrect userspace address

2012-01-09 Thread Michael S. Tsirkin
On Mon, Jan 09, 2012 at 02:04:52PM +0200, Avi Kivity wrote: > MemoryListener::region_add() gives us a slice of a MemoryRegion, not a > region. Adjust the userspace address to reflect that. > > Signed-off-by: Avi Kivity Acked-by: Michael S. Tsirkin > --- > hw/vhost.c |2 +- > 1 files cha

[Qemu-devel] [PATCH 1/3] vhost: fix incorrect userspace address

2012-01-09 Thread Avi Kivity
MemoryListener::region_add() gives us a slice of a MemoryRegion, not a region. Adjust the userspace address to reflect that. Signed-off-by: Avi Kivity --- hw/vhost.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vhost.c b/hw/vhost.c index cd56e75..541c716 100644 -