From 639e8271de7cfa5bda41aa81c397d9b5c8979240 Mon Sep 17 00:00:00 2001 From: Hui Zhu Date: Thu, 21 Mar 2019 17:13:03 +0800 Subject: [PATCH] config: Make VMCache can work with vsock After code check and test, found VMCache can work with vsock. Remove the code that prohibit them from working together. Fixes: #1400 Signed-off-by: Hui Zhu --- pkg/katautils/config.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/katautils/config.go b/pkg/katautils/config.go index a5145ec168..7d812f0662 100644 --- a/pkg/katautils/config.go +++ b/pkg/katautils/config.go @@ -940,9 +940,6 @@ func checkFactoryConfig(config oci.RuntimeConfig) error { if config.AgentType != vc.KataContainersAgent { return errors.New("VM cache just support kata agent") } - if config.HypervisorConfig.UseVSock { - return errors.New("config vsock conflicts with VM cache, please disable one of them") - } } return nil