mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06:00
include: Rename sysemu/ -> system/
Headers in include/sysemu/ are not only related to system *emulation*, they are also used by virtualization. Rename as system/ which is clearer. Files renamed manually then mechanical change using sed tool. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Lei Yang <leiyang@redhat.com> Message-Id: <20241203172445.28576-1-philmd@linaro.org>
This commit is contained in:
parent
63cda19446
commit
32cad1ffb8
965 changed files with 1708 additions and 1707 deletions
40
include/system/event-loop-base.h
Normal file
40
include/system/event-loop-base.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
* QEMU event-loop backend
|
||||
*
|
||||
* Copyright (C) 2022 Red Hat Inc
|
||||
*
|
||||
* Authors:
|
||||
* 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
|
||||
|
||||
#include "qom/object.h"
|
||||
#include "block/aio.h"
|
||||
|
||||
#define TYPE_EVENT_LOOP_BASE "event-loop-base"
|
||||
OBJECT_DECLARE_TYPE(EventLoopBase, EventLoopBaseClass,
|
||||
EVENT_LOOP_BASE)
|
||||
|
||||
struct EventLoopBaseClass {
|
||||
ObjectClass parent_class;
|
||||
|
||||
void (*init)(EventLoopBase *base, Error **errp);
|
||||
void (*update_params)(EventLoopBase *base, Error **errp);
|
||||
bool (*can_be_deleted)(EventLoopBase *base);
|
||||
};
|
||||
|
||||
struct EventLoopBase {
|
||||
Object parent;
|
||||
|
||||
/* AioContext AIO engine parameters */
|
||||
int64_t aio_max_batch;
|
||||
|
||||
/* AioContext thread pool parameters */
|
||||
int64_t thread_pool_min;
|
||||
int64_t thread_pool_max;
|
||||
};
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue