Re: [Virtio-fs] Status of DAX for virtio-fs/virtiofsd?

2023-09-06 Thread Hao Xu
On 9/6/23 21:57, Stefan Hajnoczi wrote: On Wed, 6 Sept 2023 at 09:07, Hao Xu wrote: On 5/18/23 00:26, Stefan Hajnoczi wrote: On Wed, 17 May 2023 at 11:54, Alex Bennée wrote: Hi Alex, There were two unresolved issues: 1. How to inject SIGBUS when the guest accesses a page that's beyond the

Re: [Virtio-fs] Status of DAX for virtio-fs/virtiofsd?

2023-09-06 Thread Stefan Hajnoczi
On Wed, 6 Sept 2023 at 09:07, Hao Xu wrote: > On 5/18/23 00:26, Stefan Hajnoczi wrote: > > On Wed, 17 May 2023 at 11:54, Alex Bennée wrote: > > Hi Alex, > > There were two unresolved issues: > > > > 1. How to inject SIGBUS when the guest accesses a page that's beyond > > the end-of-file. > > Hi S

Re: [Virtio-fs] Status of DAX for virtio-fs/virtiofsd?

2023-09-06 Thread Hao Xu
On 5/18/23 00:26, Stefan Hajnoczi wrote: On Wed, 17 May 2023 at 11:54, Alex Bennée wrote: Hi Alex, There were two unresolved issues: 1. How to inject SIGBUS when the guest accesses a page that's beyond the end-of-file. Hi Stefan, Does this SIGBUS issue exist if the guest kernel can be trust

Re: Status of DAX for virtio-fs/virtiofsd?

2023-05-22 Thread Alex Bennée
Stefan Hajnoczi writes: > On Wed, 17 May 2023 at 11:54, Alex Bennée wrote: > Hi Alex, > There were two unresolved issues: > > 1. How to inject SIGBUS when the guest accesses a page that's beyond > the end-of-file. > 2. Implementing the vhost-user messages for mapping ranges of files to > the v

Re: Status of DAX for virtio-fs/virtiofsd?

2023-05-18 Thread Vivek Goyal
On Wed, May 17, 2023 at 12:26:18PM -0400, Stefan Hajnoczi wrote: > On Wed, 17 May 2023 at 11:54, Alex Bennée wrote: > Hi Alex, > There were two unresolved issues: > > 1. How to inject SIGBUS when the guest accesses a page that's beyond > the end-of-file. > 2. Implementing the vhost-user messages

Re: Status of DAX for virtio-fs/virtiofsd?

2023-05-17 Thread Stefan Hajnoczi
On Wed, 17 May 2023 at 11:54, Alex Bennée wrote: Hi Alex, There were two unresolved issues: 1. How to inject SIGBUS when the guest accesses a page that's beyond the end-of-file. 2. Implementing the vhost-user messages for mapping ranges of files to the vhost-user frontend. The harder problem is

Status of DAX for virtio-fs/virtiofsd?

2023-05-17 Thread Alex Bennée
Hi, I remember from the dim and distant past (probably a KVM Forum) that one of the touted features of virtio-fs was the ability to get memory efficiency savings by having a direct memory mapping the host pages into the guest address space. AFAICT the kernel side was merged a while ago, see 22f37