diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-03-31 20:50:38 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2014-04-17 19:01:42 +0200 |
commit | f848a5a8dcb655553423f77cc98909a04e64173d (patch) | |
tree | 02e212c8eeeb52e74876408bb5e7e5d2febae379 /net/netlabel | |
parent | KVM: x86: Fix page-tables reserved bits (diff) | |
download | linux-f848a5a8dcb655553423f77cc98909a04e64173d.tar.xz linux-f848a5a8dcb655553423f77cc98909a04e64173d.zip |
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 <mst@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions