You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kevin Wolf
6a8c0b5102
qapi: Add feature flags to struct types
Sometimes, the behaviour of QEMU changes without a change in the QMP
syntax (usually by allowing values or operations that previously
resulted in an error). QMP clients may still need to know whether
they can rely on the changed behavior.
Let's add feature flags to the QAPI schema language, so that we can make
such changes visible with schema introspection.
An example for a schema definition using feature flags looks like this:
{ 'struct': 'TestType',
'data': { 'number': 'int' },
'features': [ 'allow-negative-numbers' ] }
Introspection information then looks like this:
{ "name": "TestType", "meta-type": "object",
"members": [
{ "name": "number", "type": "int" } ],
"features": [ "allow-negative-numbers" ] }
This patch implements feature flags only for struct types. We'll
implement them more widely as needed.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20190606153803.5278-2-armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
7 years ago
..
config
docs: Grammar and spelling fixes
8 years ago
devel
qapi: Add feature flags to struct types
7 years ago
interop
vhost-user: add vhost_user_gpu_set_socket()
7 years ago
specs
docs: provide documentation on the POWER9 XIVE interrupt controller
7 years ago
spin
docs: create config/, devel/ and spin/ subdirectories
9 years ago
COLO-FT.txt
doc: fix typos for documents in tree
8 years ago
amd-memory-encryption.txt
doc: fix typos for documents in tree
8 years ago
block-replication.txt
docs: block replication's description
10 years ago
bootindex.txt
docs qemu-doc: Avoid ide-drive, it's deprecated
9 years ago
can.txt
doc: fix typos for documents in tree
8 years ago
ccid.txt
libcacard: improve documentation
12 years ago
colo-proxy.txt
doc: fix typos for documents in tree
8 years ago
conf.py
docs/conf.py: Don't hard-code QEMU version
8 years ago
cpu-hotplug.rst
docs/cpu-hotplug.rst: Fix rST markup issues
8 years ago
generic-loader.txt
docs/generic-loader: mention U-Boot and Intel HEX executable formats
8 years ago
igd-assign.txt
vfio/pci: Add IGD documentation
10 years ago
image-fuzzer.txt
docs: List all image elements currently supported by the fuzzer
12 years ago
index.rst
docs: provide documentation on the POWER9 XIVE interrupt controller
7 years ago
memory-hotplug.txt
docs: Grammar and spelling fixes
8 years ago
multi-thread-compression.txt
Replace '-enable-kvm' with '-accel kvm' in docs and help texts
8 years ago
multiseat.txt
tests/docker/test-mingw and docs: Remove --with-sdlabi=2.0
8 years ago
nvdimm.txt
util/mmap-alloc: support MAP_SYNC in qemu_ram_mmap()
7 years ago
pci_expander_bridge.txt
pxb: cleanup
11 years ago
pcie.txt
docs: pcie: Spell out machine type needs for PCIe features
9 years ago
pcie_pci_bridge.txt
pci: removed the is_express field since a uniform interface was inserted
9 years ago
pr-manager.rst
scsi: add multipath support to qemu-pr-helper
9 years ago
pvrdma.txt
hw/pvrdma: Remove max-sge command-line param
8 years ago
qcow2-cache.txt
qcow2: Default to 4KB for the qcow2 cache entry size
8 years ago
qdev-device-use.txt
qemu-options: Remove deprecated "-virtioconsole" option
8 years ago
qemu-block-drivers.texi
doc: fix typos for documents in tree
8 years ago
qemu-cpu-models.texi
docs: recommend use of md-clear feature on all Intel CPUs
7 years ago
qemu_logo.pdf
docs: add qemu logo to pdf
10 years ago
qemupciserial.inf
docs: Grammar and spelling fixes
8 years ago
rdma.txt
doc: fix typos for documents in tree
8 years ago
replay.txt
doc: fix typos for documents in tree
8 years ago
security.texi
docs: add Security chapter to the documentation
7 years ago
spice-port-fqdn.txt
docs: add spice-port-fqdn.txt
14 years ago
throttle.txt
docs: Fix description of the leaky bucket algorithm in throttle.txt
10 years ago
usb-storage.txt
usb: Fix typo in documentation
10 years ago
usb2.txt
docs/usb2.txt: ehci has six ports
8 years ago
vfio-ap.txt
doc: fix typos for documents in tree
8 years ago
virtio-balloon-stats.txt
Remove the deprecated -balloon option
8 years ago
xbzrle.txt
docs/xbzrle: correction
10 years ago
xen-save-devices-state.txt
Fix up dangling references to qmp-commands.* in comment and doc
9 years ago