commit | 41dbc6bcd9722bba8f09256655d060af30c63d34 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 23 08:22:45 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 23 08:22:45 2015 +0200 |
tree | 3de1f317633917da3fd57e98406eb73f42458dbc | |
parent | 3e5d2fdceda172554e681b68c853bf5d08205bbf [diff] |
KVM: x86: introduce kvm_check_has_quirk The logic of the disabled_quirks field usually results in a double negation. Wrap it in a simple function that checks the bit and negates it. Based on a patch from Xiao Guangrong. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>