]> Git Repo - qemu.git/blame - tests/iothread.h
iotests: Add preallocated growth test for qcow2
[qemu.git] / tests / iothread.h
CommitLineData
0c330a73
PB
1/*
2 * Event loop thread implementation for unit tests
3 *
4 * Copyright Red Hat Inc., 2013, 2016
5 *
6 * Authors:
7 * Stefan Hajnoczi <[email protected]>
8 * Paolo Bonzini <[email protected]>
9 *
10 * This work is licensed under the terms of the GNU GPL, version 2 or later.
11 * See the COPYING file in the top-level directory.
12 */
13#ifndef TEST_IOTHREAD_H
14#define TEST_IOTHREAD_H
15
16#include "block/aio.h"
17#include "qemu/thread.h"
18
19typedef struct IOThread IOThread;
20
21IOThread *iothread_new(void);
22void iothread_join(IOThread *iothread);
23AioContext *iothread_get_aio_context(IOThread *iothread);
24
25#endif
This page took 0.054655 seconds and 4 git commands to generate.