scsi-disk: do not complete requests early for rerror/werror=ignore
[qemu/ar7.git] / tests / qtest / fuzz / qos_fuzz.h
blob477f11b02b27ab555f0ed8896c4e3c422810e401
1 /*
2 * QOS-assisted fuzzing helpers
4 * Copyright Red Hat Inc., 2019
6 * Authors:
7 * Alexander Bulekov <alxndr@bu.edu>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
13 #ifndef _QOS_FUZZ_H_
14 #define _QOS_FUZZ_H_
16 #include "tests/qtest/fuzz/fuzz.h"
17 #include "tests/qtest/libqos/qgraph.h"
19 int qos_fuzz(const unsigned char *Data, size_t Size);
20 void qos_setup(void);
22 extern void *fuzz_qos_obj;
23 extern QGuestAllocator *fuzz_qos_alloc;
25 void fuzz_add_qos_target(
26 FuzzTarget *fuzz_opts,
27 const char *interface,
28 QOSGraphTestOptions *opts
31 void qos_init_path(QTestState *);
33 #endif