qemu-e2k/softmmu
Markus Armbruster 6dd75472d5 qemu-options: New -compat to set policy for deprecated interfaces
New option -compat lets you configure what to do when deprecated
interfaces get used.  This is intended for testing users of the
management interfaces.  It is experimental.

-compat deprecated-input=<input-policy> configures what to do when
deprecated input is received.  Input policy can be "accept" (accept
silently), or "reject" (reject the request with an error).

-compat deprecated-output=<out-policy> configures what to do when
deprecated output is sent.  Output policy can be "accept" (pass on
unchanged), or "hide" (filter out the deprecated parts).

Default is "accept".  Policies other than "accept" are implemented
later in this series.

For now, -compat covers only syntactic aspects of QMP, i.e. stuff
tagged with feature 'deprecated'.  We may want to extend it to cover
semantic aspects, CLI, and experimental features.

Note that there is no good way for management application to detect
presence of -compat: it's not visible output of query-qmp-schema or
query-command-line-options.  Tolerable, because it's meant for
testing.  If running with -compat fails, skip the test.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210318155519.1224118-3-armbru@redhat.com>
2021-03-19 15:43:33 +01:00
..
arch_init.c
balloon.c
bootdevice.c
cpu-throttle.c cpu-throttle: Remove timer_mod() from cpu_throttle_set() 2021-02-08 15:15:32 +01:00
cpu-timers.c qtest: delete superfluous inclusions of qtest.h 2021-03-09 06:03:53 +01:00
cpus.c sev/i386: Don't allow a system reset under an SEV-ES guest 2021-02-16 17:15:39 +01:00
datadir.c
device_tree.c device_tree: add qemu_fdt_setprop_string_array helper 2021-03-10 15:34:11 +00:00
dma-helpers.c dma: Introduce dma_aligned_pow2_mask() 2021-03-12 12:40:10 +00:00
globals.c
icount.c
ioport.c
main.c
memory_mapping.c
memory.c fuzz: move some DMA hooks 2021-03-16 14:30:30 -04:00
meson.build
physmem.c * add --enable/--disable-libgio to configure (Denis) 2021-03-17 22:18:54 +00:00
qdev-monitor.c
qemu-seccomp.c seccomp: Replace the word 'blacklist' 2021-03-09 22:15:19 +01:00
qtest.c accel: extend AccelState and AccelClass to user-mode 2021-02-05 10:24:15 -10:00
rtc.c qom: Allow optional sugar props 2021-02-08 16:57:37 +11:00
runstate-action.c
runstate.c sysemu: Let VMChangeStateHandler take boolean 'running' argument 2021-03-09 23:13:57 +01:00
timers-state.h
tpm.c
trace-events
trace.h
vl.c qemu-options: New -compat to set policy for deprecated interfaces 2021-03-19 15:43:33 +01:00