diff options
| author | Li Qiang | 2021-05-16 05:04:03 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2021-05-27 11:55:59 +0200 |
| commit | 3ea32d1355d446057c17458238db2749c52ee8f0 (patch) | |
| tree | 9165fd0daa7b6cf4dd0b84da96b2f485fb5555a4 /include/standard-headers/linux | |
| parent | vhost-user-gpu: fix OOB write in 'virgl_cmd_get_capset' (CVE-2021-3546) (diff) | |
| download | qemu-3ea32d1355d446057c17458238db2749c52ee8f0.tar.gz qemu-3ea32d1355d446057c17458238db2749c52ee8f0.tar.xz qemu-3ea32d1355d446057c17458238db2749c52ee8f0.zip | |
vhost-user-gpu: abstract vg_cleanup_mapping_iov
Currently in vhost-user-gpu, we free resource directly in
the cleanup case of resource. If we change the cleanup logic
we need to change several places, also abstruct a
'vg_create_mapping_iov' can be symmetry with the
'vg_create_mapping_iov'. This is like what virtio-gpu does,
no function changed.
Signed-off-by: Li Qiang <liq3ea@163.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210516030403.107723-9-liq3ea@163.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/standard-headers/linux')
0 files changed, 0 insertions, 0 deletions
