From 7398fdc77c1d4cf3765ba3689ba1873ae800eca6 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 17 Oct 2025 09:57:53 +0100 Subject: [PATCH] lib/launch-direct.c: Remove workaround that disabled 5-level page tables https://bugzilla.redhat.com/2082806 is a private kernel bug (sigh) for RHEL 8, where some missing backports caused 5-level page tables to fail when qemu emulated them. This was fixed back in 2023, so let's remove this workaround now. --- lib/launch-direct.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/lib/launch-direct.c b/lib/launch-direct.c index 130769434..caaadd420 100644 --- a/lib/launch-direct.c +++ b/lib/launch-direct.c @@ -613,19 +613,8 @@ launch_direct (guestfs_h *g, void *datav, const char *arg) } end_list (); cpu_model = guestfs_int_get_cpu_model (has_kvm && !force_tcg); - if (cpu_model) { -#if defined(__x86_64__) - /* Temporary workaround for RHBZ#2082806 */ - if (STREQ (cpu_model, "max")) { - start_list ("-cpu") { - append_list (cpu_model); - append_list ("la57=off"); - } end_list (); - } - else -#endif - arg ("-cpu", cpu_model); - } + if (cpu_model) + arg ("-cpu", cpu_model); if (g->smp > 1) arg_format ("-smp", "%d", g->smp);