* Tao Peng (bergwolf@hyper.sh) wrote:
On Tue, Jun 4, 2019 at 7:18 AM Mahalingam, Ganesh <ganesh.mahalingam@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@lists.katacontainers.io http://lists.katacontainers.io/cgi-bin/mailman/listinfo/kata-dev -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK