[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 0/5] ui/console: Private QemuDmaBuf struct
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v7 0/5] ui/console: Private QemuDmaBuf struct |
Date: |
Fri, 19 Apr 2024 08:53:39 +0200 |
User-agent: |
Mozilla Thunderbird |
On 19/4/24 00:05, dongwon.kim@intel.com wrote:
From: Dongwon Kim <dongwon.kim@intel.com>
This series introduces privacy enhancements to the QemuDmaBuf struct
and its contained data to bolster security. it accomplishes this by
introducing of helper functions for allocating, deallocating, and
accessing individual fields within the struct and replacing all direct
references to individual fields in the struct with methods using helpers
throughout the codebase.
This change was made based on a suggestion from Marc-André Lureau
<marcandre.lureau@redhat.com>
Dongwon Kim (5):
ui/gtk: Check if fence_fd is equal to or greater than 0
ui/console: Introduce qemu_dmabuf_get_..() helpers
ui/console: Introduce qemu_dmabuf_set_..() helpers
ui/console: Introduce qemu_dmabuf_new() and free() helpers
ui/dmabuf: New dmabuf.c and dmabuf.h for QemuDmaBuf struct and helpers
Instead of introducing then moving code, you could re-order
patches as 1, 5, 2, 3, 4 (in patch 2, introduce helper in
new dmabuf.c file and new header).
- [PATCH v7 0/5] ui/console: Private QemuDmaBuf struct, dongwon . kim, 2024/04/18
- [PATCH v7 1/5] ui/gtk: Check if fence_fd is equal to or greater than 0, dongwon . kim, 2024/04/18
- [PATCH v7 3/5] ui/console: Introduce qemu_dmabuf_set_..() helpers, dongwon . kim, 2024/04/18
- [PATCH v7 2/5] ui/console: Introduce qemu_dmabuf_get_..() helpers, dongwon . kim, 2024/04/18
- [PATCH v7 4/5] ui/console: Introduce qemu_dmabuf_new() and free() helpers, dongwon . kim, 2024/04/18
- [PATCH v7 5/5] ui/dmabuf: New dmabuf.c and dmabuf.h for QemuDmaBuf struct and helpers, dongwon . kim, 2024/04/18
- Re: [PATCH v7 0/5] ui/console: Private QemuDmaBuf struct,
Philippe Mathieu-Daudé <=