aboutsummaryrefslogtreecommitdiff
path: root/scripts/xml-preprocess.py
diff options
context:
space:
mode:
authorDongwon Kim <dongwon.kim@intel.com>2023-06-21 15:27:04 -0700
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-06-27 17:08:56 +0200
commitec4d71e8f21c90033cb3c77101a434cb9ea708e9 (patch)
tree5d17fb4afa6accc1ca1aa7d919467fa18b350136 /scripts/xml-preprocess.py
parent34e29d85a7734802317c4cac9ad52b10d461c1dc (diff)
downloadqemu-ec4d71e8f21c90033cb3c77101a434cb9ea708e9.zip
qemu-ec4d71e8f21c90033cb3c77101a434cb9ea708e9.tar.gz
qemu-ec4d71e8f21c90033cb3c77101a434cb9ea708e9.tar.bz2
virtio-gpu-udmabuf: create udmabuf for blob even when iov_cnt == 1
There were often cases where a scanout blob sometimes has just 1 entry that is linked to many pages in it. So just checking whether iov_cnt is 1 is not enough for screening small, non-scanout blobs. Therefore adding iov_len check as well to make sure it creates an udmabuf only for a scanout blob, which is at least bigger than one page size. Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Marc-André Lureau <marcandre.lureau@redhat.com> Cc: Vivek Kasireddy <vivek.kasireddy@intel.com> Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20230621222704.29932-1-dongwon.kim@intel.com>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions