qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: Victor Kaplansky <victork@redhat.com>, QEMU <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] vhost-user: modify SET_LOG_BASE to pass mmap size and offset
Date: Thu, 12 Nov 2015 13:57:04 +0200	[thread overview]
Message-ID: <20151112135643-mutt-send-email-mst@redhat.com> (raw)
In-Reply-To: <CAJ+F1CLyoNkT1z6_=SCiC_QyKVXgUJKMr4GKzEW4gq-dwKCH7A@mail.gmail.com>

On Wed, Nov 11, 2015 at 04:33:05PM +0100, Marc-André Lureau wrote:
> Hi
> 
> On Wed, Nov 11, 2015 at 3:26 PM, Victor Kaplansky <victork@redhat.com> wrote:
> >
> > -      Sets the logging base address.
> > +      Sets logging shared memory space.
> > +      When slave has VHOST_USER_PROTOCOL_F_LOG_SHMFD protocol
> > +      feature, the log memory fd is provided in the ancillary data of
> > +      VHOST_USER_SET_LOG_BASE message, the size and offset of shared
> > +      memory area provided in the message.
> 
> I think this extra payload needs a better description, in payload
> description above. Something like
> 
>  * A pair of 64-bit integers
>    -------------
>    | u64 | u64 |
>    -------------
> 
>    u64: a 64-bit unsigned integer
> 
> "the size and offset of shared memory area provided in the message as
> a pair of 64-bit integers."

Sounds good. I've queued this one up, pls tweak docs
with patches on top.

> -- 
> Marc-André Lureau

      reply	other threads:[~2015-11-12 11:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 14:26 [Qemu-devel] [PATCH] vhost-user: modify SET_LOG_BASE to pass mmap size and offset Victor Kaplansky
2015-11-11 14:32 ` Marc-André Lureau
2015-11-11 15:17   ` Michael S. Tsirkin
2015-11-11 15:23     ` Marc-André Lureau
2015-11-11 15:24       ` Michael S. Tsirkin
2015-11-11 15:33 ` Marc-André Lureau
2015-11-12 11:57   ` Michael S. Tsirkin [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=20151112135643-mutt-send-email-mst@redhat.com \
    --to=mst@redhat.com \
    --cc=marcandre.lureau@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=victork@redhat.com \
    /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).