Index: /trunk/src/VBox/VMM/VMMR3/APIC.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR3/APIC.cpp	(revision 60760)
+++ /trunk/src/VBox/VMM/VMMR3/APIC.cpp	(revision 60761)
@@ -1495,8 +1495,17 @@
     {
         case APICMODE_DISABLED:
+        {
+            /** @todo permanently disabling the APIC won't really work (needs
+             *        fixing in HM, CPUM, PDM and possibly other places). See
+             *        @bugref{8353}. */
+#if 0
             pApic->enmOriginalMode = enmOriginalMode;
             CPUMClearGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_APIC);
             CPUMClearGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_X2APIC);
             break;
+#else
+            return VMR3SetError(pVM->pUVM, VERR_INVALID_PARAMETER, RT_SCR_POS, "APIC mode 'disabled' is not supported yet.");
+#endif
+        }
 
         case APICMODE_X2APIC:
@@ -1511,5 +1520,5 @@
 
         default:
-            return VMR3SetError(pVM->pUVM, VERR_INVALID_STATE, RT_SRC_POS, "APIC mode %#x unknown.", uOriginalMode);
+            return VMR3SetError(pVM->pUVM, VERR_INVALID_PARAMETER, RT_SRC_POS, "APIC mode %#x unknown.", uOriginalMode);
     }
 
