From: Laurent Vivier <lvivier@redhat.com>
To: Edge NFV <edgenfv@gmail.com>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
Alex Williamson <alex.williamson@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [PATCH] make vfio and DAX cache work together by skipping virtio fs cache section during vfio memory region add
Date: Mon, 26 Apr 2021 15:32:22 +0200 [thread overview]
Message-ID: <027ed12c-c5ec-6e5e-64d4-831424a35285@redhat.com> (raw)
In-Reply-To: <20210426054513.132980-2-edgenfv@gmail.com>
On 26/04/2021 07:45, Edge NFV wrote:
> Signed-off-by: Edge NFV <edgenfv@gmail.com>
You must use your real name for a patch submission:
https://wiki.qemu.org/Contribute/SubmitAPatch#Patch_emails_must_include_a_Signed-off-by:_line
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches?id=f6f94e2ab1b33f0082ac22d71f66385a60d8157f#n297
And CC: maintainer of the file:
$ ./scripts/get_maintainer.pl -f hw/vfio/common.c
Alex Williamson <alex.williamson@redhat.com> (supporter:VFIO)
qemu-devel@nongnu.org (open list:All patches CC here)
If you want to submit it to qemu-trivial, don't send a separate mail, but cc: also
qemu-trivial.
Thanks,
Laurent
> ---
> hw/vfio/common.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/hw/vfio/common.c b/hw/vfio/common.c
> index ae5654fcdb..83e15bf7a3 100644
> --- a/hw/vfio/common.c
> +++ b/hw/vfio/common.c
> @@ -668,6 +668,15 @@ static void vfio_listener_region_add(MemoryListener *listener,
> int128_get64(int128_sub(section->size, int128_one())));
> return;
> }
> +
> + /* Do not add virtio fs cache section */
> + if (!strcmp(memory_region_name(section->mr), "virtio-fs-cache")) {
> + trace_vfio_listener_region_add_skip(
> + section->offset_within_address_space,
> + section->offset_within_address_space +
> + int128_get64(int128_sub(section->size, int128_one())));
> + return;
> + }
>
> if (unlikely((section->offset_within_address_space &
> ~qemu_real_host_page_mask) !=
>
prev parent reply other threads:[~2021-04-26 13:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 5:45 [PATCH] make vfio and DAX cache work together Edge NFV
2021-04-26 5:45 ` [PATCH] make vfio and DAX cache work together by skipping virtio fs cache section during vfio memory region add Edge NFV
2021-04-26 13:18 ` no-reply
2021-04-26 13:32 ` Laurent Vivier [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=027ed12c-c5ec-6e5e-64d4-831424a35285@redhat.com \
--to=lvivier@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=edgenfv@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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).