On Thu, Jan 23, 2025 at 2:50 AM Jason Wang <jasowang@xxxxxxxxxx> wrote: > > On Wed, Jan 22, 2025 at 11:49 PM Stefan Hajnoczi <stefanha@xxxxxxxxxx> wrote: > > > > On Tue, Jan 21, 2025 at 11:33:46AM +0100, Eugenio Pérez wrote: > > > A VDUSE device that implements virtiofs device works fine just by > > > adding the device id to the whitelist. > > > > The virtiofs DAX Window feature might require extra work. It is not > > widely enabled though, so must virtiofs devices will work fine with just > > virtqueue and configuration space support. > > +1. > > The DAX Window may help to reduce the bounce buffer copying and fit > for the case where an AI application just accesses one single large > file. > > We need to consider implementing this via VDUSE. > > Thanks > > I thought DAX can only be applied in the VM case. Is it possible to apply it using virtio_vdpa? Is it possible to detect that the device is trying to use DAX so it fails the negotiation?