]> git.karo-electronics.de Git - linux-beck.git/commit
kvm/eventfd: factor out kvm_notify_acked_gsi()
authorAndrey Smetanin <asmetanin@virtuozzo.com>
Fri, 16 Oct 2015 07:07:46 +0000 (10:07 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Oct 2015 08:34:29 +0000 (10:34 +0200)
commitba1aefcd6db5536d3eb3ca3ce7bd6786960140ea
tree27fd2764e673359414fb485908b42f0f200dd2b2
parent351dc6477cd35136ce4668401b1b1332a62908a8
kvm/eventfd: factor out kvm_notify_acked_gsi()

Factor out kvm_notify_acked_gsi() helper to iterate over EOI listeners
and notify those matching the given gsi.

It will be reused in the upcoming Hyper-V SynIC implementation.

Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Reviewed-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Vitaly Kuznetsov <vkuznets@redhat.com>
CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: Gleb Natapov <gleb@kernel.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/linux/kvm_host.h
virt/kvm/eventfd.c