Merge pull request #10250 from squarti/remote-machine-type-default

runtime: fix bad default machine_type for remote hypervisor
This commit is contained in:
Steve Horsman 2024-09-04 17:34:04 +01:00 committed by GitHub
commit f66e8c41a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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