diff options
author | Li Qiang <liq3ea@163.com> | 2021-05-15 20:04:03 -0700 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-27 11:55:59 +0200 |
commit | 3ea32d1355d446057c17458238db2749c52ee8f0 (patch) | |
tree | 9165fd0daa7b6cf4dd0b84da96b2f485fb5555a4 /hw/display/qxl.c | |
parent | 9f22893adcb02580aee5968f32baa2cd109b3ec2 (diff) |
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 'hw/display/qxl.c')
0 files changed, 0 insertions, 0 deletions