Index: /trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/ConsoleImpl.cpp	(revision 52031)
+++ /trunk/src/VBox/Main/src-client/ConsoleImpl.cpp	(revision 52032)
@@ -6152,4 +6152,10 @@
             Global::stringifyMachineState(mMachineState));
     }
+
+    Bstr strDisableSaveState;
+    mMachine->GetExtraData(Bstr("VBoxInternal2/DisableSaveState").raw(), strDisableSaveState.asOutParam());
+    if (strDisableSaveState == "1")
+        return setError(VBOX_E_VM_ERROR,
+                        tr("Saving the execution state is disabled for this VM"));
 
     if (aReason != Reason_Unspecified)
