mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
qemu: Drop unnecessary tdx_guest
kernel parameter
With the current TDX kernel used with Kata Containers, `tdx_guest` is not needed, as TDX_GUEST is now a kernel configuration. With this in mind, let's just drop the kernel parameter. Fixes: #4981 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
d4b67613f0
commit
dc90eae17b
@ -210,7 +210,6 @@ func (q *qemuAmd64) enableProtection() error {
|
||||
q.qemuMachine.Options += ","
|
||||
}
|
||||
q.qemuMachine.Options += "kvm-type=tdx,confidential-guest-support=tdx"
|
||||
q.kernelParams = append(q.kernelParams, Param{"tdx_guest", ""})
|
||||
logger.Info("Enabling TDX guest protection")
|
||||
return nil
|
||||
case sevProtection:
|
||||
|
Loading…
Reference in New Issue
Block a user