Re: [osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-04-02 Thread Fotis Xenakis
Hello Matias, Thank you for chiming in, libkrun indeed seems very promising and, very importantly, pretty valuable from an end-user perspective if it becomes practical! To my eyes, virtio-fs makes most sense in such setups: it's kind of the equivalent of bind mounts in Docker terminology. On a

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-04-02 Thread Fotis Xenakis
Thank you for taking the time to try it out Waldek! It would be somewhat surprising if DAX worked on ARM, at least given the devs are not focused on it. Not really sure what the current difference to stable QEMU is, apart from DAX, which would also justify the non-DAX version not working. BTW,

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-04-01 Thread Waldek Kozaczuk
The intel version of DAX works fine. The ARM not, I get this using this qemu (which seems like a year old) - https://gitlab.com/virtio-fs/qemu/-/tree/virtio-fs-dev: sudo

Re: [osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-31 Thread Matias Vara
Hello, I think it may be interesting to have a look at libkrun ( https://github.com/containers/libkrun). As far I know, it supports virtio-fs. Matias On Wed, 31 Mar 2021 at 16:55, Fotis Xenakis wrote: > On Tuesday, March 30, 2021 at 9:23:24 PM UTC+3 jwkoz...@gmail.com wrote: > >> Fotis, >> >>

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-31 Thread Waldek Kozaczuk
Sorry. I missed it. Let me build that specific version of QEMU with DAX support and test. I will also try it on ARM to see if it works. On Wednesday, March 31, 2021 at 10:56:27 AM UTC-4 Fotis Xenakis wrote: > On Saturday, March 13, 2021 at 8:58:57 PM UTC+2 Fotis Xenakis wrote: > >> On Saturday,

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-31 Thread Fotis Xenakis
On Saturday, March 13, 2021 at 8:58:57 PM UTC+2 Fotis Xenakis wrote: > On Saturday, March 13, 2021 at 6:08:29 PM UTC+2 jwkoz...@gmail.com wrote: > >> Hi, >> >> The other 2 patches work fine but this one fails when I test it. What am >> I doing wrong? >> >> >> sudo

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-31 Thread Fotis Xenakis
On Tuesday, March 30, 2021 at 9:23:24 PM UTC+3 jwkoz...@gmail.com wrote: > Fotis, > > Thanks a lot! > > I have updated this page to include the information about ARM - virtio-fs > works on this arch as well which is great! > It is awesome to hear that! What would be mildly surprising is if DAX

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-30 Thread Waldek Kozaczuk
Fotis, Thanks a lot! I have updated this page to include the information about ARM - virtio-fs works on this arch as well which is great! The virtio-fs support is probably the single most exciting new feature added to OSv in the last couple of years! I am not aware of any other unikernel

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-26 Thread Fotis Xenakis
Update: the wiki page is here: https://github.com/cloudius-systems/osv/wiki/virtio-fs All questions/feedback and of course contributions welcome! On Saturday, March 13, 2021 at 9:04:03 PM UTC+2 Fotis Xenakis wrote: > You are absolutely right, some proper guide and documentation is > necessary,

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-13 Thread Fotis Xenakis
On Saturday, March 13, 2021 at 6:53:28 PM UTC+2 jwkoz...@gmail.com wrote: > BTW is DAX enabled by default or you have to explicitly enable it? > If the --virtio-fs-dax option to run.py is not specified, the DAX window is disabled, so you have to explicitly enable it (trying to be backwards

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-13 Thread Fotis Xenakis
On Saturday, March 13, 2021 at 6:08:29 PM UTC+2 jwkoz...@gmail.com wrote: > Hi, > > The other 2 patches work fine but this one fails when I test it. What am I > doing wrong? > > > sudo PATH=build/downloaded_packages/qemu/build/tools/virtiofsd:$PATH > ./scripts/run.py --virtio-fs-tag=myfs

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-13 Thread Waldek Kozaczuk
BTW is DAX enabled by default or you have to explicitly enable it? On Saturday, March 13, 2021 at 11:29:28 AM UTC-5 Waldek Kozaczuk wrote: > Hey, > > I have applied 3 of your patches. > > As I was doing and testing it I realized we do not have any Wiki page that > describes how to use

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-13 Thread Waldek Kozaczuk
Hey, I have applied 3 of your patches. As I was doing and testing it I realized we do not have any Wiki page that describes how to use virtio-fs with OSv. Would you have a bit of time to add a page that does so - a simple step-by-step cookbook - how to build with export and fs options, and

[osv-dev] Re: [PATCH 3/3] scripts: add virtio-fs DAX option to run.py

2021-03-13 Thread Waldek Kozaczuk
Hi, The other 2 patches work fine but this one fails when I test it. What am I doing wrong? sudo PATH=build/downloaded_packages/qemu/build/tools/virtiofsd:$PATH ./scripts/run.py --virtio-fs-tag=myfs --virtio-fs-dir=$(pwd)/build/export --qemu-path