]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add optional callbacks for VQs
authorSasha Levin <levinsasha928@gmail.com>
Wed, 16 Nov 2011 12:24:35 +0000 (14:24 +0200)
committerPekka Enberg <penberg@kernel.org>
Wed, 16 Nov 2011 19:20:22 +0000 (21:20 +0200)
commitde82fc3e6fb8e2524aa08c757c3876b9a94e1cc7
tree76ae32c15cd85ade926d0747c7e6b871ffced632
parentd4057557f848077a91c23a2bd0f5214a9378e02d
kvm tools: Add optional callbacks for VQs

This patch adds optional callbacks which get called when the VQ gets assigned
an eventfd for notifications, and when it gets assigned with a GSI.

This allows the device to pass the eventfds to 3rd parties which can use
them to notify and get notifications regarding the VQ.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/virtio-trans.h
tools/kvm/virtio/pci.c