On 25/06/20 00:58, Roman Bolshakov wrote:
> The series is a prerequisite to implement gdbstub support for HVF and mostly
> concerns improvements of cpu_synchronize_* functions wrt to HVF and addresses
> old TODO's in the related code.
>
> Unfortunately live snapshots don't seem to work yet but they don't work with
> tcg (on macOS) either.
Queued, thanks! Synchronization of special registers is the obvious
next step (hint, hint!).
Cameron perhaps can also guide us with respect to the CPU kick race that
I mentioned in my review of patch 4. A full fix is not possible without
help from Hypervisor.framework, but using hv_vcpu_run_until will already
tighten the window for the race.
Thanks,
Paolo