runtime: Update the remote hypervisor config

Add the SELinux setting to ensure it is passed through to the remote
hypervisor

Fixes: #5936

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
(based on commit 3ef2fd1784)
This commit is contained in:
stevenhorsman 2022-12-20 12:18:33 +00:00
parent 50e0d43dad
commit ad63439a3e

View File

@ -1250,6 +1250,7 @@ func newRemoteHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
return vc.HypervisorConfig{
RemoteHypervisorSocket: h.RemoteHypervisorSocket,
RemoteHypervisorTimeout: h.RemoteHypervisorTimeout,
DisableGuestSeLinux: h.DisableGuestSeLinux,
// No valid value so avoid to append block device to list in kata_agent.appendDevices
BlockDeviceDriver: "dummy",