10 # An enumeration of the I/O operation types
12 # @read: read operation
14 # @write: write operation
18 { 'enum': 'IoOperationType',
19 'data': [ 'read', 'write' ] }
24 # An enumeration of three options: on, off, and auto
26 # @auto: QEMU selects the value between on and off
34 { 'enum': 'OnOffAuto',
35 'data': [ 'auto', 'on', 'off' ] }
40 # An enumeration of three values: on, off, and split
50 { 'enum': 'OnOffSplit',
51 'data': [ 'on', 'off', 'split' ] }
56 # A fat type wrapping 'str', to be embedded in lists.
67 # This is a string value or the explicit lack of a string (null
68 # pointer in C). Intended for cases when 'optional absent' already
69 # has a different meaning.
71 # @s: the string value
76 { 'alternate': 'StrOrNull',
83 # An enumeration of options for specifying a PCI BAR
85 # @off: The specified feature is disabled
87 # @auto: The PCI BAR for the feature is automatically selected
89 # @bar0: PCI BAR0 is used for the feature
91 # @bar1: PCI BAR1 is used for the feature
93 # @bar2: PCI BAR2 is used for the feature
95 # @bar3: PCI BAR3 is used for the feature
97 # @bar4: PCI BAR4 is used for the feature
99 # @bar5: PCI BAR5 is used for the feature
103 { 'enum': 'OffAutoPCIBAR',
104 'data': [ 'off', 'auto', 'bar0', 'bar1', 'bar2', 'bar3', 'bar4', 'bar5' ] }
109 # An enumeration of PCIe link speeds in units of GT/s
121 { 'enum': 'PCIELinkSpeed',
122 'data': [ '2_5', '5', '8', '16' ] }
127 # An enumeration of PCIe link width
145 { 'enum': 'PCIELinkWidth',
146 'data': [ '1', '2', '4', '8', '12', '16', '32' ] }
151 # The comprehensive enumeration of QEMU system emulation ("softmmu")
152 # targets. Run "./configure --help" in the project root directory, and
153 # look for the *-softmmu targets near the "--target-list" option. The
154 # individual target constants are not documented here, for the time
157 # Notes: The resulting QMP strings can be appended to the "qemu-system-"
158 # prefix to produce the corresponding QEMU executable name. This
159 # is true even for "qemu-system-x86_64".
161 # ppcemb: dropped in 3.1
165 { 'enum' : 'SysEmuTarget',
166 'data' : [ 'aarch64', 'alpha', 'arm', 'cris', 'hppa', 'i386', 'lm32',
167 'm68k', 'microblaze', 'microblazeel', 'mips', 'mips64',
168 'mips64el', 'mipsel', 'moxie', 'nios2', 'or1k', 'ppc',
169 'ppc64', 'riscv32', 'riscv64', 's390x', 'sh4',
170 'sh4eb', 'sparc', 'sparc64', 'tricore', 'unicore32',
171 'x86_64', 'xtensa', 'xtensaeb' ] }