qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: dongwon.kim@intel.com, qemu-devel@nongnu.org
Cc: marcandre.lureau@redhat.com, berrange@redhat.com
Subject: Re: [PATCH v7 0/5] ui/console: Private QemuDmaBuf struct
Date: Fri, 19 Apr 2024 08:53:39 +0200	[thread overview]
Message-ID: <5075024e-76e9-495f-bc93-a3dc102908f3@linaro.org> (raw)
In-Reply-To: <20240418220541.931134-1-dongwon.kim@intel.com>

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).



      parent reply	other threads:[~2024-04-19  6:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-18 22:05 [PATCH v7 0/5] ui/console: Private QemuDmaBuf struct dongwon.kim
2024-04-18 22:05 ` [PATCH v7 1/5] ui/gtk: Check if fence_fd is equal to or greater than 0 dongwon.kim
2024-04-18 22:05 ` [PATCH v7 2/5] ui/console: Introduce qemu_dmabuf_get_..() helpers dongwon.kim
2024-04-18 22:05 ` [PATCH v7 3/5] ui/console: Introduce qemu_dmabuf_set_..() helpers dongwon.kim
2024-04-18 22:05 ` [PATCH v7 4/5] ui/console: Introduce qemu_dmabuf_new() and free() helpers dongwon.kim
2024-04-18 22:05 ` [PATCH v7 5/5] ui/dmabuf: New dmabuf.c and dmabuf.h for QemuDmaBuf struct and helpers dongwon.kim
2024-04-19  6:52   ` Philippe Mathieu-Daudé
2024-04-19  6:53 ` Philippe Mathieu-Daudé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5075024e-76e9-495f-bc93-a3dc102908f3@linaro.org \
    --to=philmd@linaro.org \
    --cc=berrange@redhat.com \
    --cc=dongwon.kim@intel.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).