From 1c3037fd25f784df1d20124ddac3db72b7961df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 23 Apr 2024 16:53:13 +0200 Subject: [PATCH] Revert "govmm: tdx: Expose the private=on|off knob" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 582b5b6b1928ba61e48692ce9c015a28c22e8301. The `private=on` bit has never made its way upstream, and was removed from the latest iteration that we're using. With that in mind, let's revert its addition, and later on its usage in the code. Signed-off-by: Fabiano FidĂȘncio --- src/runtime/pkg/govmm/qemu/qemu.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/runtime/pkg/govmm/qemu/qemu.go b/src/runtime/pkg/govmm/qemu/qemu.go index d11ddb8cc8..4b8a21c3c2 100644 --- a/src/runtime/pkg/govmm/qemu/qemu.go +++ b/src/runtime/pkg/govmm/qemu/qemu.go @@ -2664,10 +2664,6 @@ type Knobs struct { // IOMMUPlatform will enable IOMMU for supported devices IOMMUPlatform bool - - // Whether private memory should be used or not - // This is required by TDX, at least. - Private bool } // IOThread allows IO to be performed on a separate thread.