mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 20:09:44 +00:00
runtime: remove SharedVersions field dead code
SharedVersion fiel add a versiontable property that isn't supported by upstream QEMU. This is dead code since virtcontainers isn't setting SharedVersions to true. Fixes: #7720 Signed-off-by: Kvlil <kalil.pelissier@gmail.com>
This commit is contained in:
parent
bb1ada1a8b
commit
a4b208a712
@ -1359,7 +1359,6 @@ type VhostUserDevice struct {
|
|||||||
Tag string //virtio-fs volume id for mounting inside guest
|
Tag string //virtio-fs volume id for mounting inside guest
|
||||||
CacheSize uint32 //virtio-fs DAX cache size in MiB
|
CacheSize uint32 //virtio-fs DAX cache size in MiB
|
||||||
QueueSize uint32 //size of virtqueues
|
QueueSize uint32 //size of virtqueues
|
||||||
SharedVersions bool //enable virtio-fs shared version metadata
|
|
||||||
VhostUserType DeviceDriver
|
VhostUserType DeviceDriver
|
||||||
|
|
||||||
// ROMFile specifies the ROM file being used for this device.
|
// ROMFile specifies the ROM file being used for this device.
|
||||||
@ -1534,9 +1533,6 @@ func (vhostuserDev VhostUserDevice) QemuFSParams(config *Config) []string {
|
|||||||
if vhostuserDev.CacheSize != 0 {
|
if vhostuserDev.CacheSize != 0 {
|
||||||
deviceParams = append(deviceParams, fmt.Sprintf("cache-size=%dM", vhostuserDev.CacheSize))
|
deviceParams = append(deviceParams, fmt.Sprintf("cache-size=%dM", vhostuserDev.CacheSize))
|
||||||
}
|
}
|
||||||
if vhostuserDev.SharedVersions {
|
|
||||||
deviceParams = append(deviceParams, "versiontable=/dev/shm/fuse_shared_versions")
|
|
||||||
}
|
|
||||||
if vhostuserDev.Transport.isVirtioCCW(config) {
|
if vhostuserDev.Transport.isVirtioCCW(config) {
|
||||||
if config.Knobs.IOMMUPlatform {
|
if config.Knobs.IOMMUPlatform {
|
||||||
deviceParams = append(deviceParams, "iommu_platform=on")
|
deviceParams = append(deviceParams, "iommu_platform=on")
|
||||||
|
Loading…
Reference in New Issue
Block a user