Hi, This simple patch series aims to fix a bug in how KVM handles AMD Errata 1096. 1st patch is the fix. The bug was that vCPU state is checked incorrectly for being able to possible raise a SMAP violation which is required to encounter AMD Errata 1096. 2nd patch is a simple rename to make code more readable. Disclaimer: I don't have the proper physical AMD machine to verify the fix. I would appreciate if someone who have access to such AMD machine will test it and reply. Thanks, -Liran