From: Cornelia Huck <cohuck@redhat.com>
To: Laura Loghin <lauralg@amazon.com>, virtio-comment@lists.oasis-open.org
Cc: Laura Loghin <lauralg@amazon.com>
Subject: Re: [virtio-comment] [PATCH] virtio-vsock: add max payload size config field
Date: Wed, 06 Apr 2022 10:59:54 +0200 [thread overview]
Message-ID: <875ynmfuyd.fsf@redhat.com> (raw)
In-Reply-To: <20220404134931.28697-1-lauralg@amazon.com>
On Mon, Apr 04 2022, Laura Loghin <lauralg@amazon.com> wrote:
> Added a new field to the vsock device config space that
> is limiting the size of the packet payload. This way
> the driver is not allowed to allocate huge buffers, and
> potentially fill up the entire memory.
> Also defined a new feature bit for this, VIRTIO_VSOCK_F_SIZE_MAX,
> in order to keep backwards compatibility.
>
> Signed-off-by: Laura Loghin <lauralg@amazon.com>
> ---
> virtio-vsock.tex | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
(...)
> +\devicenormative{\subsubsection}{Device configuration layout}{Device Types / Socket Device / Device configuration layout}
> +
> +The device MUST set \field{data_max_size} to between 0 and 65536 inclusive, if
> +it offers VIRTIO_VSOCK_F_SIZE_MAX.
> +
> +The device MUST NOT modify \field{data_max_size} once it has been set.
I'm not sure this is the best way to frame this. Maybe
"The device MUST NOT change the value exposed through
\field{data_max_size}."
?
This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.
In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.
Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
next prev parent reply other threads:[~2022-04-06 8:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-04 13:49 [virtio-comment] [PATCH] virtio-vsock: add max payload size config field Laura Loghin
2022-04-06 8:59 ` Cornelia Huck [this message]
2022-04-13 10:03 ` Laura Loghin
2022-04-07 12:03 ` Stefano Garzarella
2022-04-08 9:57 ` Laura Loghin
2022-04-12 14:13 ` Stefano Garzarella
2022-04-13 10:11 ` Laura Loghin
2022-06-15 14:11 ` Stefan Hajnoczi
2022-06-23 14:27 ` Laura Loghin
2022-06-24 15:50 ` Stefan Hajnoczi
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=875ynmfuyd.fsf@redhat.com \
--to=cohuck@redhat.com \
--cc=lauralg@amazon.com \
--cc=virtio-comment@lists.oasis-open.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