mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 22:43:05 +00:00
clh: hypervisor: Do not set 9p values for virtiofs
9p values are ignored by virtiofs, but this should be not changed on validation to allow have unit test with virtiofs config. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
6a10cd960d
commit
af5c9c2320
@ -429,7 +429,7 @@ func (conf *HypervisorConfig) valid() error {
|
||||
conf.DefaultMaxVCPUs = defaultMaxQemuVCPUs
|
||||
}
|
||||
|
||||
if conf.Msize9p == 0 {
|
||||
if conf.Msize9p == 0 && conf.SharedFS != config.VirtioFS {
|
||||
conf.Msize9p = defaultMsize9p
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user