mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 22:53:43 +00:00
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 <teawater@hyper.sh>
This commit is contained in:
parent
f1ef63e5c6
commit
639e8271de
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user