Re: [PATCH] target/ppc: Fix wrong interpretation of the disposition flag.

2020-04-08 Thread David Gibson
On Wed, Apr 08, 2020 at 10:39:44PM +0530, Ganesh Goudar wrote: > Bitwise AND with kvm_run->flags to evaluate if we recovered from > MCE or not is not correct, As disposition in kvm_run->flags is a > two-bit integer value and not a bit map, So check for equality > instead of bitwise AND. > > Withou

[PATCH] target/ppc: Fix wrong interpretation of the disposition flag.

2020-04-08 Thread Ganesh Goudar
Bitwise AND with kvm_run->flags to evaluate if we recovered from MCE or not is not correct, As disposition in kvm_run->flags is a two-bit integer value and not a bit map, So check for equality instead of bitwise AND. Without the fix qemu treats any unrecoverable mce error as recoverable and ends u