[kata-dev] virtio-fs + VM Templating
Dr. David Alan Gilbert
dgilbert at redhat.com
Tue Jun 4 09:52:56 UTC 2019
* Tao Peng (bergwolf at hyper.sh) wrote:
> On Tue, Jun 4, 2019 at 7:18 AM Mahalingam, Ganesh
> <ganesh.mahalingam at intel.com> wrote:
> >
> > Peng, Stefan,
> > While working on enabling virtio-fs on Kata there was a small confusion on whether virtio-fs can work with VM Templating. With the current setup of kata, VM templating and virtio-fs are mutually exclusive (VM templating is enabled in qemu-lite and virtio-fs currently only with NEMU), but they will converge very soon.
> >
> > An open question we had was, would they both work with each other given that VM templating turns off memory sharing for all VMs other than the first one and virtio-fs expects guest memory be shared & file-backed for all VMs.
> Hi Stefan,
>
> What happens if we specify share=on and share=off for different memory
> file backends? Can virtio-fs only pick up the shared one?
All vhost-user devices (including virtio-fs) need the share=on - because
that's the only way that the vhost-user process sees the writes done
by qemu or the guest. I think we need it for all of RAM.
Dave
> Thanks,
> Tao
>
> --
> Into something rich and strange.
>
> _______________________________________________
> kata-dev mailing list
> kata-dev at lists.katacontainers.io
> http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev
--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK
More information about the kata-dev
mailing list