On Wed, May 06, 2026 at 09:02:51 +0200, Michal Privoznik via Devel wrote:
> From: Michal Privoznik <[email protected]>
>
> The sgx-epc test case is currently pinned to capabilities of that
> QEMU-7.0. Well, soon the minimal version of QEMU is going to be
> bumped. But thanks to previous commit the capabilities of 11.0.0
> version support SGX too. Switch the test case to the newer
> capabilities.
>
> Signed-off-by: Michal Privoznik <[email protected]>
> ---
> ...-epc.x86_64-7.0.0.args => sgx-epc.x86_64-11.0.0.args} | 9 +++++----
> ...gx-epc.x86_64-7.0.0.xml => sgx-epc.x86_64-11.0.0.xml} | 0
> tests/qemuxmlconftest.c | 2 +-
> 3 files changed, 6 insertions(+), 5 deletions(-)
> rename tests/qemuxmlconfdata/{sgx-epc.x86_64-7.0.0.args =>
> sgx-epc.x86_64-11.0.0.args} (83%)
> rename tests/qemuxmlconfdata/{sgx-epc.x86_64-7.0.0.xml =>
> sgx-epc.x86_64-11.0.0.xml} (100%)
[...]
> diff --git a/tests/qemuxmlconfdata/sgx-epc.x86_64-7.0.0.xml
> b/tests/qemuxmlconfdata/sgx-epc.x86_64-11.0.0.xml
> similarity index 100%
> rename from tests/qemuxmlconfdata/sgx-epc.x86_64-7.0.0.xml
> rename to tests/qemuxmlconfdata/sgx-epc.x86_64-11.0.0.xml
> diff --git a/tests/qemuxmlconftest.c b/tests/qemuxmlconftest.c
> index 958e9bd68c..187bab2e1e 100644
> --- a/tests/qemuxmlconftest.c
> +++ b/tests/qemuxmlconftest.c
> @@ -2997,7 +2997,7 @@ mymain(void)
> DO_TEST_CAPS_LATEST("cpu-phys-bits-limit");
> DO_TEST_CAPS_LATEST("cpu-phys-bits-emulate-bare");
>
> - DO_TEST_CAPS_VER("sgx-epc", "7.0.0");
> + DO_TEST_CAPS_VER("sgx-epc", "11.0.0");
And this then will use the SGX varian from the previous commit instead.