Jay Zhou 9e2a2a3e08 vhost: fix memslot limit check
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.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-03-01 16:25:37 +02:00
..
2018-02-19 18:27:32 +01:00
2018-02-22 15:12:51 +00:00
2017-10-27 16:03:54 +02:00
2018-02-13 18:25:48 +02:00
2018-01-19 11:18:51 -02:00
2016-01-29 15:07:25 +00:00
2018-02-21 07:24:50 -05:00
2018-03-01 16:25:37 +02:00
2018-02-09 13:52:15 +01:00
2018-02-19 13:03:24 +02:00