]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
kvm: factor out core eventfd assign/deassign logic
authorJason Wang <jasowang@redhat.com>
Tue, 15 Sep 2015 06:41:55 +0000 (14:41 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Sep 2015 14:58:47 +0000 (16:58 +0200)
commit85da11ca587c8eb73993a1b503052391a73586f9
tree9d7fe890fccd148a4b91a5b4c14d847233279980
parent8453fecbecae26edb3f278627376caab05d9a88d
kvm: factor out core eventfd assign/deassign logic

This patch factors out core eventfd assign/deassign logic and leaves
the argument checking and bus index selection to callers.

Cc: stable@vger.kernel.org
Cc: Gleb Natapov <gleb@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/eventfd.c