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
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