Re: [RESEND PATCH 02/13] KVM: x86: Clean up handle_emulation_failure()

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 12:23, Vitaly Kuznetsov wrote: > > Sean Christopherson writes: > >> When handling emulation failure, return the emulation result directly >> instead of capturing it in a local variable. Future patches will move >> additional cases into handle_emulation_failure(), clean

Re: [RESEND PATCH 02/13] KVM: x86: Clean up handle_emulation_failure()

2019-08-23 Thread Vitaly Kuznetsov
Sean Christopherson writes: > When handling emulation failure, return the emulation result directly > instead of capturing it in a local variable. Future patches will move > additional cases into handle_emulation_failure(), clean up the cruft > before so there isn't an ugly mix of setting a loca

[RESEND PATCH 02/13] KVM: x86: Clean up handle_emulation_failure()

2019-08-22 Thread Sean Christopherson
When handling emulation failure, return the emulation result directly instead of capturing it in a local variable. Future patches will move additional cases into handle_emulation_failure(), clean up the cruft before so there isn't an ugly mix of setting a local variable and returning directly. Si