DPC time and watchdog limits

Hi, sometimes while testing, my driver exceeds DPC time and watchdog limits
under stress in a VM. This causes exceptions to be raised in my DPC
routines, and later a bugcheck 101.

Documentation says “DpcWatchdogLimit - Total time limit permitted for a
sequence of deferred procedure calls. If DPC watchdog has been disabled,
this value is set to 0.”.

How can I disable the DPC watchdog or change its limits for testing ? I see
a KeEnableWatchDogTimeOut routine, but it’s not exported.
Is there a possibility to gracefully recover from the situation such as in
the exception handler ?

Thanks,

//Daniel