[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 26/26] virtiofsd: Ask qemu to drop CAP_FSETID if client as
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH v3 26/26] virtiofsd: Ask qemu to drop CAP_FSETID if client asked for it |
Date: |
Wed, 16 Jun 2021 19:35:26 +0100 |
User-agent: |
Mutt/2.0.7 (2021-05-04) |
* Stefan Hajnoczi (stefanha@redhat.com) wrote:
> On Wed, Jun 16, 2021 at 01:36:10PM +0100, Dr. David Alan Gilbert wrote:
> > * Stefan Hajnoczi (stefanha@redhat.com) wrote:
> > > On Thu, Jun 10, 2021 at 04:29:42PM +0100, Dr. David Alan Gilbert wrote:
> > > > * Dr. David Alan Gilbert (dgilbert@redhat.com) wrote:
> > > > > * Stefan Hajnoczi (stefanha@redhat.com) wrote:
> > > > + uint64_t addr; /* In the bus address of the device */
> > >
> > > Please check the spec for preferred terminology. "bus address" isn't
> > > used in the spec, so there's probably another term for it.
> >
> > I'm not seeing anything useful in the virtio spec; it mostly talks about
> > guest physical addresses; it does say 'bus addresses' in the definition
> > of 'VIRTIO_F_ACCESS_PLATFORM' .
>
> I meant the docs/interop/vhost-user.rst spec.
I think they use the phrase 'guest address' so I've changed that to:
uint64_t guest_addr;
Elsewhere in the vhost-user.rst it says:
When the ``VIRTIO_F_IOMMU_PLATFORM`` feature has not been negotiated:
* Guest addresses map to the vhost memory region containing that guest
address.
When the ``VIRTIO_F_IOMMU_PLATFORM`` feature has been negotiated:
* Guest addresses are also called I/O virtual addresses (IOVAs). They are
translated to user addresses via the IOTLB.
> Stefan
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK