diff options
author | Vivek Kasireddy <vivek.kasireddy@intel.com> | 2021-05-26 16:14:22 -0700 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-27 12:07:37 +0200 |
commit | 70d376623121f8ce77333fc96cd0d4c0719a5a4b (patch) | |
tree | e5aecf52b45320678f64319516bde71caef95488 /blockdev.c | |
parent | e64d4b6a9bc3ba216a988276bcdc27d06fd48e59 (diff) | |
download | qemu-70d376623121f8ce77333fc96cd0d4c0719a5a4b.zip qemu-70d376623121f8ce77333fc96cd0d4c0719a5a4b.tar.gz qemu-70d376623121f8ce77333fc96cd0d4c0719a5a4b.tar.bz2 |
virtio-gpu: Refactor virtio_gpu_create_mapping_iov
Instead of passing the attach_backing object to extract nr_entries
and offset, explicitly pass these as arguments to this function.
This will be helpful when adding create_blob API.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210526231429.1045476-8-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions