diff --git a/src/runtime/pkg/oci/utils.go b/src/runtime/pkg/oci/utils.go index c56bc298b..0e6e0d733 100644 --- a/src/runtime/pkg/oci/utils.go +++ b/src/runtime/pkg/oci/utils.go @@ -472,6 +472,12 @@ func addHypervisorConfigOverrides(ocispec specs.Spec, config *vc.SandboxConfig, config.HypervisorConfig.VhostUserStorePath = value } + if err := newAnnotationConfiguration(ocispec, vcAnnotations.EnableVhostUserStore).setBool(func(enable bool) { + config.HypervisorConfig.EnableVhostUserStore = enable + }); err != nil { + return err + } + if value, ok := ocispec.Annotations[vcAnnotations.GuestHookPath]; ok { if value != "" { config.HypervisorConfig.GuestHookPath = value