Re: [PATCH v8 12/19] hvf: Simplify post reset/init/loadvm hooks

2021-05-27 Thread Sergio Lopez
On Wed, May 19, 2021 at 10:22:46PM +0200, Alexander Graf wrote: > The hooks we have that call us after reset, init and loadvm really all > just want to say "The reference of all register state is in the QEMU > vcpu struct, please push it". > > We already have a working pushing mechanism though cal

[PATCH v8 12/19] hvf: Simplify post reset/init/loadvm hooks

2021-05-19 Thread Alexander Graf
The hooks we have that call us after reset, init and loadvm really all just want to say "The reference of all register state is in the QEMU vcpu struct, please push it". We already have a working pushing mechanism though called cpu->vcpu_dirty, so we can just reuse that for all of the above, synci