| * QEMU event-loop backend |
| * Copyright (C) 2022 Red Hat Inc |
| * Nicolas Saenz Julienne <nsaenzju@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 QEMU_EVENT_LOOP_BASE_H |
| #define QEMU_EVENT_LOOP_BASE_H |
| #define TYPE_EVENT_LOOP_BASE "event-loop-base" |
| OBJECT_DECLARE_TYPE(EventLoopBase, EventLoopBaseClass, |
| struct EventLoopBaseClass { |
| ObjectClass parent_class; |
| void (*init)(EventLoopBase *base, Error **errp); |
| void (*update_params)(EventLoopBase *base, Error **errp); |
| bool (*can_be_deleted)(EventLoopBase *base); |
| /* AioContext AIO engine parameters */ |
| /* AioContext thread pool parameters */ |