mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00:00
runtime: Allow machine_type in kata config for remote hypervisors
Fixes: #10211 Signed-off-by: Silenio Quarti <silenio_quarti@ca.ibm.com>
This commit is contained in:
parent
6b0272d6bf
commit
11ba8f05ca
@ -1341,11 +1341,13 @@ 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,
|
||||
SharedFS: config.NoSharedFS,
|
||||
|
||||
// No valid value so avoid to append block device to list in kata_agent.appendDevices
|
||||
|
Loading…
Reference in New Issue
Block a user