summaryrefslogtreecommitdiff
path: root/dump.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-05-24 17:17:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-10-30 09:30:52 +0100
commitd0cc2fbfa607678866475383c508be84818ceb64 (patch)
treee062dcd177512bc99491396c207a5eea3ac7326c /dump.h
parentfc97a652de3e54394ca4d0e5e5d689fd8aba8b6f (diff)
downloadqemu-d0cc2fbfa607678866475383c508be84818ceb64.tar.gz
qemu-d0cc2fbfa607678866475383c508be84818ceb64.tar.bz2
qemu-d0cc2fbfa607678866475383c508be84818ceb64.zip
event_notifier: enable it to use pipes
This takes the eventfd emulation code from the main loop. When the EventNotifier is used for the main loop too, we need this compatibility code. Without CONFIG_EVENTFD, event_notifier_get_fd is only usable for the "read" side of the notifier, for example to set a select() handler. The return value of event_notifier_set changes to the cleaner 0/-errno. No caller is actually checking the return value. Reviewed-by: Anthony Liguori <anthony@codemonkey.ws> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'dump.h')
0 files changed, 0 insertions, 0 deletions