History log of /openbmc/qemu/qapi/ (Results 451 – 475 of 1710)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
57df0dff28-Oct-2021 Markus Armbruster <armbru@redhat.com>

qapi: Extend -compat to set policy for unstable interfaces

New option parameters unstable-input and unstable-output set policy
for unstable interfaces just like deprecated-input and
deprecated-outpu

qapi: Extend -compat to set policy for unstable interfaces

New option parameters unstable-input and unstable-output set policy
for unstable interfaces just like deprecated-input and
deprecated-output set policy for deprecated interfaces (see commit
6dd75472d5 "qemu-options: New -compat to set policy for deprecated
interfaces"). This is intended for testing users of the management
interfaces. It is experimental.

For now, this covers only syntactic aspects of QMP, i.e. stuff tagged
with feature 'unstable'. We may want to extend it to cover semantic
aspects, or the command line.

Note that there is no good way for management application to detect
presence of these new option parameters: they are 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>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20211028102520.747396-10-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Doc comments fixed up]

show more ...

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

qapi: Factor out compat_policy_input_ok()

The code to check policy for handling deprecated input is triplicated.
Factor it out into compat_policy_input_ok() before I mess with it in
the next commit.

qapi: Factor out compat_policy_input_ok()

The code to check policy for handling deprecated input is triplicated.
Factor it out into compat_policy_input_ok() before I mess with it in
the next commit.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211028102520.747396-9-armbru@redhat.com>
[Policy code moved from qmp-dispatch.c to qapi-util.c to make visitors
link without qmp-dispatch.o]

show more ...

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 ...

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

qapi: Mark unstable QMP parts with feature 'unstable'

Add special feature 'unstable' everywhere the name starts with 'x-',
except for InputBarrierProperties member x-origin and
MemoryBackendProperti

qapi: Mark unstable QMP parts with feature 'unstable'

Add special feature 'unstable' everywhere the name starts with 'x-',
except for InputBarrierProperties member x-origin and
MemoryBackendProperties member x-use-canonical-path-for-ramblock-id,
because these two are actually stable.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Message-Id: <20211028102520.747396-3-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 ...

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

qapi: Move compat policy from QObject to generic visitor

The next commit needs to access compat policy from the generic visitor
core. Move it there from qobject input and output visitor.

Signed-of

qapi: Move compat policy from QObject to generic visitor

The next commit needs to access compat policy from the generic visitor
core. Move it there from qobject input and output visitor.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20211025042405.3762351-4-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 ...

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

qapi: Improve input_type_enum()'s error message

The error message claims the parameter is invalid:

$ qemu-system-x86_64 -object qom-type=nonexistent
qemu-system-x86_64: -object qom-type=non

qapi: Improve input_type_enum()'s error message

The error message claims the parameter is invalid:

$ qemu-system-x86_64 -object qom-type=nonexistent
qemu-system-x86_64: -object qom-type=nonexistent: Invalid parameter 'nonexistent'

What's wrong is actually the *value* 'nonexistent'. Improve the
message to

qemu-system-x86_64: -object qom-type=nonexistent: Parameter 'qom-type' does not accept value 'nonexistent'

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/608
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211020180231.434071-1-armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/edk2.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/README.rst
/openbmc/qemu/accel/tcg/cpu-exec.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/coroutines.h
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/block/trace-events
/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/cpu.c
/openbmc/qemu/disas/nios2.c
/openbmc/qemu/docs/system/device-emulation.rst
/openbmc/qemu/docs/system/devices/vhost-user-rng.rst
/openbmc/qemu/docs/tools/virtiofsd.rst
/openbmc/qemu/dtc
/openbmc/qemu/hw/acpi/aml-build.c
/openbmc/qemu/hw/arm/aspeed.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/core/cpu-common.c
/openbmc/qemu/hw/core/loader.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/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-host/mv64361.c
/openbmc/qemu/hw/pci/pci_bridge.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/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/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/trace-events
/openbmc/qemu/hw/ssi/aspeed_smc.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.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/include/disas/dis-asm.h
/openbmc/qemu/include/hw/acpi/aml-build.h
/openbmc/qemu/include/hw/arm/virt.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/elf_ops.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/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.h
/openbmc/qemu/include/hw/virtio/virtio-iommu.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/net/vhost_net.h
/openbmc/qemu/include/sysemu/block-backend.h
/openbmc/qemu/include/sysemu/device_tree.h
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/meson.build
/openbmc/qemu/linux-user/ppc/signal.c
/openbmc/qemu/linux-user/riscv/cpu_loop.c
/openbmc/qemu/meson.build
/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/net/net.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/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/po/tr.po
qapi-visit-core.c
/openbmc/qemu/roms/Makefile
/openbmc/qemu/roms/Makefile.edk2
/openbmc/qemu/roms/seabios
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scripts/block-coroutine-wrapper.py
/openbmc/qemu/scripts/make-release
/openbmc/qemu/semihosting/arm-compat-semi.c
/openbmc/qemu/softmmu/device_tree.c
/openbmc/qemu/softmmu/physmem.c
/openbmc/qemu/softmmu/qdev-monitor.c
/openbmc/qemu/subprojects/libvhost-user/libvhost-user.c
/openbmc/qemu/target/alpha/translate.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/translate.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/helper.h
/openbmc/qemu/target/i386/tcg/misc_helper.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/m68k/translate.c
/openbmc/qemu/target/microblaze/translate.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/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/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/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/translate.c
/openbmc/qemu/target/sh4/helper.h
/openbmc/qemu/target/sh4/op_helper.c
/openbmc/qemu/target/sh4/translate.c
/openbmc/qemu/target/tricore/helper.h
/openbmc/qemu/target/tricore/op_helper.c
/openbmc/qemu/target/tricore/translate.c
/openbmc/qemu/target/xtensa/translate.c
/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.ivrs
/openbmc/qemu/tests/data/acpi/q35/DSDT.multi-bridge
/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/qemu-iotests/049.out
/openbmc/qemu/tests/qemu-iotests/206.out
/openbmc/qemu/tests/qemu-iotests/237.out
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qemu-iotests/287
/openbmc/qemu/tests/qemu-iotests/308
/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/libqos/libqtest.h
/openbmc/qemu/tests/qtest/libqtest.c
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/vhost-user-blk-test.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/unit/check-qom-proplist.c
/openbmc/qemu/tools/virtiofsd/fuse_virtio.c
/openbmc/qemu/tools/virtiofsd/passthrough_ll.c
5dacda5108-Oct-2021 Kevin Wolf <kwolf@redhat.com>

vl: Enable JSON syntax for -device

Like we already do for -object, introduce support for JSON syntax in
-device, which can be kept stable in the long term and guarantees that a
single code path with

vl: Enable JSON syntax for -device

Like we already do for -object, introduce support for JSON syntax in
-device, which can be kept stable in the long term and guarantees that a
single code path with identical behaviour is used for both QMP and the
command line. Compared to the QemuOpts based code, the parser contains
less surprises and has support for non-scalar options (lists and
structs). Switching management tools to JSON means that we can more
easily change the "human" CLI syntax from QemuOpts to the keyval parser
later.

In the QAPI schema, a feature flag is added to the device-add command to
allow management tools to detect support for this.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20211008133442.141332-16-kwolf@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/Kconfig.host
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/hvf/hvf-accel-ops.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/ldst_common.c.inc
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/audio/meson.build
/openbmc/qemu/block/meson.build
/openbmc/qemu/chardev/meson.build
/openbmc/qemu/configure
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/loads-stores.rst
/openbmc/qemu/docs/meson.build
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev.c
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/i386/sgx.c
/openbmc/qemu/hw/mem/Kconfig
/openbmc/qemu/hw/mem/meson.build
/openbmc/qemu/hw/misc/applesmc.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/pci-bridge/pci_expander_bridge.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/xen/xen-legacy-backend.c
/openbmc/qemu/include/exec/cpu_ldst.h
/openbmc/qemu/include/hw/i386/sgx-epc.h
/openbmc/qemu/include/hw/qdev-core.h
/openbmc/qemu/include/hw/virtio/virtio-net.h
/openbmc/qemu/include/monitor/qdev.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/tcg/tcg-ldst.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/net/meson.build
/openbmc/qemu/net/vhost-user.c
/openbmc/qemu/net/vhost-vdpa.c
qdev.json
/openbmc/qemu/qom/object.c
/openbmc/qemu/qom/object_interfaces.c
/openbmc/qemu/scripts/meson-buildoptions.py
/openbmc/qemu/scripts/meson-buildoptions.sh
/openbmc/qemu/scripts/meson.build
/openbmc/qemu/softmmu/memory.c
/openbmc/qemu/softmmu/qdev-monitor.c
/openbmc/qemu/softmmu/vl.c
/openbmc/qemu/stubs/meson.build
/openbmc/qemu/target/alpha/translate.c
/openbmc/qemu/target/arm/helper-a64.c
/openbmc/qemu/target/arm/m_helper.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/tcg/mem_helper.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/mips/tcg/msa_helper.c
/openbmc/qemu/target/ppc/mem_helper.c
/openbmc/qemu/target/ppc/translate.c
/openbmc/qemu/target/s390x/tcg/mem_helper.c
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tests/qemu-iotests/051
/openbmc/qemu/tests/qemu-iotests/051.pc.out
/openbmc/qemu/tests/qemu-iotests/245
/openbmc/qemu/tests/qtest/fuzz/meson.build
/openbmc/qemu/tests/tcg/x86_64/system/kernel.ld
/openbmc/qemu/trace/meson.build
/openbmc/qemu/trace/simple.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/meson.build
/openbmc/qemu/util/qemu-option.c
/openbmc/qemu/util/qemu-thread-posix.c
f1279fc128-Sep-2021 Thomas Huth <thuth@redhat.com>

qapi: Make some ObjectTypes depend on the build settings

Some of the ObjectType entries already depend on CONFIG_* switches.
Some others also only make sense with certain configurations, but
are cur

qapi: Make some ObjectTypes depend on the build settings

Some of the ObjectType entries already depend on CONFIG_* switches.
Some others also only make sense with certain configurations, but
are currently always listed in the ObjectType enum. Let's make them
depend on the correpsonding CONFIG_* switches, too, so that upper
layers (like libvirt) have a better way to determine which features
are available in QEMU.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210928160232.432980-1-thuth@redhat.com>
[Do the same for MemoryBackendEpcProperties. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

993e260507-Oct-2021 Philippe Mathieu-Daudé <philmd@redhat.com>

qapi/misc-target: Group SEV QAPI definitions

There is already a section with various SEV commands / types,
so move the SEV guest attestation together.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.co

qapi/misc-target: Group SEV QAPI definitions

There is already a section with various SEV commands / types,
so move the SEV guest attestation together.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007161716.453984-3-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

b50f6dc107-Oct-2021 Philippe Mathieu-Daudé <philmd@redhat.com>

qapi/misc-target: Wrap long 'SEV Attestation Report' long lines

Wrap long lines before 70 characters for legibility.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbrust

qapi/misc-target: Wrap long 'SEV Attestation Report' long lines

Wrap long lines before 70 characters for legibility.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007161716.453984-2-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@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/static_checks.yml
/openbmc/qemu/.travis.yml
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/atomic_common.c.inc
/openbmc/qemu/accel/tcg/atomic_template.h
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/plugin-gen.c
/openbmc/qemu/accel/tcg/user-exec.c
/openbmc/qemu/block.c
/openbmc/qemu/block/aio_task.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/configure
/openbmc/qemu/disas/riscv.c
/openbmc/qemu/docs/meson.build
/openbmc/qemu/docs/system/i386/kvm-pv.rst
/openbmc/qemu/docs/system/target-i386.rst
/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/virt-acpi-build.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/machine.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/x86.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/misc/applesmc.c
/openbmc/qemu/hw/remote/proxy.c
/openbmc/qemu/hw/riscv/shakti_c.c
/openbmc/qemu/hw/scsi/scsi-generic.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/virtio/vhost-user-vsock.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.c
/openbmc/qemu/hw/watchdog/trace-events
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/block/block.h
/openbmc/qemu/include/block/block_int.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/char/mchp_pfsoc_mmuart.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/display/macfb.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/ssi/aspeed_smc.h
/openbmc/qemu/include/hw/virtio/vhost-vsock-common.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/qemu/plugin.h
/openbmc/qemu/include/sysemu/block-backend.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/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/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/migration/block-dirty-bitmap.c
/openbmc/qemu/migration/migration.c
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/plugins/api.c
/openbmc/qemu/plugins/core.c
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/plugins/qemu-plugins.symbols
/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
misc-target.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/scripts/mtest2make.py
/openbmc/qemu/storage-daemon/qemu-storage-daemon.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/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/i386/sev-stub.c
/openbmc/qemu/target/i386/sev.c
/openbmc/qemu/target/i386/sev_i386.h
/openbmc/qemu/target/i386/tcg/mem_helper.c
/openbmc/qemu/target/m68k/op_helper.c
/openbmc/qemu/target/mips/tcg/msa_helper.c
/openbmc/qemu/target/riscv/bitmanip_helper.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/helper.h
/openbmc/qemu/target/riscv/insn32.decode
/openbmc/qemu/target/riscv/insn_trans/trans_rvb.c.inc
/openbmc/qemu/target/riscv/translate.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/translate.c
/openbmc/qemu/target/sparc/ldst_helper.c
/openbmc/qemu/target/xtensa/cores.list
/openbmc/qemu/target/xtensa/import_core.sh
/openbmc/qemu/target/xtensa/meson.build
/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/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.memhp
/openbmc/qemu/tests/data/acpi/q35/DSDT.mmio64
/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/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/109.out
/openbmc/qemu/tests/qemu-iotests/235
/openbmc/qemu/tests/qemu-iotests/297
/openbmc/qemu/tests/qemu-iotests/300
/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/meson.build
/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/sh4/Makefile.target
/openbmc/qemu/tests/tcg/x86_64/Makefile.target
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-blockjob.c
/openbmc/qemu/trace-events
/openbmc/qemu/trace/meson.build
/openbmc/qemu/util/compatfd.c
d89dd28f29-Sep-2021 David Hildenbrand <david@redhat.com>

qapi: Include qom-path in MEMORY_DEVICE_SIZE_CHANGE qapi events

As we might not always have a device id, it is impossible to always
match MEMORY_DEVICE_SIZE_CHANGE events to an actual device. Let's

qapi: Include qom-path in MEMORY_DEVICE_SIZE_CHANGE qapi events

As we might not always have a device id, it is impossible to always
match MEMORY_DEVICE_SIZE_CHANGE events to an actual device. Let's
include the qom-path in the event, which allows for reliable mapping of
events to devices.

Fixes: 722a3c783ef4 ("virtio-pci: Send qapi events when the virtio-mem size changes")
Suggested-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210929162445.64060-3-david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

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

qapi: Add spaces after symbol declaration for consistency

Several QGA definitions omit a blank line after the symbol
declaration. This works OK currently, but it's the only place where we
do this. A

qapi: Add spaces after symbol declaration for consistency

Several QGA definitions omit a blank line after the symbol
declaration. This works OK currently, but it's the only place where we
do this. Adjust it for consistency.

Future commits may wind up enforcing this formatting.

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

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

show more ...

7237c7ce28-Sep-2021 Yanan Wang <wangyanan55@huawei.com>

qapi/machine: Fix an incorrect comment of SMPConfiguration

The explanation of @cores should be "number of cores per die" but
not "number of cores per thread". Let's fix it.

Fixes: 1e63fe685804 ("ma

qapi/machine: Fix an incorrect comment of SMPConfiguration

The explanation of @cores should be "number of cores per die" but
not "number of cores per thread". Let's fix it.

Fixes: 1e63fe685804 ("machine: pass QAPI struct to mc->smp_parse")
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210929025816.21076-2-wangyanan55@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/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/system/arm/xlnx-versal-virt.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/hw/Kconfig
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/allwinner-h3.c
/openbmc/qemu/hw/arm/sabrelite.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/sysbus.c
/openbmc/qemu/hw/gpio/bcm2835_gpio.c
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/i2c/core.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/ipack/ipack.c
/openbmc/qemu/hw/ipack/tpci200.c
/openbmc/qemu/hw/isa/isa-bus.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/nubus-bridge.c
/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/spapr_vio.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/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/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/xen/xen-bus.c
/openbmc/qemu/hw/xen/xen-legacy-backend.c
/openbmc/qemu/include/hw/arm/xlnx-versal.h
/openbmc/qemu/include/hw/arm/xlnx-zynqmp.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/ipack/ipack.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/qdev-core.h
/openbmc/qemu/include/hw/scsi/scsi.h
machine.json
/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/psci.c
653163fc07-Sep-2021 Marc-André Lureau <marcandre.lureau@redhat.com>

build-sys: add HAVE_IPPROTO_MPTCP

The QAPI schema shouldn't rely on C system headers #define, but on
configure-time project #define, so we can express the build condition in
a C-independent way.

Si

build-sys: add HAVE_IPPROTO_MPTCP

The QAPI schema shouldn't rely on C system headers #define, but on
configure-time project #define, so we can express the build condition in
a C-independent way.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210907121943.3498701-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

0205c4fa10-Sep-2021 Yang Zhong <yang.zhong@intel.com>

target/i386: Add the query-sgx-capabilities QMP command

Libvirt can use query-sgx-capabilities to get the host
sgx capabilities to decide how to allocate SGX EPC size to VM.

Signed-off-by: Yang Zho

target/i386: Add the query-sgx-capabilities QMP command

Libvirt can use query-sgx-capabilities to get the host
sgx capabilities to decide how to allocate SGX EPC size to VM.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20210910102258.46648-3-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

57d874c410-Sep-2021 Yang Zhong <yang.zhong@intel.com>

target/i386: Add HMP and QMP interfaces for SGX

The QMP and HMP interfaces can be used by monitor or QMP tools to retrieve
the SGX information from VM side when SGX is enabled on Intel platform.

Si

target/i386: Add HMP and QMP interfaces for SGX

The QMP and HMP interfaces can be used by monitor or QMP tools to retrieve
the SGX information from VM side when SGX is enabled on Intel platform.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20210910102258.46648-2-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

a7c565a919-Jul-2021 Yang Zhong <yang.zhong@intel.com>

sgx-epc: Add the fill_device_info() callback support

Since there is no fill_device_info() callback support, and when we
execute "info memory-devices" command in the monitor, the segfault
will be fou

sgx-epc: Add the fill_device_info() callback support

Since there is no fill_device_info() callback support, and when we
execute "info memory-devices" command in the monitor, the segfault
will be found.

This patch will add this callback support and "info memory-devices"
will show sgx epc memory exposed to guest. The result as below:

qemu) info memory-devices
Memory device [sgx-epc]: ""
memaddr: 0x180000000
size: 29360128
memdev: /objects/mem1
Memory device [sgx-epc]: ""
memaddr: 0x181c00000
size: 10485760
memdev: /objects/mem2

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20210719112136.57018-33-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

dfce81f128-Sep-2021 Sean Christopherson <sean.j.christopherson@intel.com>

vl: Add sgx compound properties to expose SGX EPC sections to guest

Because SGX EPC is enumerated through CPUID, EPC "devices" need to be
realized prior to realizing the vCPUs themselves, i.e. long

vl: Add sgx compound properties to expose SGX EPC sections to guest

Because SGX EPC is enumerated through CPUID, EPC "devices" need to be
realized prior to realizing the vCPUs themselves, i.e. long before
generic devices are parsed and realized. From a virtualization
perspective, the CPUID aspect also means that EPC sections cannot be
hotplugged without paravirtualizing the guest kernel (hardware does
not support hotplugging as EPC sections must be locked down during
pre-boot to provide EPC's security properties).

So even though EPC sections could be realized through the generic
-devices command, they need to be created much earlier for them to
actually be usable by the guest. Place all EPC sections in a
contiguous block, somewhat arbitrarily starting after RAM above 4g.
Ensuring EPC is in a contiguous region simplifies calculations, e.g.
device memory base, PCI hole, etc..., allows dynamic calculation of the
total EPC size, e.g. exposing EPC to guests does not require -maxmem,
and last but not least allows all of EPC to be enumerated in a single
ACPI entry, which is expected by some kernels, e.g. Windows 7 and 8.

The new compound properties command for sgx like below:
......
-object memory-backend-epc,id=mem1,size=28M,prealloc=on \
-object memory-backend-epc,id=mem2,size=10M \
-M sgx-epc.0.memdev=mem1,sgx-epc.1.memdev=mem2

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20210719112136.57018-6-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

46a1d21d19-Jul-2021 Yang Zhong <yang.zhong@intel.com>

qom: Add memory-backend-epc ObjectOptions support

Add the new 'memory-backend-epc' user creatable QOM object in
the ObjectOptions to support SGX since v6.1, or the sgx backend
object cannot bootup.

qom: Add memory-backend-epc ObjectOptions support

Add the new 'memory-backend-epc' user creatable QOM object in
the ObjectOptions to support SGX since v6.1, or the sgx backend
object cannot bootup.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20210719112136.57018-4-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/backends/hostmem-epc.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/configs/devices/i386-softmmu/default.mak
/openbmc/qemu/docs/devel/qapi-code-gen.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/nvdimm.txt
/openbmc/qemu/docs/system/multi-process.rst
/openbmc/qemu/hmp-commands.hx
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/pc.c
/openbmc/qemu/hw/m68k/q800.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/vfio/common.c
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/i386/hostmem-epc.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/meson.build
/openbmc/qemu/monitor/hmp-cmds.c
/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
qom.json
/openbmc/qemu/scripts/qapi/expr.py
/openbmc/qemu/scripts/qapi/schema.py
/openbmc/qemu/softmmu/memory.c
/openbmc/qemu/softmmu/physmem.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/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/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/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-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-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-branch-invalid-dict.err
/openbmc/qemu/tests/qapi-schema/union-branch-invalid-dict.json
/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-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/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
d43f167006-Sep-2021 Daniel Henrique Barboza <danielhb413@gmail.com>

qapi/qdev.json: add DEVICE_UNPLUG_GUEST_ERROR QAPI event

At this moment we only provide one event to report a hotunplug error,
MEM_UNPLUG_ERROR. As of Linux kernel 5.12 and QEMU 6.0.0, the pseries
m

qapi/qdev.json: add DEVICE_UNPLUG_GUEST_ERROR QAPI event

At this moment we only provide one event to report a hotunplug error,
MEM_UNPLUG_ERROR. As of Linux kernel 5.12 and QEMU 6.0.0, the pseries
machine is now able to report unplug errors for other device types, such
as CPUs.

Instead of creating a (device_type)_UNPLUG_ERROR for each new device,
create a generic DEVICE_UNPLUG_GUEST_ERROR event that can be used by all
guest side unplug errors in the future. This event has a similar API as
the existing DEVICE_DELETED event, always providing the QOM path of the
device and dev->id if there's any.

With this new generic event, MEM_UNPLUG_ERROR is now marked as deprecated.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20210907004755.424931-6-danielhb413@gmail.com>
[dwg: Correct missing ')' in stubs/qdev.c]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

show more ...

1...<<11121314151617181920>>...69