Re: [PATCH] KVM: X86: correct meaningless kvm_apicv_activated() check

From: Xiaoyao Li
Date: Tue Mar 17 2020 - 07:24:19 EST


On 3/17/2020 12:39 AM, Paolo Bonzini wrote:
On 16/03/20 16:59, Sean Christopherson wrote:

if (!!old == !!new)
return;

to make it clear we're converting them to 1/0 :-)

All I can think of now is the Onion article regarding razor blades...

if (!!!!old == !!!!new)
return;


That would be !!!!!, but seriously I'll go with two.

(Thanks for giving me a chuckle, it's sorely needed these days).

Take care, Paolo.

I have been staying at home for two months in Wuhan, China, and things are going better now. I believe all the world can defeat Coronavirus eventually.

Paolo