diff --git a/src/runtime/pkg/katautils/config.go b/src/runtime/pkg/katautils/config.go index b095306e9f..5d2a655d68 100644 --- a/src/runtime/pkg/katautils/config.go +++ b/src/runtime/pkg/katautils/config.go @@ -906,77 +906,78 @@ func newQemuHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) { } return vc.HypervisorConfig{ - HypervisorPath: hypervisor, - HypervisorPathList: h.HypervisorPathList, - KernelPath: kernel, - InitrdPath: initrd, - ImagePath: image, - RootfsType: rootfsType, - FirmwarePath: firmware, - FirmwareVolumePath: firmwareVolume, - PFlash: pflashes, - MachineAccelerators: machineAccelerators, - CPUFeatures: cpuFeatures, - KernelParams: vc.DeserializeParams(vc.KernelParamFields(kernelParams)), - HypervisorMachineType: machineType, - QgsPort: h.qgsPort(), - NumVCPUsF: h.defaultVCPUs(), - DefaultMaxVCPUs: h.defaultMaxVCPUs(), - MemorySize: h.defaultMemSz(), - MemSlots: h.defaultMemSlots(), - MemOffset: h.defaultMemOffset(), - DefaultMaxMemorySize: h.defaultMaxMemSz(), - VirtioMem: h.VirtioMem, - EntropySource: h.GetEntropySource(), - EntropySourceList: h.EntropySourceList, - DefaultBridges: h.defaultBridges(), - DisableBlockDeviceUse: h.DisableBlockDeviceUse, - SharedFS: sharedFS, - VirtioFSDaemon: h.VirtioFSDaemon, - VirtioFSDaemonList: h.VirtioFSDaemonList, - VirtioFSCacheSize: h.VirtioFSCacheSize, - VirtioFSCache: h.defaultVirtioFSCache(), - VirtioFSQueueSize: h.VirtioFSQueueSize, - VirtioFSExtraArgs: h.VirtioFSExtraArgs, - MemPrealloc: h.MemPrealloc, - HugePages: h.HugePages, - IOMMU: h.IOMMU, - IOMMUPlatform: h.getIOMMUPlatform(), - FileBackedMemRootDir: h.FileBackedMemRootDir, - FileBackedMemRootList: h.FileBackedMemRootList, - Debug: h.Debug, - DisableNestingChecks: h.DisableNestingChecks, - BlockDeviceDriver: blockDriver, - BlockDeviceAIO: blockAIO, - BlockDeviceCacheSet: h.BlockDeviceCacheSet, - BlockDeviceCacheDirect: h.BlockDeviceCacheDirect, - BlockDeviceCacheNoflush: h.BlockDeviceCacheNoflush, - EnableIOThreads: h.EnableIOThreads, - Msize9p: h.msize9p(), - DisableImageNvdimm: h.DisableImageNvdimm, - HotPlugVFIO: h.hotPlugVFIO(), - ColdPlugVFIO: h.coldPlugVFIO(), - PCIeRootPort: h.pcieRootPort(), - PCIeSwitchPort: h.pcieSwitchPort(), - DisableVhostNet: h.DisableVhostNet, - EnableVhostUserStore: h.EnableVhostUserStore, - VhostUserStorePath: h.vhostUserStorePath(), - VhostUserStorePathList: h.VhostUserStorePathList, - SeccompSandbox: h.SeccompSandbox, - GuestHookPath: h.guestHookPath(), - RxRateLimiterMaxRate: rxRateLimiterMaxRate, - TxRateLimiterMaxRate: txRateLimiterMaxRate, - EnableAnnotations: h.EnableAnnotations, - GuestMemoryDumpPath: h.GuestMemoryDumpPath, - GuestMemoryDumpPaging: h.GuestMemoryDumpPaging, - ConfidentialGuest: h.ConfidentialGuest, - SevSnpGuest: h.SevSnpGuest, - GuestSwap: h.GuestSwap, - Rootless: h.Rootless, - LegacySerial: h.LegacySerial, - DisableSeLinux: h.DisableSeLinux, - DisableGuestSeLinux: h.DisableGuestSeLinux, - ExtraMonitorSocket: extraMonitorSocket, + HypervisorPath: hypervisor, + HypervisorPathList: h.HypervisorPathList, + KernelPath: kernel, + InitrdPath: initrd, + ImagePath: image, + RootfsType: rootfsType, + FirmwarePath: firmware, + FirmwareVolumePath: firmwareVolume, + PFlash: pflashes, + MachineAccelerators: machineAccelerators, + CPUFeatures: cpuFeatures, + KernelParams: vc.DeserializeParams(vc.KernelParamFields(kernelParams)), + HypervisorMachineType: machineType, + QgsPort: h.qgsPort(), + NumVCPUsF: h.defaultVCPUs(), + DefaultMaxVCPUs: h.defaultMaxVCPUs(), + MemorySize: h.defaultMemSz(), + MemSlots: h.defaultMemSlots(), + MemOffset: h.defaultMemOffset(), + DefaultMaxMemorySize: h.defaultMaxMemSz(), + VirtioMem: h.VirtioMem, + EntropySource: h.GetEntropySource(), + EntropySourceList: h.EntropySourceList, + DefaultBridges: h.defaultBridges(), + DisableBlockDeviceUse: h.DisableBlockDeviceUse, + SharedFS: sharedFS, + VirtioFSDaemon: h.VirtioFSDaemon, + VirtioFSDaemonList: h.VirtioFSDaemonList, + VirtioFSCacheSize: h.VirtioFSCacheSize, + VirtioFSCache: h.defaultVirtioFSCache(), + VirtioFSQueueSize: h.VirtioFSQueueSize, + VirtioFSExtraArgs: h.VirtioFSExtraArgs, + MemPrealloc: h.MemPrealloc, + HugePages: h.HugePages, + IOMMU: h.IOMMU, + IOMMUPlatform: h.getIOMMUPlatform(), + FileBackedMemRootDir: h.FileBackedMemRootDir, + FileBackedMemRootList: h.FileBackedMemRootList, + Debug: h.Debug, + DisableNestingChecks: h.DisableNestingChecks, + BlockDeviceDriver: blockDriver, + BlockDeviceAIO: blockAIO, + BlockDeviceCacheSet: h.BlockDeviceCacheSet, + BlockDeviceCacheDirect: h.BlockDeviceCacheDirect, + BlockDeviceCacheNoflush: h.BlockDeviceCacheNoflush, + EnableIOThreads: h.EnableIOThreads, + Msize9p: h.msize9p(), + DisableImageNvdimm: h.DisableImageNvdimm, + HotPlugVFIO: h.hotPlugVFIO(), + ColdPlugVFIO: h.coldPlugVFIO(), + PCIeRootPort: h.pcieRootPort(), + PCIeSwitchPort: h.pcieSwitchPort(), + DisableVhostNet: h.DisableVhostNet, + EnableVhostUserStore: h.EnableVhostUserStore, + VhostUserStorePath: h.vhostUserStorePath(), + VhostUserStorePathList: h.VhostUserStorePathList, + VhostUserDeviceReconnect: h.VhostUserDeviceReconnect, + SeccompSandbox: h.SeccompSandbox, + GuestHookPath: h.guestHookPath(), + RxRateLimiterMaxRate: rxRateLimiterMaxRate, + TxRateLimiterMaxRate: txRateLimiterMaxRate, + EnableAnnotations: h.EnableAnnotations, + GuestMemoryDumpPath: h.GuestMemoryDumpPath, + GuestMemoryDumpPaging: h.GuestMemoryDumpPaging, + ConfidentialGuest: h.ConfidentialGuest, + SevSnpGuest: h.SevSnpGuest, + GuestSwap: h.GuestSwap, + Rootless: h.Rootless, + LegacySerial: h.LegacySerial, + DisableSeLinux: h.DisableSeLinux, + DisableGuestSeLinux: h.DisableGuestSeLinux, + ExtraMonitorSocket: extraMonitorSocket, }, nil }