History log of /openbmc/qemu/scripts/qapi/ (Results 151 – 175 of 510)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c868876028-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Generalize enum member policy checking

The code to check enumeration value policy can see special feature
flag 'deprecated' in QEnumLookup member flags[value]. I want to make
feature flag 'un

qapi: Generalize enum member policy checking

The code to check enumeration value policy can see special feature
flag 'deprecated' in QEnumLookup member flags[value]. I want to make
feature flag 'unstable' visible there as well, so I can add policy for
it.

Instead of extending flags[], replace it by @special_features (a
bitset of QapiSpecialFeature), because that's how special features get
passed around elsewhere.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20211028102520.747396-8-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

show more ...

6604e47528-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Generalize command policy checking

The code to check command policy can see special feature flag
'deprecated' as command flag QCO_DEPRECATED. I want to make feature
flag 'unstable' visible th

qapi: Generalize command policy checking

The code to check command policy can see special feature flag
'deprecated' as command flag QCO_DEPRECATED. I want to make feature
flag 'unstable' visible there as well, so I can add policy for it.

To let me make it visible, add member @special_features (a bitset of
QapiSpecialFeature) to QmpCommand, and adjust the generator to pass it
through qmp_register_command(). Then replace "QCO_DEPRECATED in
@flags" by QAPI_DEPRECATED in @special_features", and drop
QCO_DEPRECATED.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20211028102520.747396-7-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>

show more ...

a130728528-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Generalize struct member policy checking

The generated visitor functions call visit_deprecated_accept() and
visit_deprecated() when visiting a struct member with special feature
flag 'deprecat

qapi: Generalize struct member policy checking

The generated visitor functions call visit_deprecated_accept() and
visit_deprecated() when visiting a struct member with special feature
flag 'deprecated'. This makes the feature flag visible to the actual
visitors. I want to make feature flag 'unstable' visible there as
well, so I can add policy for it.

To let me make it visible, replace these functions by
visit_policy_reject() and visit_policy_skip(), which take the member's
special features as an argument. Note that the new functions have the
opposite sense, i.e. the return value flips.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20211028102520.747396-6-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[Unbreak forward visitor]

show more ...

c67db1ed28-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Tools for sets of special feature flags in generated code

New enum QapiSpecialFeature enumerates the special feature flags.

New helper gen_special_features() returns code to represent a
colle

qapi: Tools for sets of special feature flags in generated code

New enum QapiSpecialFeature enumerates the special feature flags.

New helper gen_special_features() returns code to represent a
collection of special feature flags as a bitset.

The next few commits will put them to use.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20211028102520.747396-5-armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

show more ...

9bafe07b28-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Eliminate QCO_NO_OPTIONS for a slight simplification

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.

qapi: Eliminate QCO_NO_OPTIONS for a slight simplification

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20211028102520.747396-4-armbru@redhat.com>

show more ...

aa23704424-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Implement deprecated-input={reject,crash} for enum values

This copies the code implementing the policy from qapi/qmp-dispatch.c
to qapi/qobject-input-visitor.c. Tolerable, but if we acquire m

qapi: Implement deprecated-input={reject,crash} for enum values

This copies the code implementing the policy from qapi/qmp-dispatch.c
to qapi/qobject-input-visitor.c. Tolerable, but if we acquire more
copies, we should look into factoring them out.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Message-Id: <20211025042405.3762351-5-armbru@redhat.com>

show more ...

b6c1875524-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Add feature flags to enum members

This is quite similar to commit 84ab008687 "qapi: Add feature flags to
struct members", only for enums instead of structs.

Special feature flag 'deprecated'

qapi: Add feature flags to enum members

This is quite similar to commit 84ab008687 "qapi: Add feature flags to
struct members", only for enums instead of structs.

Special feature flag 'deprecated' is silently ignored there. This is
okay only because it will be implemented shortly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20211025042405.3762351-3-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>

show more ...

75ecee7224-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Enable enum member introspection to show more than name

The next commit will add feature flags to enum members. There's a
problem, though: query-qmp-schema shows an enum type's members as an

qapi: Enable enum member introspection to show more than name

The next commit will add feature flags to enum members. There's a
problem, though: query-qmp-schema shows an enum type's members as an
array of member names (SchemaInfoEnum member @values). If it showed
an array of objects with a name member, we could simply add more
members to these objects. Since it's just strings, we can't.

I can see three ways to correct this design mistake:

1. Do it the way we should have done it, plus compatibility goo.

We want a ['SchemaInfoEnumMember'] member in SchemaInfoEnum. Since
changing @values would be a compatibility break, add a new member
@members instead.

@values is now redundant. In my testing, output of
qemu-system-x86_64's query-qmp-schema grows by 11% (18.5KiB).

We can deprecate @values now and drop it later. This will break
outmoded clients. Well-behaved clients such as libvirt are
expected to break cleanly.

2. Like 1, but omit "boring" elements of @member, and empty @member.

@values does not become redundant. @members augments it. Somewhat
cumbersome, but output of query-qmp-schema grows only as we make
enum members non-boring.

There is nothing to deprecate here.

3. Versioned query-qmp-schema.

query-qmp-schema provides either @values or @members. The QMP
client can select which version it wants. There is no redundant
output.

We can deprecate old versions and eventually drop them. This will
break outmoded clients. Breaking cleanly is easier than for 1.

While 1 and 2 operate within the common rules for compatible
evolution apply (section "Compatibility considerations" in
docs/devel/qapi-code-gen.rst), 3 bypasses them. Attractive when
operating within the rules is just too awkward. Not the case here.

This commit implements 1. Libvirt developers prefer it.

Deprecate @values in favour of @members. Since query-qmp-schema
compatibility is pretty fundamental for management applications, an
extended grace period is advised.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Message-Id: <20211025042405.3762351-2-armbru@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>

show more ...


/openbmc/qemu/.github/workflows/lockdown.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/cirrus/build.yml
/openbmc/qemu/.gitlab-ci.d/container-cross.yml
/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/.gitlab-ci.d/edk2.yml
/openbmc/qemu/.gitlab-ci.d/static_checks.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/README.rst
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/kvm/meson.build
/openbmc/qemu/accel/tcg/atomic_common.c.inc
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/ldst_common.c.inc
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/audio/meson.build
/openbmc/qemu/block.c
/openbmc/qemu/block/aio_task.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/coroutines.h
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/meson.build
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/blockdev.c
/openbmc/qemu/bsd-user/errno_defs.h
/openbmc/qemu/bsd-user/freebsd/meson.build
/openbmc/qemu/bsd-user/freebsd/os-sys.c
/openbmc/qemu/bsd-user/freebsd/strace.list
/openbmc/qemu/bsd-user/freebsd/target_os_elf.h
/openbmc/qemu/bsd-user/freebsd/target_os_signal.h
/openbmc/qemu/bsd-user/freebsd/target_os_user.h
/openbmc/qemu/bsd-user/i386/target_arch_cpu.h
/openbmc/qemu/bsd-user/i386/target_arch_signal.h
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/meson.build
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/bsd-user/signal.c
/openbmc/qemu/bsd-user/syscall.c
/openbmc/qemu/bsd-user/x86_64/target_arch_cpu.h
/openbmc/qemu/bsd-user/x86_64/target_arch_signal.h
/openbmc/qemu/chardev/meson.build
/openbmc/qemu/configure
/openbmc/qemu/cpu.c
/openbmc/qemu/disas/nios2.c
/openbmc/qemu/disas/riscv.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/loads-stores.rst
/openbmc/qemu/docs/devel/qapi-code-gen.rst
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/vhost-user-rng.rst
/openbmc/qemu/docs/system/i386/kvm-pv.rst
/openbmc/qemu/docs/system/target-i386.rst
/openbmc/qemu/docs/tools/virtiofsd.rst
/openbmc/qemu/dtc
/openbmc/qemu/hw/acpi/acpi-x86-stub.c
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/ghes.c
/openbmc/qemu/hw/acpi/hmat.c
/openbmc/qemu/hw/acpi/nvdimm.c
/openbmc/qemu/hw/acpi/pci.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/adc/aspeed_adc.c
/openbmc/qemu/hw/adc/meson.build
/openbmc/qemu/hw/adc/trace-events
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/boot.c
/openbmc/qemu/hw/arm/sbsa-ref.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/char/ibex_uart.c
/openbmc/qemu/hw/char/mchp_pfsoc_mmuart.c
/openbmc/qemu/hw/char/shakti_uart.c
/openbmc/qemu/hw/char/sifive_uart.c
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/display/trace-events
/openbmc/qemu/hw/dma/sifive_pdma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/acpi-common.c
/openbmc/qemu/hw/i386/acpi-microvm.c
/openbmc/qemu/hw/i386/amd_iommu.c
/openbmc/qemu/hw/i386/pc_sysfw.c
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/i386/sgx.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/intc/meson.build
/openbmc/qemu/hw/intc/sifive_plic.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/mem/Kconfig
/openbmc/qemu/hw/mem/meson.build
/openbmc/qemu/hw/mips/boston.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/net/vhost_net-stub.c
/openbmc/qemu/hw/net/vhost_net.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvram/xlnx-efuse.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/openbmc/qemu/hw/nvram/xlnx-zynqmp-efuse.c
/openbmc/qemu/hw/pci-bridge/pci_expander_bridge.c
/openbmc/qemu/hw/pci-host/mv64361.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/ppc/pegasos2.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/ppc4xx_pci.c
/openbmc/qemu/hw/ppc/spapr_softmmu.c
/openbmc/qemu/hw/remote/proxy.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/opentitan.c
/openbmc/qemu/hw/riscv/shakti_c.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/tpm/tpm_ppi.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/Kconfig
/openbmc/qemu/hw/virtio/meson.build
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vhost-user-rng-pci.c
/openbmc/qemu/hw/virtio/vhost-user-rng.c
/openbmc/qemu/hw/virtio/vhost-user-vsock.c
/openbmc/qemu/hw/virtio/vhost-user.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/vhost-vsock-common.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/hw/virtio/virtio-mem-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/watchdog/trace-events
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/hw/xen/xen-legacy-backend.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/disas/dis-asm.h
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/exec/memop.h
/openbmc/qemu/include/exec/memopidx.h
/openbmc/qemu/include/hw/acpi/acpi-defs.h
/openbmc/qemu/include/hw/acpi/acpi_dev_interface.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/acpi/ich9.h
/openbmc/qemu/include/hw/adc/aspeed_adc.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/char/mchp_pfsoc_mmuart.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/display/macfb.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/hw/gpio/aspeed_gpio.h
/openbmc/qemu/include/hw/i2c/aspeed_i2c.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/sgx-epc.h
/openbmc/qemu/include/hw/isa/vt82c686.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/misc/mac_via.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/riscv/opentitan.h
/openbmc/qemu/include/hw/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/virtio/vhost-user-rng.h
/openbmc/qemu/include/hw/virtio/vhost-vdpa.h
/openbmc/qemu/include/hw/virtio/vhost-vsock-common.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/include/hw/virtio/virtio-iommu.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/monitor/hmp-target.h
/openbmc/qemu/include/monitor/hmp.h
/openbmc/qemu/include/monitor/qdev.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/net/vhost_net.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/include/tcg/tcg-ldst.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/iothread.c
/openbmc/qemu/job.c
/openbmc/qemu/linux-user/aarch64/signal.c
/openbmc/qemu/linux-user/aarch64/target_signal.h
/openbmc/qemu/linux-user/alpha/signal.c
/openbmc/qemu/linux-user/alpha/target_signal.h
/openbmc/qemu/linux-user/arm/signal.c
/openbmc/qemu/linux-user/arm/target_signal.h
/openbmc/qemu/linux-user/cris/signal.c
/openbmc/qemu/linux-user/cris/target_signal.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/hexagon/signal.c
/openbmc/qemu/linux-user/hexagon/target_signal.h
/openbmc/qemu/linux-user/hppa/target_signal.h
/openbmc/qemu/linux-user/i386/signal.c
/openbmc/qemu/linux-user/i386/target_signal.h
/openbmc/qemu/linux-user/m68k/signal.c
/openbmc/qemu/linux-user/m68k/target_signal.h
/openbmc/qemu/linux-user/meson.build
/openbmc/qemu/linux-user/microblaze/signal.c
/openbmc/qemu/linux-user/microblaze/target_signal.h
/openbmc/qemu/linux-user/mips/signal.c
/openbmc/qemu/linux-user/mips/target_signal.h
/openbmc/qemu/linux-user/mips64/target_signal.h
/openbmc/qemu/linux-user/nios2/target_signal.h
/openbmc/qemu/linux-user/openrisc/signal.c
/openbmc/qemu/linux-user/openrisc/target_signal.h
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/linux-user/ppc/target_signal.h
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/linux-user/riscv/signal.c
/openbmc/qemu/linux-user/riscv/target_signal.h
/openbmc/qemu/linux-user/s390x/signal.c
/openbmc/qemu/linux-user/s390x/target_signal.h
/openbmc/qemu/linux-user/sh4/signal.c
/openbmc/qemu/linux-user/sh4/target_signal.h
/openbmc/qemu/linux-user/signal-common.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/sparc/signal.c
/openbmc/qemu/linux-user/sparc/target_signal.h
/openbmc/qemu/linux-user/x86_64/target_signal.h
/openbmc/qemu/linux-user/xtensa/signal.c
/openbmc/qemu/linux-user/xtensa/target_signal.h
/openbmc/qemu/meson
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/migration/multifd.h
/openbmc/qemu/migration/ram.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/migration/trace-events
/openbmc/qemu/monitor/monitor.c
/openbmc/qemu/net/meson.build
/openbmc/qemu/net/net.c
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/pc-bios/vgabios-ati.bin
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.bin
/openbmc/qemu/pc-bios/vgabios-stdvga.bin
/openbmc/qemu/pc-bios/vgabios-virtio.bin
/openbmc/qemu/pc-bios/vgabios-vmware.bin
/openbmc/qemu/pc-bios/vgabios.bin
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/plugins/qemu-plugins.symbols
/openbmc/qemu/po/tr.po
/openbmc/qemu/python/qemu/aqmp/__init__.py
/openbmc/qemu/python/qemu/aqmp/events.py
/openbmc/qemu/python/qemu/aqmp/models.py
/openbmc/qemu/python/qemu/aqmp/protocol.py
/openbmc/qemu/python/qemu/aqmp/qmp_client.py
/openbmc/qemu/python/qemu/machine/machine.py
/openbmc/qemu/python/qemu/machine/qtest.py
/openbmc/qemu/python/qemu/qmp/__init__.py
/openbmc/qemu/python/qemu/qmp/qmp_shell.py
/openbmc/qemu/qapi/introspect.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/misc-target.json
/openbmc/qemu/qapi/qapi-visit-core.c
/openbmc/qemu/qapi/qdev.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/Makefile.edk2
/openbmc/qemu/roms/seabios
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scripts/block-coroutine-wrapper.py
/openbmc/qemu/scripts/make-release
/openbmc/qemu/scripts/meson-buildoptions.py
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/meson.build
/openbmc/qemu/scripts/mtest2make.py
introspect.py
/openbmc/qemu/semihosting/arm-compat-semi.c
/openbmc/qemu/softmmu/device_tree.c
/openbmc/qemu/softmmu/memory.c
/openbmc/qemu/softmmu/memory_mapping.c
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/softmmu/qdev-monitor.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/storage-daemon/qemu-storage-daemon.c
/openbmc/qemu/stubs/meson.build
/openbmc/qemu/subprojects/libvhost-user/libvhost-user.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/m_helper.c
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/avr/translate.c
/openbmc/qemu/target/cris/translate.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hexagon/gen_tcg.h
/openbmc/qemu/target/hexagon/gen_tcg_funcs.py
/openbmc/qemu/target/hexagon/genptr.c
/openbmc/qemu/target/hexagon/helper.h
/openbmc/qemu/target/hexagon/macros.h
/openbmc/qemu/target/hexagon/meson.build
/openbmc/qemu/target/hexagon/op_helper.c
/openbmc/qemu/target/hexagon/translate.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/helper.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/meson.build
/openbmc/qemu/target/i386/kvm/sev-stub.c
/openbmc/qemu/target/i386/meson.build
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/sev-sysemu-stub.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/sev.h
/openbmc/qemu/target/i386/tcg/mem_helper.c
/openbmc/qemu/target/i386/tcg/misc_helper.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/translate.c
/openbmc/qemu/target/mips/tcg/msa_helper.c
/openbmc/qemu/target/mips/tcg/msa_translate.c
/openbmc/qemu/target/mips/tcg/nanomips_translate.c.inc
/openbmc/qemu/target/mips/tcg/translate.c
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/cpu.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/gdbstub.c
/openbmc/qemu/target/ppc/helper_regs.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/ppc/monitor.c
/openbmc/qemu/target/ppc/power8-pmu-regs.c.inc
/openbmc/qemu/target/ppc/spr_tcg.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/riscv/bitmanip_helper.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/helper.h
/openbmc/qemu/target/riscv/insn32.decode
/openbmc/qemu/target/riscv/insn_trans/trans_privileged.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvb.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvm.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/openbmc/qemu/target/riscv/machine.c
/openbmc/qemu/target/riscv/monitor.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/rx/helper.h
/openbmc/qemu/target/rx/op_helper.c
/openbmc/qemu/target/rx/translate.c
/openbmc/qemu/target/s390x/sigp.c
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/target/s390x/tcg/translate_vx.c.inc
/openbmc/qemu/target/sh4/helper.h
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/tricore/helper.h
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/xtensa/cores.list
/openbmc/qemu/target/xtensa/import_core.sh
/openbmc/qemu/target/xtensa/meson.build
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/aarch64/tcg-target.c.inc
/openbmc/qemu/tcg/arm/tcg-target.c.inc
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/mips/tcg-target.c.inc
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target-con-set.h
/openbmc/qemu/tcg/s390x/tcg-target-con-str.h
/openbmc/qemu/tcg/s390x/tcg-target.c.inc
/openbmc/qemu/tcg/s390x/tcg-target.h
/openbmc/qemu/tcg/s390x/tcg-target.opc.h
/openbmc/qemu/tcg/sparc/tcg-target.c.inc
/openbmc/qemu/tcg/tcg-ldst.c.inc
/openbmc/qemu/tcg/tcg-op-vec.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/ppc_405.py
/openbmc/qemu/tests/acceptance/ppc_bamboo.py
/openbmc/qemu/tests/data/acpi/q35/APIC.xapic
/openbmc/qemu/tests/data/acpi/q35/DMAR.dmar
/openbmc/qemu/tests/data/acpi/q35/DSDT
/openbmc/qemu/tests/data/acpi/q35/DSDT.acpihmat
/openbmc/qemu/tests/data/acpi/q35/DSDT.bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.cphp
/openbmc/qemu/tests/data/acpi/q35/DSDT.dimmpxm
/openbmc/qemu/tests/data/acpi/q35/DSDT.ipmibt
/openbmc/qemu/tests/data/acpi/q35/DSDT.ivrs
/openbmc/qemu/tests/data/acpi/q35/DSDT.memhp
/openbmc/qemu/tests/data/acpi/q35/DSDT.mmio64
/openbmc/qemu/tests/data/acpi/q35/DSDT.multi-bridge
/openbmc/qemu/tests/data/acpi/q35/DSDT.nohpet
/openbmc/qemu/tests/data/acpi/q35/DSDT.numamem
/openbmc/qemu/tests/data/acpi/q35/DSDT.tis.tpm12
/openbmc/qemu/tests/data/acpi/q35/DSDT.tis.tpm2
/openbmc/qemu/tests/data/acpi/q35/DSDT.xapic
/openbmc/qemu/tests/data/acpi/q35/FACP.xapic
/openbmc/qemu/tests/data/acpi/q35/IVRS.ivrs
/openbmc/qemu/tests/data/acpi/q35/SRAT.xapic
/openbmc/qemu/tests/data/acpi/rebuild-expected-aml.sh
/openbmc/qemu/tests/data/acpi/virt/DBG2
/openbmc/qemu/tests/data/acpi/virt/IORT
/openbmc/qemu/tests/data/acpi/virt/IORT.memhp
/openbmc/qemu/tests/data/acpi/virt/IORT.numamem
/openbmc/qemu/tests/data/acpi/virt/IORT.pxb
/openbmc/qemu/tests/data/acpi/virt/PPTT
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/common.rc
/openbmc/qemu/tests/docker/dockerfiles/debian-native.docker
/openbmc/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/qapi-schema/meson.build
/openbmc/qemu/tests/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/109.out
/openbmc/qemu/tests/qemu-iotests/206.out
/openbmc/qemu/tests/qemu-iotests/235
/openbmc/qemu/tests/qemu-iotests/237.out
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/287
/openbmc/qemu/tests/qemu-iotests/297
/openbmc/qemu/tests/qemu-iotests/300
/openbmc/qemu/tests/qemu-iotests/308
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/pylintrc
/openbmc/qemu/tests/qemu-iotests/testenv.py
/openbmc/qemu/tests/qemu-iotests/testrunner.py
/openbmc/qemu/tests/qemu-iotests/tests/image-fleecing
/openbmc/qemu/tests/qemu-iotests/tests/migrate-bitmaps-test
/openbmc/qemu/tests/qemu-iotests/tests/mirror-ready-cancel-error
/openbmc/qemu/tests/qemu-iotests/tests/mirror-ready-cancel-error.out
/openbmc/qemu/tests/qemu-iotests/tests/mirror-top-perms
/openbmc/qemu/tests/qemu-iotests/tests/qsd-jobs.out
/openbmc/qemu/tests/qtest/acpi-utils.c
/openbmc/qemu/tests/qtest/arm-cpu-features.c
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/fuzz/meson.build
/openbmc/qemu/tests/qtest/libqos/libqtest.h
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/vhost-user-blk-test.c
/openbmc/qemu/tests/tcg/hexagon/Makefile.target
/openbmc/qemu/tests/tcg/hexagon/hex_sigsegv.c
/openbmc/qemu/tests/tcg/hppa/Makefile.target
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/Makefile.target
/openbmc/qemu/tests/tcg/multiarch/libs/float_helpers.c
/openbmc/qemu/tests/tcg/multiarch/linux/linux-test.c
/openbmc/qemu/tests/tcg/multiarch/sha1.c
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/ppc64le/Makefile.target
/openbmc/qemu/tests/tcg/ppc64le/signal_save_restore_xer.c
/openbmc/qemu/tests/tcg/sh4/Makefile.target
/openbmc/qemu/tests/tcg/x86_64/Makefile.target
/openbmc/qemu/tests/tcg/x86_64/system/kernel.ld
/openbmc/qemu/tests/unit/check-qom-proplist.c
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-blockjob.c
/openbmc/qemu/tools/virtiofsd/fuse_virtio.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/meson.build
/openbmc/qemu/trace/simple.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/compatfd.c
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/qemu-option.c
/openbmc/qemu/util/qemu-thread-posix.c
d183e04830-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: enable pylint checks

Signed-off-by: John Snow <jsnow@redhat.com>

Message-Id: <20210930205716.1148693-14-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-

qapi/parser: enable pylint checks

Signed-off-by: John Snow <jsnow@redhat.com>

Message-Id: <20210930205716.1148693-14-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

18e3673e30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: Silence too-few-public-methods warning

Eh. Not worth the fuss today. There are bigger fish to fry.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-13-js

qapi/parser: Silence too-few-public-methods warning

Eh. Not worth the fuss today. There are bigger fish to fry.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-13-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

2e28283e30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: enable mypy checks

Signed-off-by: John Snow <jsnow@redhat.com>

Message-Id: <20210930205716.1148693-12-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by

qapi/parser: enable mypy checks

Signed-off-by: John Snow <jsnow@redhat.com>

Message-Id: <20210930205716.1148693-12-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

15acf48c30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: Add FIXME for consolidating JSON-related types

The fix for this comment is forthcoming in a future commit, but this
will keep me honest. The linting configuration in ./python/setup.cfg

qapi/parser: Add FIXME for consolidating JSON-related types

The fix for this comment is forthcoming in a future commit, but this
will keep me honest. The linting configuration in ./python/setup.cfg
prohibits 'FIXME' comments. A goal of this long-running series is to
move ./scripts/qapi to ./python/qemu/qapi so that the QAPI generator is
regularly type-checked by GitLab CI.

This comment is a time-bomb to force me to address this issue prior to
that step.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-11-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

5f0d9f3b30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: add type hint annotations (QAPIDoc)

Annotations do not change runtime behavior.
This commit consists of only annotations.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210

qapi/parser: add type hint annotations (QAPIDoc)

Annotations do not change runtime behavior.
This commit consists of only annotations.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-10-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

e7ac60fc30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: add import cycle workaround

Adding static types causes a cycle in the QAPI generator:
[schema -> expr -> parser -> schema]. It exists because the QAPIDoc
class needs the names of types

qapi/parser: add import cycle workaround

Adding static types causes a cycle in the QAPI generator:
[schema -> expr -> parser -> schema]. It exists because the QAPIDoc
class needs the names of types defined by the schema module, but the
schema module needs to import both expr.py/parser.py to do its actual
parsing.

Ultimately, the layering violation is that parser.py should not have any
knowledge of specifics of the Schema. QAPIDoc performs double-duty here
both as a parser *and* as a finalized object that is part of the schema.

In this patch, add the offending type hints alongside the workaround to
avoid the cycle becoming a problem at runtime. See
https://mypy.readthedocs.io/en/latest/runtime_troubles.html#import-cycles
for more information on this workaround technique.

I see three ultimate resolutions here:

(1) Just keep this patch and use the TYPE_CHECKING trick to eliminate
the cycle which is only present during static analysis.

(2) Don't bother to annotate connect_member() et al, give them 'object'
or 'Any'. I don't particularly like this, because it diminishes the
usefulness of type hints for documentation purposes. Still, it's an
extremely quick fix.

(3) Reimplement doc <--> definition correlation directly in schema.py,
integrating doc fields directly into QAPISchemaMember and relieving
the QAPIDoc class of the responsibility. Users of the information
would instead visit the members first and retrieve their
documentation instead of the inverse operation -- visiting the
documentation and retrieving their members.

My preference is (3), but in the short-term (1) is the easiest way to
have my cake (strong type hints) and eat it too (Not have import
cycles). Do (1) for now, but plan for (3).

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-9-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

f4c05aaf30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: Introduce NullSection

Here's the weird bit. QAPIDoc generally expects -- virtually everywhere
-- that it will always have a current section. The sole exception to
this is in the case th

qapi/parser: Introduce NullSection

Here's the weird bit. QAPIDoc generally expects -- virtually everywhere
-- that it will always have a current section. The sole exception to
this is in the case that end_comment() is called, which leaves us with
*no* section. However, in this case, we also don't expect to actually
ever mutate the comment contents ever again.

NullSection is just a Null-object that allows us to maintain the
invariant that we *always* have a current section, enforced by static
typing -- allowing us to type that field as QAPIDoc.Section instead of
the more ambiguous Optional[QAPIDoc.Section].

end_section is renamed to switch_section and now accepts as an argument
the new section to activate, clarifying that no callers ever just
unilaterally end a section; they only do so when starting a new section.

Signed-off-by: John Snow <jsnow@redhat.com>

Message-Id: <20210930205716.1148693-8-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

1e20a77530-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: clarify _end_section() logic

The "if self._section" clause in end_section is mysterious: In which
circumstances might we end a section when we don't have one?

QAPIDoc always expects th

qapi/parser: clarify _end_section() logic

The "if self._section" clause in end_section is mysterious: In which
circumstances might we end a section when we don't have one?

QAPIDoc always expects there to be a "current section", only except
after a call to end_comment(). This actually *shouldn't* ever be 'None',
so let's remove that logic so I don't wonder why it's like this again in
three months.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-7-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

cd87c14c30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: remove FIXME comment from _append_body_line

True, we do not check the validity of this symbol -- but we don't check
the validity of definition names during parse, either -- that happens

qapi/parser: remove FIXME comment from _append_body_line

True, we do not check the validity of this symbol -- but we don't check
the validity of definition names during parse, either -- that happens
later, during the expr check. I don't want to introduce a dependency on
expr.py:check_name_str here and introduce a cycle.

Instead, rest assured that a documentation block is required for each
definition. This requirement uses the names of each section to ensure
that we fulfilled this requirement.

e.g., let's say that block-core.json has a comment block for
"Snapshot!Info" by accident. We'll see this error message:

In file included from ../../qapi/block.json:8:
../../qapi/block-core.json: In struct 'SnapshotInfo':
../../qapi/block-core.json:38: documentation comment is for 'Snapshot!Info'

That's a pretty decent error message.

Now, let's say that we actually mangle it twice, identically:

../../qapi/block-core.json: In struct 'Snapshot!Info':
../../qapi/block-core.json:38: struct has an invalid name

That's also pretty decent. If we forget to fix it in both places, we'll
just be back to the first error.

Therefore, let's just drop this FIXME and adjust the error message to
not imply a more thorough check than is actually performed.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-6-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

012336a130-Sep-2021 John Snow <jsnow@redhat.com>

qapi/parser: fix unused check_args_section arguments

Pylint informs us we're not using these arguments. Oops, it's
right. Correct the error message and remove the remaining unused
parameter.

Fix te

qapi/parser: fix unused check_args_section arguments

Pylint informs us we're not using these arguments. Oops, it's
right. Correct the error message and remove the remaining unused
parameter.

Fix test output now that the error message is improved.

Fixes: e151941d1b
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-4-jsnow@redhat.com>
[Commit message formatting tweaked]
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

2adb988e30-Sep-2021 John Snow <jsnow@redhat.com>

qapi/gen: use dict.items() to iterate over _modules

New pylint warning. I could silence it, but this is the only occurrence
in the entire tree, including everything in iotests/ and python/. Easier
t

qapi/gen: use dict.items() to iterate over _modules

New pylint warning. I could silence it, but this is the only occurrence
in the entire tree, including everything in iotests/ and python/. Easier
to just change this one instance.

(The warning is emitted in cases where you are fetching the values
anyway, so you may as well just take advantage of the iterator to avoid
redundant lookups.)

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-3-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

1c00917430-Sep-2021 John Snow <jsnow@redhat.com>

qapi/pylintrc: ignore 'consider-using-f-string' warning

Pylint 2.11.x adds this warning. We're not yet ready to pursue that
conversion, so silence it for now.

Signed-off-by: John Snow <jsnow@redhat

qapi/pylintrc: ignore 'consider-using-f-string' warning

Pylint 2.11.x adds this warning. We're not yet ready to pursue that
conversion, so silence it for now.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20210930205716.1148693-2-jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/backends/hostmem-epc.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/block/blkdebug.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkreplay.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/bochs.c
/openbmc/qemu/block/cloop.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/copy-on-read.c
/openbmc/qemu/block/crypto.c
/openbmc/qemu/block/curl.c
/openbmc/qemu/block/dmg.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/file-win32.c
/openbmc/qemu/block/filter-compress.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/nbd.c
/openbmc/qemu/block/nfs.c
/openbmc/qemu/block/null.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/preallocate.c
/openbmc/qemu/block/qcow.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qed.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/rbd.c
/openbmc/qemu/block/throttle.c
/openbmc/qemu/block/trace-events
/openbmc/qemu/block/vdi.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/vpc.c
/openbmc/qemu/block/vvfat.c
/openbmc/qemu/configs/devices/i386-softmmu/default.mak
/openbmc/qemu/configs/targets/aarch64-linux-user.mak
/openbmc/qemu/configs/targets/aarch64-softmmu.mak
/openbmc/qemu/configs/targets/aarch64_be-linux-user.mak
/openbmc/qemu/configs/targets/arm-linux-user.mak
/openbmc/qemu/configs/targets/arm-softmmu.mak
/openbmc/qemu/configs/targets/armeb-linux-user.mak
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/ci-definitions.rst.inc
/openbmc/qemu/docs/devel/ci-jobs.rst.inc
/openbmc/qemu/docs/devel/ci-runners.rst.inc
/openbmc/qemu/docs/devel/ci.rst
/openbmc/qemu/docs/devel/multi-process.rst
/openbmc/qemu/docs/devel/qgraph.rst
/openbmc/qemu/docs/devel/tcg-plugins.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/hyperv.txt
/openbmc/qemu/docs/nvdimm.txt
/openbmc/qemu/docs/system/arm/xlnx-versal-virt.rst
/openbmc/qemu/docs/system/i386/sgx.rst
/openbmc/qemu/docs/system/multi-process.rst
/openbmc/qemu/docs/system/ppc/powernv.rst
/openbmc/qemu/docs/system/target-i386.rst
/openbmc/qemu/docs/tools/qemu-nbd.rst
/openbmc/qemu/gdb-xml/arm-neon.xml
/openbmc/qemu/gdb-xml/arm-vfp-sysregs.xml
/openbmc/qemu/gdb-xml/arm-vfp.xml
/openbmc/qemu/gdb-xml/arm-vfp3.xml
/openbmc/qemu/hmp-commands-info.hx
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/Kconfig
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/allwinner-h3.c
/openbmc/qemu/hw/arm/sabrelite.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/arm/xlnx-versal-virt.c
/openbmc/qemu/hw/arm/xlnx-versal.c
/openbmc/qemu/hw/arm/xlnx-zcu102.c
/openbmc/qemu/hw/arm/xlnx-zynqmp.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/swim.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/bus.c
/openbmc/qemu/hw/core/machine.c
/openbmc/qemu/hw/core/sysbus.c
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/gpio/bcm2835_gpio.c
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/i2c/core.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/fw_cfg.c
/openbmc/qemu/hw/i386/kvm/i8254.c
/openbmc/qemu/hw/i386/meson.build
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/i386/pc_piix.c
/openbmc/qemu/hw/i386/pc_q35.c
/openbmc/qemu/hw/i386/sgx-epc.c
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/i386/sgx.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/i386/xen/xen-hvm.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/cmd646.c
/openbmc/qemu/hw/ide/isa.c
/openbmc/qemu/hw/ide/macio.c
/openbmc/qemu/hw/ide/microdrive.c
/openbmc/qemu/hw/ide/mmio.c
/openbmc/qemu/hw/ide/piix.c
/openbmc/qemu/hw/ide/qdev.c
/openbmc/qemu/hw/ide/sii3112.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/intc/openpic.c
/openbmc/qemu/hw/intc/openpic_kvm.c
/openbmc/qemu/hw/intc/spapr_xive_kvm.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/ipack/ipack.c
/openbmc/qemu/hw/ipack/tpci200.c
/openbmc/qemu/hw/isa/isa-bus.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/misc/auxbus.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/misc/macio/macio.c
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/nubus/mac-nubus-bridge.c
/openbmc/qemu/hw/nubus/nubus-bridge.c
/openbmc/qemu/hw/nubus/nubus-bus.c
/openbmc/qemu/hw/nubus/nubus-device.c
/openbmc/qemu/hw/nubus/trace-events
/openbmc/qemu/hw/nubus/trace.h
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/nvme/subsys.c
/openbmc/qemu/hw/nvram/Kconfig
/openbmc/qemu/hw/nvram/meson.build
/openbmc/qemu/hw/nvram/xlnx-bbram.c
/openbmc/qemu/hw/nvram/xlnx-efuse-crc.c
/openbmc/qemu/hw/nvram/xlnx-efuse.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-cache.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/openbmc/qemu/hw/nvram/xlnx-zynqmp-efuse.c
/openbmc/qemu/hw/pci-host/raven.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_bridge.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_core.c
/openbmc/qemu/hw/ppc/pnv_xscom.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_numa.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/ppc/trace-events
/openbmc/qemu/hw/remote/proxy-memory-listener.c
/openbmc/qemu/hw/s390x/ap-bridge.c
/openbmc/qemu/hw/s390x/css-bridge.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/s390-pci-bus.c
/openbmc/qemu/hw/s390x/s390-virtio-ccw.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/esp-pci.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sd/allwinner-sdhost.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/ssi/ssi.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/dev-storage-bot.c
/openbmc/qemu/hw/usb/dev-storage-classic.c
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/vhost.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/hw/xen/xen-legacy-backend.c
/openbmc/qemu/hw/xen/xen_pt.c
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/arm/xlnx-zynqmp.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/i386/hostmem-epc.h
/openbmc/qemu/include/hw/i386/pc.h
/openbmc/qemu/include/hw/i386/sgx-epc.h
/openbmc/qemu/include/hw/i386/sgx.h
/openbmc/qemu/include/hw/i386/x86.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/ipack/ipack.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/nubus/mac-nubus-bridge.h
/openbmc/qemu/include/hw/nubus/nubus.h
/openbmc/qemu/include/hw/nvram/xlnx-bbram.h
/openbmc/qemu/include/hw/nvram/xlnx-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-versal-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-zynqmp-efuse.h
/openbmc/qemu/include/hw/pci/pci.h
/openbmc/qemu/include/hw/ppc/openpic.h
/openbmc/qemu/include/hw/ppc/pnv_core.h
/openbmc/qemu/include/hw/ppc/spapr.h
/openbmc/qemu/include/hw/ppc/spapr_numa.h
/openbmc/qemu/include/hw/ppc/spapr_ovec.h
/openbmc/qemu/include/hw/ppc/xive.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/scsi/scsi.h
/openbmc/qemu/include/monitor/hmp-target.h
/openbmc/qemu/include/qemu/host-utils.h
/openbmc/qemu/include/sysemu/kvm_int.h
/openbmc/qemu/io/dns-resolver.c
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/nbd/client-connection.c
/openbmc/qemu/nbd/client.c
/openbmc/qemu/nbd/server.c
/openbmc/qemu/pc-bios/descriptors/meson.build
/openbmc/qemu/pc-bios/meson.build
/openbmc/qemu/python/.gitignore
/openbmc/qemu/python/Makefile
/openbmc/qemu/python/Pipfile.lock
/openbmc/qemu/python/avocado.cfg
/openbmc/qemu/python/qemu/aqmp/__init__.py
/openbmc/qemu/python/qemu/aqmp/aqmp_tui.py
/openbmc/qemu/python/qemu/aqmp/error.py
/openbmc/qemu/python/qemu/aqmp/events.py
/openbmc/qemu/python/qemu/aqmp/message.py
/openbmc/qemu/python/qemu/aqmp/models.py
/openbmc/qemu/python/qemu/aqmp/protocol.py
/openbmc/qemu/python/qemu/aqmp/py.typed
/openbmc/qemu/python/qemu/aqmp/qmp_client.py
/openbmc/qemu/python/qemu/aqmp/util.py
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/python/tests/protocol.py
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/misc-target.json
/openbmc/qemu/qapi/qdev.json
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
pylintrc
/openbmc/qemu/softmmu/memory.c
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/softmmu/trace-events
/openbmc/qemu/stubs/qdev.c
/openbmc/qemu/target/arm/gdbstub.c
/openbmc/qemu/target/arm/gdbstub64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/psci.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hax/hax-mem.c
/openbmc/qemu/target/i386/kvm/hyperv-proto.h
/openbmc/qemu/target/i386/kvm/kvm.c
/openbmc/qemu/target/i386/kvm/kvm_i386.h
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/whpx/whpx-all.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/helper_regs.c
/openbmc/qemu/target/ppc/int_helper.c
/openbmc/qemu/target/ppc/trace-events
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/tests/Makefile.include
/openbmc/qemu/tests/acceptance/avocado_qemu/__init__.py
/openbmc/qemu/tests/acceptance/boot_linux_console.py
/openbmc/qemu/tests/acceptance/boot_xen.py
/openbmc/qemu/tests/acceptance/ppc_mpc8544ds.py
/openbmc/qemu/tests/acceptance/ppc_prep_40p.py
/openbmc/qemu/tests/acceptance/ppc_pseries.py
/openbmc/qemu/tests/acceptance/ppc_virtex_ml507.py
/openbmc/qemu/tests/acceptance/replay_kernel.py
/openbmc/qemu/tests/acceptance/replay_linux.py
/openbmc/qemu/tests/acceptance/vnc.py
/openbmc/qemu/tests/qapi-schema/meson.build
/openbmc/qemu/tests/qapi-schema/test-qapi.py
/openbmc/qemu/tests/qapi-schema/union-array-branch.err
/openbmc/qemu/tests/qapi-schema/union-array-branch.json
/openbmc/qemu/tests/qapi-schema/union-array-branch.out
/openbmc/qemu/tests/qapi-schema/union-bad-base.err
/openbmc/qemu/tests/qapi-schema/union-bad-base.json
/openbmc/qemu/tests/qapi-schema/union-bad-base.out
/openbmc/qemu/tests/qapi-schema/union-bad-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-bad-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-bad-discriminator.out
/openbmc/qemu/tests/qapi-schema/union-base-any.err
/openbmc/qemu/tests/qapi-schema/union-base-any.json
/openbmc/qemu/tests/qapi-schema/union-base-any.out
/openbmc/qemu/tests/qapi-schema/union-base-union.err
/openbmc/qemu/tests/qapi-schema/union-base-union.json
/openbmc/qemu/tests/qapi-schema/union-base-union.out
/openbmc/qemu/tests/qapi-schema/union-clash-member.err
/openbmc/qemu/tests/qapi-schema/union-clash-member.json
/openbmc/qemu/tests/qapi-schema/union-clash-member.out
/openbmc/qemu/tests/qapi-schema/union-discriminator-bad-name.err
/openbmc/qemu/tests/qapi-schema/union-discriminator-bad-name.json
/openbmc/qemu/tests/qapi-schema/union-discriminator-bad-name.out
/openbmc/qemu/tests/qapi-schema/union-empty.err
/openbmc/qemu/tests/qapi-schema/union-empty.json
/openbmc/qemu/tests/qapi-schema/union-empty.out
/openbmc/qemu/tests/qapi-schema/union-inline-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/union-inline-invalid-dict.json
/openbmc/qemu/tests/qapi-schema/union-inline-invalid-dict.out
/openbmc/qemu/tests/qapi-schema/union-int-branch.err
/openbmc/qemu/tests/qapi-schema/union-int-branch.json
/openbmc/qemu/tests/qapi-schema/union-int-branch.out
/openbmc/qemu/tests/qapi-schema/union-invalid-branch-key.err
/openbmc/qemu/tests/qapi-schema/union-invalid-branch-key.json
/openbmc/qemu/tests/qapi-schema/union-invalid-branch-key.out
/openbmc/qemu/tests/qapi-schema/union-invalid-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-invalid-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-invalid-discriminator.out
/openbmc/qemu/tests/qapi-schema/union-invalid-if-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-invalid-if-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-invalid-if-discriminator.out
/openbmc/qemu/tests/qapi-schema/union-no-base.err
/openbmc/qemu/tests/qapi-schema/union-no-base.json
/openbmc/qemu/tests/qapi-schema/union-no-base.out
/openbmc/qemu/tests/qapi-schema/union-optional-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-optional-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-optional-discriminator.out
/openbmc/qemu/tests/qapi-schema/union-string-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-string-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-string-discriminator.out
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/qtest/numa-test.c
/openbmc/qemu/tests/qtest/qmp-cmd-test.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-block-iothread.c
/openbmc/qemu/tests/unit/test-clone-visitor.c
/openbmc/qemu/util/host-utils.c
/openbmc/qemu/util/qemu-sockets.c
4e99f4b117-Sep-2021 Markus Armbruster <armbru@redhat.com>

qapi: Drop simple unions

Simple unions predate flat unions. Having both complicates the QAPI
schema language and the QAPI generator. We haven't been using simple
unions in new code for a long time

qapi: Drop simple unions

Simple unions predate flat unions. Having both complicates the QAPI
schema language and the QAPI generator. We haven't been using simple
unions in new code for a long time, because they are less flexible and
somewhat awkward on the wire.

The previous commits eliminated simple union from the tree. Now drop
them from the QAPI schema language entirely, and update mentions of
"flat union" to just "union".

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210917143134.412106-22-armbru@redhat.com>

show more ...


/openbmc/qemu/backends/tpm/tpm_emulator.c
/openbmc/qemu/backends/tpm/tpm_passthrough.c
/openbmc/qemu/chardev/char-socket.c
/openbmc/qemu/chardev/char-udp.c
/openbmc/qemu/docs/devel/qapi-code-gen.rst
/openbmc/qemu/monitor/hmp-cmds.c
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/char.json
/openbmc/qemu/qapi/machine.json
/openbmc/qemu/qapi/sockets.json
/openbmc/qemu/qapi/tpm.json
/openbmc/qemu/qapi/transaction.json
/openbmc/qemu/qapi/ui.json
expr.py
schema.py
/openbmc/qemu/tests/qapi-schema/args-union.err
/openbmc/qemu/tests/qapi-schema/args-union.json
/openbmc/qemu/tests/qapi-schema/bad-base.err
/openbmc/qemu/tests/qapi-schema/bad-base.json
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/doc-good.out
/openbmc/qemu/tests/qapi-schema/doc-good.txt
/openbmc/qemu/tests/qapi-schema/flat-union-array-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.err
/openbmc/qemu/tests/qapi-schema/flat-union-base-union.json
/openbmc/qemu/tests/qapi-schema/flat-union-empty.json
/openbmc/qemu/tests/qapi-schema/flat-union-int-branch.json
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.err
/openbmc/qemu/tests/qapi-schema/flat-union-no-base.json
/openbmc/qemu/tests/qapi-schema/meson.build
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.out
/openbmc/qemu/tests/qapi-schema/reserved-member-u.json
/openbmc/qemu/tests/qapi-schema/union-base-empty.json
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.err
/openbmc/qemu/tests/qapi-schema/union-base-no-discriminator.json
/openbmc/qemu/tests/qapi-schema/union-branch-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/union-branch-invalid-dict.json
/openbmc/qemu/tests/qapi-schema/union-unknown.err
/openbmc/qemu/tests/qapi-schema/union-unknown.json
/openbmc/qemu/tests/unit/test-clone-visitor.c
/openbmc/qemu/tests/unit/test-qmp-cmds.c
/openbmc/qemu/tests/unit/test-qobject-input-visitor.c
/openbmc/qemu/tests/unit/test-qobject-output-visitor.c
/openbmc/qemu/tests/unit/test-yank.c
/openbmc/qemu/util/qemu-sockets.c
8ebc312017-Sep-2021 Markus Armbruster <armbru@redhat.com>

qapi: Stop enforcing "type name should not end in 'Kind'

I'm about to convert simple unions to flat unions, then drop simple
union support. The conversion involves making the implict enum types
exp

qapi: Stop enforcing "type name should not end in 'Kind'

I'm about to convert simple unions to flat unions, then drop simple
union support. The conversion involves making the implict enum types
explicit. To reduce churn, I'd like to name them exactly like the
implicit types they replace. However, these names are reserved for
the generator's use. They won't be once simple unions are gone. Stop
enforcing this naming rule now rather than then.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210917143134.412106-3-armbru@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/custom-runners.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/accel/tcg/tcg-accel-ops-rr.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/translator.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/block.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/gluster.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/iscsi.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/qcow2-refcount.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/qcow2.h
/openbmc/qemu/bsd-user/bsdload.c
/openbmc/qemu/bsd-user/elfcore.c
/openbmc/qemu/bsd-user/elfload.c
/openbmc/qemu/bsd-user/freebsd/host-os.h
/openbmc/qemu/bsd-user/freebsd/target_os_elf.h
/openbmc/qemu/bsd-user/freebsd/target_os_siginfo.h
/openbmc/qemu/bsd-user/freebsd/target_os_signal.h
/openbmc/qemu/bsd-user/freebsd/target_os_stack.h
/openbmc/qemu/bsd-user/freebsd/target_os_thread.h
/openbmc/qemu/bsd-user/freebsd/target_os_user.h
/openbmc/qemu/bsd-user/freebsd/target_os_vmparam.h
/openbmc/qemu/bsd-user/i386/target_arch.h
/openbmc/qemu/bsd-user/i386/target_arch_cpu.c
/openbmc/qemu/bsd-user/i386/target_arch_cpu.h
/openbmc/qemu/bsd-user/i386/target_arch_elf.h
/openbmc/qemu/bsd-user/i386/target_arch_reg.h
/openbmc/qemu/bsd-user/i386/target_arch_signal.h
/openbmc/qemu/bsd-user/i386/target_arch_sigtramp.h
/openbmc/qemu/bsd-user/i386/target_arch_thread.h
/openbmc/qemu/bsd-user/i386/target_arch_vmparam.h
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/bsd-user/mmap.c
/openbmc/qemu/bsd-user/netbsd/host-os.h
/openbmc/qemu/bsd-user/netbsd/target_os_elf.h
/openbmc/qemu/bsd-user/netbsd/target_os_siginfo.h
/openbmc/qemu/bsd-user/netbsd/target_os_signal.h
/openbmc/qemu/bsd-user/netbsd/target_os_stack.h
/openbmc/qemu/bsd-user/netbsd/target_os_thread.h
/openbmc/qemu/bsd-user/openbsd/host-os.h
/openbmc/qemu/bsd-user/openbsd/target_os_elf.h
/openbmc/qemu/bsd-user/openbsd/target_os_siginfo.h
/openbmc/qemu/bsd-user/openbsd/target_os_signal.h
/openbmc/qemu/bsd-user/openbsd/target_os_stack.h
/openbmc/qemu/bsd-user/openbsd/target_os_thread.h
/openbmc/qemu/bsd-user/qemu.h
/openbmc/qemu/bsd-user/syscall.c
/openbmc/qemu/bsd-user/syscall_defs.h
/openbmc/qemu/bsd-user/x86_64/target_arch.h
/openbmc/qemu/bsd-user/x86_64/target_arch_cpu.c
/openbmc/qemu/bsd-user/x86_64/target_arch_cpu.h
/openbmc/qemu/bsd-user/x86_64/target_arch_elf.h
/openbmc/qemu/bsd-user/x86_64/target_arch_reg.h
/openbmc/qemu/bsd-user/x86_64/target_arch_signal.h
/openbmc/qemu/bsd-user/x86_64/target_arch_sigtramp.h
/openbmc/qemu/bsd-user/x86_64/target_arch_thread.h
/openbmc/qemu/bsd-user/x86_64/target_arch_vmparam.h
/openbmc/qemu/chardev/char-mux.c
/openbmc/qemu/chardev/char.c
/openbmc/qemu/configure
/openbmc/qemu/contrib/elf2dmp/download.c
/openbmc/qemu/contrib/elf2dmp/pdb.c
/openbmc/qemu/docs/about/build-platforms.rst
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/index.rst
/openbmc/qemu/docs/devel/code-of-conduct.rst
/openbmc/qemu/docs/devel/index.rst
/openbmc/qemu/docs/devel/qapi-code-gen.rst
/openbmc/qemu/docs/devel/tcg-icount.rst
/openbmc/qemu/docs/index.rst
/openbmc/qemu/docs/interop/index.rst
/openbmc/qemu/docs/specs/index.rst
/openbmc/qemu/docs/system/arm/nuvoton.rst
/openbmc/qemu/docs/system/cpu-models-x86.rst.inc
/openbmc/qemu/docs/system/i386/cpu.rst
/openbmc/qemu/docs/system/index.rst
/openbmc/qemu/docs/system/qemu-block-drivers.rst
/openbmc/qemu/docs/system/qemu-cpu-models.rst
/openbmc/qemu/docs/system/qemu-manpage.rst
/openbmc/qemu/docs/system/riscv/sifive_u.rst
/openbmc/qemu/docs/system/riscv/virt.rst
/openbmc/qemu/docs/system/target-i386.rst
/openbmc/qemu/docs/tools/index.rst
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/docs/tools/qemu-nbd.rst
/openbmc/qemu/docs/tools/qemu-pr-helper.rst
/openbmc/qemu/docs/tools/qemu-storage-daemon.rst
/openbmc/qemu/docs/tools/qemu-trace-stap.rst
/openbmc/qemu/docs/user/index.rst
/openbmc/qemu/ebpf/meson.build
/openbmc/qemu/gdbstub.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/aspeed.c
/openbmc/qemu/hw/arm/aspeed_ast2600.c
/openbmc/qemu/hw/arm/aspeed_soc.c
/openbmc/qemu/hw/arm/mps2-tz.c
/openbmc/qemu/hw/arm/mps2.c
/openbmc/qemu/hw/arm/npcm7xx_boards.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/trace-events
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/virtio-gpu-udmabuf.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/dma/sifive_pdma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/intc/Kconfig
/openbmc/qemu/hw/intc/arm_gicv3.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/intc/arm_gicv3_dist.c
/openbmc/qemu/hw/intc/arm_gicv3_its.c
/openbmc/qemu/hw/intc/arm_gicv3_its_common.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/intc/arm_gicv3_redist.c
/openbmc/qemu/hw/intc/gicv3_internal.h
/openbmc/qemu/hw/intc/ibex_plic.c
/openbmc/qemu/hw/intc/meson.build
/openbmc/qemu/hw/intc/riscv_aclint.c
/openbmc/qemu/hw/intc/sifive_plic.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/pca9552.c
/openbmc/qemu/hw/misc/zynq_slcr.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/nvme/ctrl.c
/openbmc/qemu/hw/nvme/trace-events
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/riscv/Kconfig
/openbmc/qemu/hw/riscv/microchip_pfsoc.c
/openbmc/qemu/hw/riscv/opentitan.c
/openbmc/qemu/hw/riscv/shakti_c.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/sifive_u.c
/openbmc/qemu/hw/riscv/spike.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/sensor/Kconfig
/openbmc/qemu/hw/sensor/dps310.c
/openbmc/qemu/hw/sensor/meson.build
/openbmc/qemu/hw/sparc/sun4m.c
/openbmc/qemu/hw/timer/Kconfig
/openbmc/qemu/hw/timer/ibex_timer.c
/openbmc/qemu/hw/timer/meson.build
/openbmc/qemu/hw/timer/sifive_pwm.c
/openbmc/qemu/hw/timer/trace-events
/openbmc/qemu/hw/vfio/igd.c
/openbmc/qemu/hw/vfio/pci-quirks.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/block/block_int.h
/openbmc/qemu/include/block/nvme.h
/openbmc/qemu/include/chardev/char.h
/openbmc/qemu/include/exec/exec-all.h
/openbmc/qemu/include/exec/gen-icount.h
/openbmc/qemu/include/exec/translate-all.h
/openbmc/qemu/include/exec/translator.h
/openbmc/qemu/include/hw/arm/aspeed.h
/openbmc/qemu/include/hw/arm/aspeed_soc.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/core/tcg-cpu-ops.h
/openbmc/qemu/include/hw/intc/arm_gicv3_common.h
/openbmc/qemu/include/hw/intc/arm_gicv3_its_common.h
/openbmc/qemu/include/hw/intc/ibex_plic.h
/openbmc/qemu/include/hw/intc/riscv_aclint.h
/openbmc/qemu/include/hw/intc/sifive_plic.h
/openbmc/qemu/include/hw/misc/aspeed_scu.h
/openbmc/qemu/include/hw/misc/mac_via.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/riscv/sifive_u.h
/openbmc/qemu/include/hw/riscv/virt.h
/openbmc/qemu/include/hw/timer/ibex_timer.h
/openbmc/qemu/include/hw/timer/sifive_pwm.h
/openbmc/qemu/include/hw/watchdog/wdt_aspeed.h
/openbmc/qemu/include/sysemu/hvf_int.h
/openbmc/qemu/include/sysemu/nvmm.h
/openbmc/qemu/include/tcg/tcg-op.h
/openbmc/qemu/include/ui/console.h
/openbmc/qemu/include/ui/egl-helpers.h
/openbmc/qemu/include/ui/gtk.h
/openbmc/qemu/linux-user/aarch64/cpu_loop.c
/openbmc/qemu/linux-user/aarch64/signal.c
/openbmc/qemu/linux-user/alpha/cpu_loop.c
/openbmc/qemu/linux-user/alpha/signal.c
/openbmc/qemu/linux-user/arm/cpu_loop.c
/openbmc/qemu/linux-user/arm/signal.c
/openbmc/qemu/linux-user/cris/cpu_loop.c
/openbmc/qemu/linux-user/cris/signal.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/exit.c
/openbmc/qemu/linux-user/fd-trans.c
/openbmc/qemu/linux-user/flatload.c
/openbmc/qemu/linux-user/hexagon/cpu_loop.c
/openbmc/qemu/linux-user/hexagon/signal.c
/openbmc/qemu/linux-user/hppa/cpu_loop.c
/openbmc/qemu/linux-user/hppa/signal.c
/openbmc/qemu/linux-user/i386/cpu_loop.c
/openbmc/qemu/linux-user/i386/signal.c
/openbmc/qemu/linux-user/linuxload.c
/openbmc/qemu/linux-user/loader.h
/openbmc/qemu/linux-user/m68k/cpu_loop.c
/openbmc/qemu/linux-user/m68k/signal.c
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/linux-user/microblaze/cpu_loop.c
/openbmc/qemu/linux-user/microblaze/signal.c
/openbmc/qemu/linux-user/mips/cpu_loop.c
/openbmc/qemu/linux-user/mips/signal.c
/openbmc/qemu/linux-user/mmap.c
/openbmc/qemu/linux-user/nios2/cpu_loop.c
/openbmc/qemu/linux-user/nios2/signal.c
/openbmc/qemu/linux-user/openrisc/cpu_loop.c
/openbmc/qemu/linux-user/openrisc/signal.c
/openbmc/qemu/linux-user/ppc/cpu_loop.c
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/linux-user/qemu.h
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/linux-user/riscv/signal.c
/openbmc/qemu/linux-user/s390x/cpu_loop.c
/openbmc/qemu/linux-user/s390x/signal.c
/openbmc/qemu/linux-user/safe-syscall.h
/openbmc/qemu/linux-user/semihost.c
/openbmc/qemu/linux-user/sh4/cpu_loop.c
/openbmc/qemu/linux-user/sh4/signal.c
/openbmc/qemu/linux-user/signal-common.h
/openbmc/qemu/linux-user/signal.c
/openbmc/qemu/linux-user/sparc/cpu_loop.c
/openbmc/qemu/linux-user/sparc/signal.c
/openbmc/qemu/linux-user/strace.c
/openbmc/qemu/linux-user/strace.h
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/uaccess.c
/openbmc/qemu/linux-user/uname.c
/openbmc/qemu/linux-user/user-internals.h
/openbmc/qemu/linux-user/user-mmap.h
/openbmc/qemu/linux-user/vm86.c
/openbmc/qemu/linux-user/xtensa/cpu_loop.c
/openbmc/qemu/linux-user/xtensa/signal.c
/openbmc/qemu/meson.build
/openbmc/qemu/pc-bios/keymaps/meson.build
/openbmc/qemu/pc-bios/openbios-ppc
/openbmc/qemu/pc-bios/openbios-sparc32
/openbmc/qemu/pc-bios/openbios-sparc64
/openbmc/qemu/python/qemu/machine/machine.py
/openbmc/qemu/python/setup.cfg
/openbmc/qemu/qemu-img-cmds.hx
/openbmc/qemu/qemu-img.c
/openbmc/qemu/roms/openbios
expr.py
/openbmc/qemu/scripts/simplebench/img_bench_templater.py
/openbmc/qemu/scripts/simplebench/table_templater.py
/openbmc/qemu/semihosting/arm-compat-semi.c
/openbmc/qemu/softmmu/qdev-monitor.c
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/alpha/helper.c
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/arm_ldst.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/cpu_tcg.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/hvf/meson.build
/openbmc/qemu/target/arm/hvf/trace-events
/openbmc/qemu/target/arm/hvf_arm.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/syndrome.h
/openbmc/qemu/target/arm/translate-a64.c
/openbmc/qemu/target/arm/translate-m-nocp.c
/openbmc/qemu/target/arm/translate-mve.c
/openbmc/qemu/target/arm/translate-vfp.c
/openbmc/qemu/target/arm/translate.c
/openbmc/qemu/target/arm/translate.h
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/avr/translate.c
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/cris/helper.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hexagon/translate.c
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu-sysemu.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/i386/nvmm/nvmm-all.c
/openbmc/qemu/target/i386/svm.h
/openbmc/qemu/target/i386/tcg/helper-tcg.h
/openbmc/qemu/target/i386/tcg/seg_helper.c
/openbmc/qemu/target/i386/tcg/sysemu/excp_helper.c
/openbmc/qemu/target/i386/tcg/sysemu/misc_helper.c
/openbmc/qemu/target/i386/tcg/sysemu/seg_helper.c
/openbmc/qemu/target/i386/tcg/sysemu/svm_helper.c
/openbmc/qemu/target/i386/tcg/tcg-cpu.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/m68k/m68k-semi.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/cpu.c
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/microblaze/helper.c
/openbmc/qemu/target/mips/cpu.c
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/internal.h
/openbmc/qemu/target/mips/tcg/exception.c
/openbmc/qemu/target/mips/tcg/micromips_translate.c.inc
/openbmc/qemu/target/mips/tcg/mips16e_translate.c.inc
/openbmc/qemu/target/mips/tcg/nanomips_translate.c.inc
/openbmc/qemu/target/mips/tcg/sysemu/tlb_helper.c
/openbmc/qemu/target/mips/tcg/tcg-internal.h
/openbmc/qemu/target/mips/tcg/translate.c
/openbmc/qemu/target/mips/tcg/user/tlb_helper.c
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/nios2/nios2-semi.c
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/openrisc/interrupt.c
/openbmc/qemu/target/openrisc/meson.build
/openbmc/qemu/target/openrisc/translate.c
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/cpu_init.c
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/translate.c
/openbmc/qemu/target/rx/cpu.c
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/rx/helper.c
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/s390x-internal.h
/openbmc/qemu/target/s390x/tcg/translate.c
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sh4/helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/sparc/cpu.c
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/sparc/translate.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/exc_helper.c
/openbmc/qemu/target/xtensa/translate.c
/openbmc/qemu/tcg/arm/tcg-target.c.inc
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.c.inc
/openbmc/qemu/tcg/mips/tcg-target.c.inc
/openbmc/qemu/tcg/mips/tcg-target.h
/openbmc/qemu/tcg/ppc/tcg-target.c.inc
/openbmc/qemu/tcg/region.c
/openbmc/qemu/tcg/riscv/tcg-target.c.inc
/openbmc/qemu/tcg/sparc/tcg-target.c.inc
/openbmc/qemu/tests/data/acpi/virt/IORT
/openbmc/qemu/tests/data/acpi/virt/IORT.memhp
/openbmc/qemu/tests/data/acpi/virt/IORT.numamem
/openbmc/qemu/tests/data/acpi/virt/IORT.pxb
/openbmc/qemu/tests/qapi-schema/doc-good.json
/openbmc/qemu/tests/qapi-schema/enum-if-invalid.json
/openbmc/qemu/tests/qapi-schema/meson.build
/openbmc/qemu/tests/qapi-schema/qapi-schema-test.json
/openbmc/qemu/tests/qemu-iotests/122
/openbmc/qemu/tests/qemu-iotests/271
/openbmc/qemu/tests/qemu-iotests/271.out
/openbmc/qemu/tests/qemu-iotests/297
/openbmc/qemu/tests/qemu-iotests/iotests.py
/openbmc/qemu/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
/openbmc/qemu/tests/qemu-iotests/tests/migrate-bitmaps-test
/openbmc/qemu/tests/qemu-iotests/tests/migrate-during-backup
/openbmc/qemu/tests/qemu-iotests/tests/migrate-during-backup.out
/openbmc/qemu/tests/qemu-iotests/tests/mirror-top-perms
/openbmc/qemu/thunk.c
/openbmc/qemu/tools/virtiofsd/fuse_lowlevel.h
/openbmc/qemu/tools/virtiofsd/fuse_virtio.c
/openbmc/qemu/tools/virtiofsd/passthrough_seccomp.c
/openbmc/qemu/trace/meson.build
/openbmc/qemu/ui/egl-helpers.c
/openbmc/qemu/ui/gtk-egl.c
/openbmc/qemu/ui/gtk-gl-area.c
/openbmc/qemu/ui/gtk.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/qemu-openpty.c
/openbmc/qemu/util/qemu-thread-posix.c
62f2758907-Sep-2021 Markus Armbruster <armbru@redhat.com>

qapi: Fix bogus error for 'if': { 'not': '' }

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210908045428.2689093-6-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.

qapi: Fix bogus error for 'if': { 'not': '' }

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210908045428.2689093-6-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[check_infix()'s type hint fixed]

show more ...

e2ff14a507-Sep-2021 Markus Armbruster <armbru@redhat.com>

qapi: Bury some unused code in class Indentation

.__int__() has never been used. Drop it.

.decrease() raises ArithmeticError when asked to decrease indentation
level below zero. Nothing catches i

qapi: Bury some unused code in class Indentation

.__int__() has never been used. Drop it.

.decrease() raises ArithmeticError when asked to decrease indentation
level below zero. Nothing catches it. It's a programming error.
Dumb down to assert.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210908045428.2689093-4-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>

show more ...

916fca1707-Sep-2021 Markus Armbruster <armbru@redhat.com>

qapi: Drop Indentation.__bool__()

Intentation.__bool__() is not worth its keep: it has just one user,
which can just as well check .__str__() instead.

Signed-off-by: Markus Armbruster <armbru@redha

qapi: Drop Indentation.__bool__()

Intentation.__bool__() is not worth its keep: it has just one user,
which can just as well check .__str__() instead.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210908045428.2689093-3-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>

show more ...

12345678910>>...21