diff options
| author | Jay Zhou | 2018-02-27 08:10:04 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2018-03-01 15:25:37 +0100 |
| commit | 9e2a2a3e083fec1e8059b331e3998c0849d779c1 (patch) | |
| tree | b68aa570c6237e9a3fb0a96af307b977ce0396cd /scripts/switch-timer-api | |
| parent | docs: pcie: Spell out machine type needs for PCIe features (diff) | |
| download | qemu-9e2a2a3e083fec1e8059b331e3998c0849d779c1.tar.gz qemu-9e2a2a3e083fec1e8059b331e3998c0849d779c1.tar.xz qemu-9e2a2a3e083fec1e8059b331e3998c0849d779c1.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
