Index: /trunk/src/VBox/ValidationKit/bootsectors/bs3-fpustate-1-template.c
===================================================================
--- /trunk/src/VBox/ValidationKit/bootsectors/bs3-fpustate-1-template.c	(revision 92529)
+++ /trunk/src/VBox/ValidationKit/bootsectors/bs3-fpustate-1-template.c	(revision 92530)
@@ -134,7 +134,11 @@
     BS3PTRUNION         MmioReg;
     BS3CPUVENDOR const  enmCpuVendor = Bs3GetCpuVendor();
+    bool const          fSkipStorIdt = Bs3TestQueryCfgBool(VMMDEV_TESTING_CFG_IS_NEM_LINUX);
     bool const          fFastFxSaveRestore = RT_BOOL(ASMCpuId_EDX(0x80000001) & X86_CPUID_AMD_FEATURE_EDX_FFXSR);
     //bool const          fFdpXcptOnly = (ASMCpuIdEx_EBX(7, 0) & X86_CPUID_STEXT_FEATURE_EBX_FDP_EXCPTN_ONLY)
     //                                && ASMCpuId_EAX(0) >= 7;
+
+    if (fSkipStorIdt)
+        Bs3TestPrintf("NEM/linux - skipping SIDT\n");
 
 # undef  CHECK_STATE
@@ -151,7 +155,4 @@
         } while (0)
 
-    /*
-     * Setup the test.
-     */
 
     /* Make this code executable in raw-mode.  A bit tricky. */
@@ -289,5 +290,6 @@
 
         /* The tests. */
-        CHECK_READBACK_WRITE_Z(SIDT,     ASMGetIDTR,                         RTIDTR);
+        if (!fSkipStorIdt) /* KVM doesn't advance RIP executing a SIDT [MMIO-memory], it seems. (Linux 5.13.1) */
+            CHECK_READBACK_WRITE_Z(SIDT, ASMGetIDTR,                         RTIDTR);
         CHECK_READBACK_WRITE_Z(FNSTENV,  TMPL_NM(bs3FpuState1_FNStEnv),      X86FSTENV32P); /** @todo x86.h is missing types */
         CHECK_READBACK_WRITE(  MOVDQU,   TMPL_NM(bs3FpuState1_MovDQU_Write), X86XMMREG);
