[Qemu-devel] [PATCH v5 3/4] vhost: fix memslot limit check

2018-01-09 Thread Jay Zhou
Since used_memslots will be updated to the actual value after registering memory listener for the first time, move the memslots limit checking to the right place. Signed-off-by: Jay Zhou --- hw/virtio/vhost.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git

Re: [Qemu-devel] [PATCH v5 3/4] vhost: fix memslot limit check

2018-01-10 Thread Igor Mammedov
On Wed, 10 Jan 2018 00:40:12 +0800 Jay Zhou wrote: > Since used_memslots will be updated to the actual value after > registering memory listener for the first time, move the > memslots limit checking to the right place. > > Signed-off-by: Jay Zhou Reviewed-by: Igor Mammedov > --- > hw/virtio