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.
10 #ifndef THROTTLE_OPTIONS_H
11 #define THROTTLE_OPTIONS_H
13 #define THROTTLE_OPTS \
15 .name = "throttling.iops-total",\
16 .type = QEMU_OPT_NUMBER,\
17 .help = "limit total I/O operations per second",\
19 .name = "throttling.iops-read",\
20 .type = QEMU_OPT_NUMBER,\
21 .help = "limit read operations per second",\
23 .name = "throttling.iops-write",\
24 .type = QEMU_OPT_NUMBER,\
25 .help = "limit write operations per second",\
27 .name = "throttling.bps-total",\
28 .type = QEMU_OPT_NUMBER,\
29 .help = "limit total bytes per second",\
31 .name = "throttling.bps-read",\
32 .type = QEMU_OPT_NUMBER,\
33 .help = "limit read bytes per second",\
35 .name = "throttling.bps-write",\
36 .type = QEMU_OPT_NUMBER,\
37 .help = "limit write bytes per second",\
39 .name = "throttling.iops-total-max",\
40 .type = QEMU_OPT_NUMBER,\
41 .help = "I/O operations burst",\
43 .name = "throttling.iops-read-max",\
44 .type = QEMU_OPT_NUMBER,\
45 .help = "I/O operations read burst",\
47 .name = "throttling.iops-write-max",\
48 .type = QEMU_OPT_NUMBER,\
49 .help = "I/O operations write burst",\
51 .name = "throttling.bps-total-max",\
52 .type = QEMU_OPT_NUMBER,\
53 .help = "total bytes burst",\
55 .name = "throttling.bps-read-max",\
56 .type = QEMU_OPT_NUMBER,\
57 .help = "total bytes read burst",\
59 .name = "throttling.bps-write-max",\
60 .type = QEMU_OPT_NUMBER,\
61 .help = "total bytes write burst",\
63 .name = "throttling.iops-total-max-length",\
64 .type = QEMU_OPT_NUMBER,\
65 .help = "length of the iops-total-max burst period, in seconds",\
67 .name = "throttling.iops-read-max-length",\
68 .type = QEMU_OPT_NUMBER,\
69 .help = "length of the iops-read-max burst period, in seconds",\
71 .name = "throttling.iops-write-max-length",\
72 .type = QEMU_OPT_NUMBER,\
73 .help = "length of the iops-write-max burst period, in seconds",\
75 .name = "throttling.bps-total-max-length",\
76 .type = QEMU_OPT_NUMBER,\
77 .help = "length of the bps-total-max burst period, in seconds",\
79 .name = "throttling.bps-read-max-length",\
80 .type = QEMU_OPT_NUMBER,\
81 .help = "length of the bps-read-max burst period, in seconds",\
83 .name = "throttling.bps-write-max-length",\
84 .type = QEMU_OPT_NUMBER,\
85 .help = "length of the bps-write-max burst period, in seconds",\
87 .name = "throttling.iops-size",\
88 .type = QEMU_OPT_NUMBER,\
89 .help = "when limiting by iops max size of an I/O in bytes",\