aboutsummaryrefslogtreecommitdiff
path: root/lib/test_vmalloc.c
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2023-04-07 15:36:57 +0200
committerMichael S. Tsirkin <mst@redhat.com>2023-04-21 03:02:35 -0400
commit112f23cd72a2975e11986d73575e2c3651ea4c7e (patch)
treea4468732b77987ec9bb864516d7e98c3b804f4ef /lib/test_vmalloc.c
parent5b250fac7c76b670dd1b28b67f1a91a1907bc117 (diff)
downloadlinux-112f23cd72a2975e11986d73575e2c3651ea4c7e.tar.gz
linux-112f23cd72a2975e11986d73575e2c3651ea4c7e.tar.bz2
linux-112f23cd72a2975e11986d73575e2c3651ea4c7e.zip
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 'lib/test_vmalloc.c')
0 files changed, 0 insertions, 0 deletions