vfio/ccw: allocate irq info with the right size
[qemu.git] / include / qemu / throttle-options.h
blob3133d1ca40221825b9eaa1fadece71aa0faa8e2c
1 /*
2 * QEMU throttling command line options
4 * This work is licensed under the terms of the GNU GPL, version 2 or
5 * (at your option) any later version.
7 * See the COPYING file in the top-level directory for details.
9 */
10 #ifndef THROTTLE_OPTIONS_H
11 #define THROTTLE_OPTIONS_H
13 #define THROTTLE_OPTS \
14 { \
15 .name = "throttling.iops-total",\
16 .type = QEMU_OPT_NUMBER,\
17 .help = "limit total I/O operations per second",\
18 },{ \
19 .name = "throttling.iops-read",\
20 .type = QEMU_OPT_NUMBER,\
21 .help = "limit read operations per second",\
22 },{ \
23 .name = "throttling.iops-write",\
24 .type = QEMU_OPT_NUMBER,\
25 .help = "limit write operations per second",\
26 },{ \
27 .name = "throttling.bps-total",\
28 .type = QEMU_OPT_NUMBER,\
29 .help = "limit total bytes per second",\
30 },{ \
31 .name = "throttling.bps-read",\
32 .type = QEMU_OPT_NUMBER,\
33 .help = "limit read bytes per second",\
34 },{ \
35 .name = "throttling.bps-write",\
36 .type = QEMU_OPT_NUMBER,\
37 .help = "limit write bytes per second",\
38 },{ \
39 .name = "throttling.iops-total-max",\
40 .type = QEMU_OPT_NUMBER,\
41 .help = "I/O operations burst",\
42 },{ \
43 .name = "throttling.iops-read-max",\
44 .type = QEMU_OPT_NUMBER,\
45 .help = "I/O operations read burst",\
46 },{ \
47 .name = "throttling.iops-write-max",\
48 .type = QEMU_OPT_NUMBER,\
49 .help = "I/O operations write burst",\
50 },{ \
51 .name = "throttling.bps-total-max",\
52 .type = QEMU_OPT_NUMBER,\
53 .help = "total bytes burst",\
54 },{ \
55 .name = "throttling.bps-read-max",\
56 .type = QEMU_OPT_NUMBER,\
57 .help = "total bytes read burst",\
58 },{ \
59 .name = "throttling.bps-write-max",\
60 .type = QEMU_OPT_NUMBER,\
61 .help = "total bytes write burst",\
62 },{ \
63 .name = "throttling.iops-total-max-length",\
64 .type = QEMU_OPT_NUMBER,\
65 .help = "length of the iops-total-max burst period, in seconds",\
66 },{ \
67 .name = "throttling.iops-read-max-length",\
68 .type = QEMU_OPT_NUMBER,\
69 .help = "length of the iops-read-max burst period, in seconds",\
70 },{ \
71 .name = "throttling.iops-write-max-length",\
72 .type = QEMU_OPT_NUMBER,\
73 .help = "length of the iops-write-max burst period, in seconds",\
74 },{ \
75 .name = "throttling.bps-total-max-length",\
76 .type = QEMU_OPT_NUMBER,\
77 .help = "length of the bps-total-max burst period, in seconds",\
78 },{ \
79 .name = "throttling.bps-read-max-length",\
80 .type = QEMU_OPT_NUMBER,\
81 .help = "length of the bps-read-max burst period, in seconds",\
82 },{ \
83 .name = "throttling.bps-write-max-length",\
84 .type = QEMU_OPT_NUMBER,\
85 .help = "length of the bps-write-max burst period, in seconds",\
86 },{ \
87 .name = "throttling.iops-size",\
88 .type = QEMU_OPT_NUMBER,\
89 .help = "when limiting by iops max size of an I/O in bytes",\
92 #endif