From 8260ce8d1563503e8f6bd69127e9ec48006e498d Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Tue, 9 Jul 2024 23:30:02 -0300 Subject: [PATCH] runtime: Initialize SharedFS for remote hypervisor Sets SharedFS config to NoSharedFS for remote hypervisor in order to start the file watcher which syncs files from the host to the guest VMs. Signed-off-by: Silenio Quarti --- src/runtime/pkg/katautils/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/pkg/katautils/config.go b/src/runtime/pkg/katautils/config.go index be00f205a4..0ca94f25c1 100644 --- a/src/runtime/pkg/katautils/config.go +++ b/src/runtime/pkg/katautils/config.go @@ -1341,6 +1341,7 @@ func newRemoteHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) { RemoteHypervisorSocket: h.getRemoteHypervisorSocket(), RemoteHypervisorTimeout: h.getRemoteHypervisorTimeout(), DisableGuestSeLinux: true, // The remote hypervisor has a different guest, so Guest SELinux config doesn't work + SharedFS: config.NoSharedFS, // No valid value so avoid to append block device to list in kata_agent.appendDevices BlockDeviceDriver: "dummy",