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 # A fat type wrapping 'str', to be embedded in lists.
68 # This is a string value or the explicit lack of a string (null
69 # pointer in C). Intended for cases when 'optional absent' already
70 # has a different meaning.
72 # @s: the string value
77 { 'alternate': 'StrOrNull',
84 # An enumeration of options for specifying a PCI BAR
86 # @off: The specified feature is disabled
88 # @auto: The PCI BAR for the feature is automatically selected
90 # @bar0: PCI BAR0 is used for the feature
92 # @bar1: PCI BAR1 is used for the feature
94 # @bar2: PCI BAR2 is used for the feature
96 # @bar3: PCI BAR3 is used for the feature
98 # @bar4: PCI BAR4 is used for the feature
100 # @bar5: PCI BAR5 is used for the feature
104 { 'enum': 'OffAutoPCIBAR',
105 'data': [ 'off', 'auto', 'bar0', 'bar1', 'bar2', 'bar3', 'bar4', 'bar5' ] }
110 # An enumeration of PCIe link speeds in units of GT/s
122 { 'enum': 'PCIELinkSpeed',
123 'data': [ '2_5', '5', '8', '16' ] }
128 # An enumeration of PCIe link width
146 { 'enum': 'PCIELinkWidth',
147 'data': [ '1', '2', '4', '8', '12', '16', '32' ] }