diff options
author | Davide Libenzi <davidel@xmailserver.org> | 2010-01-13 18:34:36 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-01-25 15:26:38 +0100 |
commit | cb289d6244a37cf932c571d6deb0daa8030f931b (patch) | |
tree | 05bea15a25c9d9a4dcc0658a6a8bf845daca535a /virt/kvm | |
parent | KVM: MMU: bail out pagewalk on kvm_read_guest error (diff) | |
download | linux-cb289d6244a37cf932c571d6deb0daa8030f931b.tar.xz linux-cb289d6244a37cf932c571d6deb0daa8030f931b.zip |
eventfd - allow atomic read and waitqueue remove
KVM needs a wait to atomically remove themselves from the eventfd ->poll()
wait queue head, in order to handle correctly their IRQfd deassign
operation.
This patch introduces such API, plus a way to read an eventfd from its
context.
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions