diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2013-09-11 11:52:56 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2013-09-11 11:52:56 +0000 |
commit | 9d1cce051ab1b8beed266bc44cd72b844a31f422 (patch) | |
tree | 6f256d81769d06cd49d033066e4cf4b9101e11c4 /src/VBox/VMM/VMMAll/VMMAll.cpp | |
parent | 1b84b966b4f4b40ce5245b2bf9f6ef50467c8da8 (diff) | |
download | VirtualBox-svn-9d1cce051ab1b8beed266bc44cd72b844a31f422.tar.gz |
VMM: Fixed strict build assertion assumption with thread-context hooks. More assertions, slight cleanup.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@48426 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/VMM/VMMAll/VMMAll.cpp')
-rw-r--r-- | src/VBox/VMM/VMMAll/VMMAll.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/VBox/VMM/VMMAll/VMMAll.cpp b/src/VBox/VMM/VMMAll/VMMAll.cpp index 8a883796102..da15cacdfaa 100644 --- a/src/VBox/VMM/VMMAll/VMMAll.cpp +++ b/src/VBox/VMM/VMMAll/VMMAll.cpp @@ -200,6 +200,7 @@ VMMDECL(VMCPUID) VMMGetCpuId(PVM pVM) * and then by native thread id (page fusion case). */ /* RTMpCpuId had better be cheap. */ + Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); RTCPUID idHostCpu = RTMpCpuId(); /** @todo optimize for large number of VCPUs when that becomes more common. */ |