aboutsummaryrefslogtreecommitdiff
path: root/hw/dataplane/event-poll.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-03-04 08:22:48 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-04 08:22:48 -0600
commit71df81afc618da79008a7071a666cf97b62e1237 (patch)
tree9452cebbcd6f1b769b460b4994f6a748e82c9b0f /hw/dataplane/event-poll.h
parenta6900601caf2286a704bdc42da33e98c65feb3a9 (diff)
parent272d2d8e1241b92ab9be87b2c8fb590fd84987a8 (diff)
Merge remote-tracking branch 'stefanha/block' into staging
# By MORITA Kazutaka (5) and others # Via Stefan Hajnoczi * stefanha/block: block: for HMP commit() operations on 'all', skip non-COW drives sheepdog: add support for connecting to unix domain socket sheepdog: use inet_connect to simplify connect code sheepdog: accept URIs move socket_set_nodelay to osdep.c slirp/tcp_subr.c: fix coding style in tcp_connect dataplane: remove EventPoll in favor of AioContext virtio-blk: fix unplug + virsh reboot ide/macio: Fix macio DMA initialisation.
Diffstat (limited to 'hw/dataplane/event-poll.h')
-rw-r--r--hw/dataplane/event-poll.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/hw/dataplane/event-poll.h b/hw/dataplane/event-poll.h
deleted file mode 100644
index 3e8d3ec7d5..0000000000
--- a/hw/dataplane/event-poll.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Event loop with file descriptor polling
- *
- * Copyright 2012 IBM, Corp.
- * Copyright 2012 Red Hat, Inc. and/or its affiliates
- *
- * Authors:
- * Stefan Hajnoczi <stefanha@redhat.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- *
- */
-
-#ifndef EVENT_POLL_H
-#define EVENT_POLL_H
-
-#include "qemu/event_notifier.h"
-
-typedef struct EventHandler EventHandler;
-typedef void EventCallback(EventHandler *handler);
-struct EventHandler {
- EventNotifier *notifier; /* eventfd */
- EventCallback *callback; /* callback function */
-};
-
-typedef struct {
- int epoll_fd; /* epoll(2) file descriptor */
- EventNotifier stop_notifier; /* stop poll notifier */
- EventHandler stop_handler; /* stop poll handler */
-} EventPoll;
-
-void event_poll_add(EventPoll *poll, EventHandler *handler,
- EventNotifier *notifier, EventCallback *callback);
-void event_poll_init(EventPoll *poll);
-void event_poll_cleanup(EventPoll *poll);
-void event_poll(EventPoll *poll);
-void event_poll_notify(EventPoll *poll);
-
-#endif /* EVENT_POLL_H */