All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Levon <john.levon@nutanix.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: John Levon <john.levon@nutanix.com>,
	"libvfio-user-devel@nongnu.org" <libvfio-user-devel@nongnu.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	Cornelia Huck <cohuck@redhat.com>,
	"john.g.johnson@oracle.com" <john.g.johnson@oracle.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [DRAFT RFC] ioeventfd/ioregionfd support in vfio-user
Date: Thu, 28 Jan 2021 14:38:08 +0000	[thread overview]
Message-ID: <20210128143805.GA95453@sent> (raw)
In-Reply-To: <20210126110104.GA250425@stefanha-x1.localdomain>

On Tue, Jan 26, 2021 at 11:01:04AM +0000, Stefan Hajnoczi wrote:

> > 4) (ioregionfd issue) region_id is 4 bytes, which seems a little awkward from
> > the server side: this has to encode both the region ID as well as the offset of
> > the sub-region within that region. Can this be 64 bits wide?
> 
> The user_data field in Elena's ioregionfd patches is 64 bits. Does this
> solve the problem?

I had missed this had been changed from the proposal at https://www.spinics.net/lists/kvm/msg208139.html

Thanks for pointing this out.

regards
john

WARNING: multiple messages have this Message-ID (diff)
From: John Levon <john.levon@nutanix.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: "john.g.johnson@oracle.com" <john.g.johnson@oracle.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	John Levon <john.levon@nutanix.com>,
	Cornelia Huck <cohuck@redhat.com>,
	"libvfio-user-devel@nongnu.org" <libvfio-user-devel@nongnu.org>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [DRAFT RFC] ioeventfd/ioregionfd support in vfio-user
Date: Thu, 28 Jan 2021 14:38:08 +0000	[thread overview]
Message-ID: <20210128143805.GA95453@sent> (raw)
In-Reply-To: <20210126110104.GA250425@stefanha-x1.localdomain>

On Tue, Jan 26, 2021 at 11:01:04AM +0000, Stefan Hajnoczi wrote:

> > 4) (ioregionfd issue) region_id is 4 bytes, which seems a little awkward from
> > the server side: this has to encode both the region ID as well as the offset of
> > the sub-region within that region. Can this be 64 bits wide?
> 
> The user_data field in Elena's ioregionfd patches is 64 bits. Does this
> solve the problem?

I had missed this had been changed from the proposal at https://www.spinics.net/lists/kvm/msg208139.html

Thanks for pointing this out.

regards
john

  reply	other threads:[~2021-01-28 15:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 16:09 [DRAFT RFC] ioeventfd/ioregionfd support in vfio-user John Levon
2021-01-26 11:01 ` Stefan Hajnoczi
2021-01-26 11:01   ` Stefan Hajnoczi
2021-01-28 14:38   ` John Levon [this message]
2021-01-28 14:38     ` John Levon

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=20210128143805.GA95453@sent \
    --to=john.levon@nutanix.com \
    --cc=cohuck@redhat.com \
    --cc=john.g.johnson@oracle.com \
    --cc=kvm@vger.kernel.org \
    --cc=libvfio-user-devel@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.