1
0
forked from pool/virtualbox

Accepting request 1085560 from home:lwfinger:branches:Virtualization

- Update fix_7.0.6_locking_problems.patch for Vagrent/virtualbox startup problems boo#1209727

OBS-URL: https://build.opensuse.org/request/show/1085560
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=692
This commit is contained in:
Larry Finger 2023-05-08 18:32:52 +00:00 committed by Git OBS Bridge
parent 0df3ef31ab
commit 85b3b3cfae
2 changed files with 9 additions and 2 deletions

View File

@ -2,10 +2,12 @@ Index: VirtualBox-7.0.8/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
===================================================================
--- VirtualBox-7.0.8.orig/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
+++ VirtualBox-7.0.8/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
@@ -4537,9 +4537,9 @@ static int supdrvTscDeltaThreadWait(PSUP
@@ -4537,9 +4537,11 @@ static int supdrvTscDeltaThreadWait(PSUP
*/
static void supdrvTscDeltaThreadStartMeasurement(PSUPDRVDEVEXT pDevExt, bool fForceAll)
{
+ if (!pDevExt || ! pDevExt->hTscDeltaSpinlock)
+ return;
+ RTSpinlockAcquire(pDevExt->hTscDeltaSpinlock);
if (pDevExt->hTscDeltaThread != NIL_RTTHREAD)
{
@ -13,7 +15,7 @@ Index: VirtualBox-7.0.8/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
if ( pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_Listening
|| pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_Measuring)
{
@@ -4550,9 +4550,9 @@ static void supdrvTscDeltaThreadStartMea
@@ -4550,9 +4552,9 @@ static void supdrvTscDeltaThreadStartMea
else if ( pDevExt->enmTscDeltaThreadState == kTscDeltaThreadState_WaitAndMeasure
&& fForceAll)
pDevExt->fTscThreadRecomputeAllDeltas = true;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 8 18:26:38 UTC 2023 - Larry Finger <Larry.Finger@gmail.com>
- Update fix_7.0.6_locking_problems.patch for Vagrent/virtualbox startup problems boo#1209727
-------------------------------------------------------------------
Thu May 4 16:46:55 UTC 2023 - Dirk Müller <dmueller@suse.com>