summaryrefslogtreecommitdiff
path: root/src/VBox/VMM/VMMR3/VM.cpp
diff options
context:
space:
mode:
authorFelix Geyer <fgeyer@debian.org>2014-04-05 22:17:15 +0200
committerFelix Geyer <fgeyer@debian.org>2014-04-05 22:17:15 +0200
commit1700c7d32f7d9d101cbba9f1fcb8bb57ed16a727 (patch)
tree727251ad65172262944f82bb0f28601c3fb6f6b3 /src/VBox/VMM/VMMR3/VM.cpp
parent1e85aed889b772c2f2daa7a6d9e8bd967aa213d8 (diff)
downloadvirtualbox-upstream.tar.gz
Imported Upstream version 4.3.10-dfsgupstream/4.3.10-dfsgupstream
Diffstat (limited to 'src/VBox/VMM/VMMR3/VM.cpp')
-rw-r--r--src/VBox/VMM/VMMR3/VM.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/VBox/VMM/VMMR3/VM.cpp b/src/VBox/VMM/VMMR3/VM.cpp
index a13224bab..36effa6af 100644
--- a/src/VBox/VMM/VMMR3/VM.cpp
+++ b/src/VBox/VMM/VMMR3/VM.cpp
@@ -1165,6 +1165,15 @@ static int vmR3InitDoCompleted(PVM pVM, VMINITCOMPLETED enmWhat)
rc = HMR3InitCompleted(pVM, enmWhat);
if (RT_SUCCESS(rc))
rc = PGMR3InitCompleted(pVM, enmWhat);
+#ifndef VBOX_WITH_RAW_MODE
+ if (enmWhat == VMINITCOMPLETED_RING3)
+ {
+ if (RT_SUCCESS(rc))
+ rc = SSMR3RegisterStub(pVM, "CSAM", 0);
+ if (RT_SUCCESS(rc))
+ rc = SSMR3RegisterStub(pVM, "PATM", 0);
+ }
+#endif
return rc;
}