summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-07-23 08:22:45 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-07-23 08:22:45 +0200
commit41dbc6bcd9722bba8f09256655d060af30c63d34 (patch)
tree3de1f317633917da3fd57e98406eb73f42458dbc /tools/testing
parent3e5d2fdceda172554e681b68c853bf5d08205bbf (diff)
downloadop-kernel-dev-41dbc6bcd9722bba8f09256655d060af30c63d34.zip
op-kernel-dev-41dbc6bcd9722bba8f09256655d060af30c63d34.tar.gz
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>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud