[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] Avoid ASSERT in SystemTeardown
On 19/03/2021 14:16, Owen Smith wrote: Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx> Acked-by: Paul Durrant <paul@xxxxxxx> --- src/xen/system.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xen/system.c b/src/xen/system.c index ffa41a7..f85efc4 100644 --- a/src/xen/system.c +++ b/src/xen/system.c @@ -1334,7 +1334,10 @@ fail4: fail3: Error("fail3\n");+ Context->RegisterVcpuInfo = FALSE;+ __SystemFree(Context->Processor); + Context->Processor = NULL;fail2:Error("fail2\n"); @@ -1444,7 +1447,10 @@ SystemTeardown( Context->MaximumPhysicalAddress.QuadPart = 0;__SystemFree(Context->Processor);+ Context->Processor = NULL; + Context->ProcessorCount = 0; + Context->RegisterVcpuInfo = FALSE;(VOID) InterlockedDecrement(&Context->References);
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |