From: Michael S. Tsirkin Date: Mon, 31 Mar 2014 18:50:38 +0000 (+0300) Subject: KVM: support any-length wildcard ioeventfd X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f848a5a8dcb655553423f77cc98909a04e64173d;p=pandora-kernel.git KVM: support any-length wildcard ioeventfd It is sometimes benefitial to ignore IO size, and only match on address. In hindsight this would have been a better default than matching length when KVM_IOEVENTFD_FLAG_DATAMATCH is not set, In particular, this kind of access can be optimized on VMX: there no need to do page lookups. This can currently be done with many ioeventfds but in a suboptimal way. However we can't change kernel/userspace ABI without risk of breaking some applications. Use len = 0 to mean "ignore length for matching" in a more optimal way. Signed-off-by: Michael S. Tsirkin Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed