Skip to content
Commit b59e00dd authored by David Woodhouse's avatar David Woodhouse Committed by Paolo Bonzini
Browse files

kvm/eventfd: Drain events from eventfd in irqfd_wakeup()



Don't allow the events to accumulate in the eventfd counter, drain them
as they are handled.

Signed-off-by: default avatarDavid Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20201027135523.646811-4-dwmw2@infradead.org>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent b1b397ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment