11 # An enumeration of the I/O operation types
13 # @read: read operation
15 # @write: write operation
19 { 'enum': 'IoOperationType',
20 'data': [ 'read', 'write' ] }
25 # An enumeration of three options: on, off, and auto
27 # @auto: QEMU selects the value between on and off
35 { 'enum': 'OnOffAuto',
36 'data': [ 'auto', 'on', 'off' ] }
41 # An enumeration of three values: on, off, and split
51 { 'enum': 'OnOffSplit',
52 'data': [ 'on', 'off', 'split' ] }
57 # This is a string value or the explicit lack of a string (null
58 # pointer in C). Intended for cases when 'optional absent' already
59 # has a different meaning.
61 # @s: the string value
67 { 'alternate': 'StrOrNull',
74 # An enumeration of options for specifying a PCI BAR
76 # @off: The specified feature is disabled
78 # @auto: The PCI BAR for the feature is automatically selected
80 # @bar0: PCI BAR0 is used for the feature
82 # @bar1: PCI BAR1 is used for the feature
84 # @bar2: PCI BAR2 is used for the feature
86 # @bar3: PCI BAR3 is used for the feature
88 # @bar4: PCI BAR4 is used for the feature
90 # @bar5: PCI BAR5 is used for the feature
94 { 'enum': 'OffAutoPCIBAR',
95 'data': [ 'off', 'auto', 'bar0', 'bar1', 'bar2', 'bar3', 'bar4', 'bar5' ] }
100 # An enumeration of PCIe link speeds in units of GT/s
116 { 'enum': 'PCIELinkSpeed',
117 'data': [ '2_5', '5', '8', '16', '32', '64' ] }
122 # An enumeration of PCIe link width
140 { 'enum': 'PCIELinkWidth',
141 'data': [ '1', '2', '4', '8', '12', '16', '32' ] }
146 # Host memory policy types
148 # @default: restore default policy, remove any nondefault policy
150 # @preferred: set the preferred host nodes for allocation
152 # @bind: a strict policy that restricts memory allocation to the host
155 # @interleave: memory allocations are interleaved across the set of
156 # host nodes specified
160 { 'enum': 'HostMemPolicy',
161 'data': [ 'default', 'preferred', 'bind', 'interleave' ] }
164 # @NetFilterDirection:
166 # Indicates whether a netfilter is attached to a netdev's transmit
167 # queue or receive queue or both.
169 # @all: the filter is attached both to the receive and the transmit
170 # queue of the netdev (default).
172 # @rx: the filter is attached to the receive queue of the netdev,
173 # where it will receive packets sent to the netdev.
175 # @tx: the filter is attached to the transmit queue of the netdev,
176 # where it will receive packets sent by the netdev.
180 { 'enum': 'NetFilterDirection',
181 'data': [ 'all', 'rx', 'tx' ] }
186 # Keys to toggle input-linux between host and guest.
190 { 'enum': 'GrabToggleKeys',
191 'data': [ 'ctrl-ctrl', 'alt-alt', 'shift-shift','meta-meta', 'scrolllock',
192 'ctrl-scrolllock' ] }
195 # @HumanReadableText:
197 # @human-readable-text: Formatted output intended for humans.
201 { 'struct': 'HumanReadableText',
202 'data': { 'human-readable-text': 'str' } }