diff --git a/src/runtime/pkg/katautils/config.go b/src/runtime/pkg/katautils/config.go index 9d1f2eacb3..8cb86bb30c 100644 --- a/src/runtime/pkg/katautils/config.go +++ b/src/runtime/pkg/katautils/config.go @@ -1341,13 +1341,12 @@ func newStratovirtHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) { } func newRemoteHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) { - machineType := h.machineType() return vc.HypervisorConfig{ RemoteHypervisorSocket: h.getRemoteHypervisorSocket(), RemoteHypervisorTimeout: h.getRemoteHypervisorTimeout(), DisableGuestSeLinux: true, // The remote hypervisor has a different guest, so Guest SELinux config doesn't work - HypervisorMachineType: machineType, + HypervisorMachineType: h.MachineType, SharedFS: config.NoSharedFS, // No valid value so avoid to append block device to list in kata_agent.appendDevices