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' ] }