diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2023-04-07 16:36:57 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-21 10:02:35 +0300 |
commit | 112f23cd72a2975e11986d73575e2c3651ea4c7e (patch) | |
tree | a4468732b77987ec9bb864516d7e98c3b804f4ef /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5b250fac7c76b670dd1b28b67f1a91a1907bc117 (diff) | |
download | linux-112f23cd72a2975e11986d73575e2c3651ea4c7e.tar.xz |
vdpa_sim: move buffer allocation in the devices
Currently, the vdpa_sim core does not use the buffer, but only
allocates it.
The buffer is used by devices differently, and some future devices
may not use it. So let's move all its management inside the devices.
Add a new `free` device callback called to clean up the resources
allocated by the device.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20230407133658.66339-2-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions