Re: [PATCH] x86/kvm: Fix broken irq restoration in kvm_wait

From: Paolo Bonzini
Date: Sat Mar 13 2021 - 04:33:52 EST


On 13/03/21 01:57, Wanpeng Li wrote:
A third option would be to split the paths. In the end, it's only the ptr/val
line that's shared.
I just sent out a formal patch for my alternative fix, I think the
whole logic in kvm_wait is more clear w/ my version.


I don't know, having three "if"s in 10 lines of code is a bit daunting.

Paolo