On 10/03/20 07:45, Maxime Villard wrote: > > It reproduces the existing logic found in whpx-all.c, and if there is > > > > It's buggy there too and it has to be fixed in the hypervisor so it > can't be done at the same time I'm both. KVM does it right by having > a flag ("immediate_exit") that is set by the signal handler and > checked by the hypervisor.
For what it's worth, WHPX's whpx_kick_vcpu invokes a "cancel entry" API that is probably similar to what KVM does, so there's nothing to do there. Paolo