Re: [PATCH 5/5] KVM: Hook kvm_arch_put_registers() errors to the caller

2022-06-23 Thread Peter Xu
On Thu, Jun 23, 2022 at 02:09:43PM +0100, Peter Maydell wrote: > On Fri, 17 Jun 2022 at 15:53, Peter Xu wrote: > > > > Leverage the new mechanism to pass over errors to upper stack for > > kvm_arch_put_registers() when called for the post_init() accel hook. > > > > Signed-off-by: Peter Xu > > ---

Re: [PATCH 5/5] KVM: Hook kvm_arch_put_registers() errors to the caller

2022-06-23 Thread Peter Maydell
On Fri, 17 Jun 2022 at 15:53, Peter Xu wrote: > > Leverage the new mechanism to pass over errors to upper stack for > kvm_arch_put_registers() when called for the post_init() accel hook. > > Signed-off-by: Peter Xu > --- > accel/kvm/kvm-all.c | 13 ++--- > accel/kvm/kvm-cpus.h | 2 +- >

[PATCH 5/5] KVM: Hook kvm_arch_put_registers() errors to the caller

2022-06-17 Thread Peter Xu
Leverage the new mechanism to pass over errors to upper stack for kvm_arch_put_registers() when called for the post_init() accel hook. Signed-off-by: Peter Xu --- accel/kvm/kvm-all.c | 13 ++--- accel/kvm/kvm-cpus.h | 2 +- softmmu/cpus.c | 5 - 3 files changed, 15 insertion