From: Paolo Bonzini Date: Thu, 23 Jul 2015 06:22:45 +0000 (+0200) Subject: KVM: x86: introduce kvm_check_has_quirk X-Git-Tag: omap-for-v4.3/fixes-merge-window~202^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41dbc6bcd9722bba8f09256655d060af30c63d34;p=pandora-kernel.git 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 --- Reading git-diff-tree failed