mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
runtime/katautils: PFlash should be initialized
newQemuHypervisorConfig() sets it to an empty slice. We have to set the same in the test config otherwise it is nil and reflect DeepEqual would fail. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
b2ec5a43d5
commit
190f813427
@ -172,6 +172,7 @@ func createAllRuntimeConfigFiles(dir, hypervisor string) (config testRuntimeConf
|
||||
SharedFS: sharedFS,
|
||||
VirtioFSDaemon: virtioFSdaemon,
|
||||
VirtioFSCache: defaultVirtioFSCacheMode,
|
||||
PFlash: []string{},
|
||||
SGXEPCSize: epcSize,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user