diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2022-08-11 11:36:30 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-11 11:44:57 +0300 |
commit | ac926e1b468e03818e31568f6e520390b945b038 (patch) | |
tree | ff2837dd88ebde09158b37a7b6b56c72529a2c9e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b91cf6e95b4f987d0d26def0c9cca3168d7752cb (diff) | |
download | linux-ac926e1b468e03818e31568f6e520390b945b038.tar.xz |
vdpa_sim_blk: make vdpasim_blk_check_range usable by other requests
Next patches will add handling of other requests, where will be
useful to reuse vdpasim_blk_check_range().
So let's make it more generic by adding the `max_sectors` parameter,
since different requests allow different numbers of maximum sectors.
Let's also print the messages directly in vdpasim_blk_check_range()
to avoid duplicate prints.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20220811083632.77525-3-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions