diff --git a/cli/kata-env.go b/cli/kata-env.go index 1c7fb0748d..d8a6068393 100644 --- a/cli/kata-env.go +++ b/cli/kata-env.go @@ -26,7 +26,7 @@ import ( // // XXX: Increment for every change to the output format // (meaning any change to the EnvInfo type). -const formatVersion = "1.0.23" +const formatVersion = "1.0.24" // MetaInfo stores information on the format of the output itself type MetaInfo struct { @@ -96,6 +96,7 @@ type HypervisorInfo struct { BlockDeviceDriver string EntropySource string SharedFS string + VirtioFSDaemon string Msize9p uint32 MemorySlots uint32 PCIeRootPort uint32 @@ -373,6 +374,7 @@ func getHypervisorInfo(config oci.RuntimeConfig) HypervisorInfo { MemorySlots: config.HypervisorConfig.MemSlots, EntropySource: config.HypervisorConfig.EntropySource, SharedFS: config.HypervisorConfig.SharedFS, + VirtioFSDaemon: config.HypervisorConfig.VirtioFSDaemon, HotplugVFIOOnRootBus: config.HypervisorConfig.HotplugVFIOOnRootBus, PCIeRootPort: config.HypervisorConfig.PCIeRootPort, diff --git a/cli/kata-env_test.go b/cli/kata-env_test.go index 5f030a4970..b31b6cc21c 100644 --- a/cli/kata-env_test.go +++ b/cli/kata-env_test.go @@ -333,6 +333,7 @@ func getExpectedHypervisor(config oci.RuntimeConfig) HypervisorInfo { Debug: config.HypervisorConfig.Debug, EntropySource: config.HypervisorConfig.EntropySource, SharedFS: config.HypervisorConfig.SharedFS, + VirtioFSDaemon: config.HypervisorConfig.VirtioFSDaemon, HotplugVFIOOnRootBus: config.HypervisorConfig.HotplugVFIOOnRootBus, PCIeRootPort: config.HypervisorConfig.PCIeRootPort,