diff options
author | Jay Zhou <jianjay.zhou@huawei.com> | 2018-02-27 15:10:04 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-03-01 16:25:37 +0200 |
commit | 9e2a2a3e083fec1e8059b331e3998c0849d779c1 (patch) | |
tree | b68aa570c6237e9a3fb0a96af307b977ce0396cd /util | |
parent | c8945922be9c11fc11dcbc54fadc556a893076fc (diff) |
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>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions