diff options
Diffstat (limited to 'src/VBox/VMM/VMMR3/VM.cpp')
-rw-r--r-- | src/VBox/VMM/VMMR3/VM.cpp | 9 |
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; } |