History log of /qemu/qapi/ (Results 226 – 250 of 1657)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e506fee821-Oct-2022 Laurent Vivier <lvivier@redhat.com>

net: stream: add QAPI events to report connection state

The netdev reports NETDEV_STREAM_CONNECTED event when the backend
is connected, and NETDEV_STREAM_DISCONNECTED when it is disconnected.

The N

net: stream: add QAPI events to report connection state

The netdev reports NETDEV_STREAM_CONNECTED event when the backend
is connected, and NETDEV_STREAM_DISCONNECTED when it is disconnected.

The NETDEV_STREAM_CONNECTED event includes the destination address.

This allows a system manager like libvirt to detect when the server
fails.

For instance with passt:

{ 'execute': 'qmp_capabilities' }
{ "return": { } }
{ "timestamp": { "seconds": 1666341395, "microseconds": 505347 },
"event": "NETDEV_STREAM_CONNECTED",
"data": { "netdev-id": "netdev0",
"addr": { "path": "/tmp/passt_1.socket", "type": "unix" } } }

[killing passt here]

{ "timestamp": { "seconds": 1666341430, "microseconds": 968694 },
"event": "NETDEV_STREAM_DISCONNECTED",
"data": { "netdev-id": "netdev0" } }

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

784e7a2521-Oct-2022 Laurent Vivier <lvivier@redhat.com>

net: dgram: add unix socket

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Mich

net: dgram: add unix socket

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com> (QAPI schema)
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

13c6be9621-Oct-2022 Laurent Vivier <lvivier@redhat.com>

net: stream: add unix socket

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Markus Armbru

net: stream: add unix socket

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com> (QAPI schema)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

5166fe0a21-Oct-2022 Laurent Vivier <lvivier@redhat.com>

qapi: net: add stream and dgram netdevs

Copied from socket netdev file and modified to use SocketAddress
to be able to introduce new features like unix socket.

"udp" and "mcast" are squashed into d

qapi: net: add stream and dgram netdevs

Copied from socket netdev file and modified to use SocketAddress
to be able to introduce new features like unix socket.

"udp" and "mcast" are squashed into dgram netdev, multicast is detected
according to the IP address type.
"listen" and "connect" modes are managed by stream netdev. An optional
parameter "server" defines the mode (off by default)

The two new types need to be parsed the modern way with -netdev, because
with the traditional way, the "type" field of netdev structure collides with
the "type" field of SocketAddress and prevents the correct evaluation of the
command line option. Moreover the traditional way doesn't allow to use
the same type (SocketAddress) several times with the -netdev option
(needed to specify "local" and "remote" addresses).

The previous commit paved the way for parsing the modern way, but
omitted one detail: how to pick modern vs. traditional, in
netdev_is_modern().

We want to pick based on the value of parameter "type". But how to
extract it from the option argument?

Parsing the option argument, either the modern or the traditional way,
extracts it for us, but only if parsing succeeds.

If parsing fails, there is no good option. No matter which parser we
pick, it'll be the wrong one for some arguments, and the error
reporting will be confusing.

Fortunately, the traditional parser accepts *anything* when called in
a certain way. This maximizes our chance to extract the value of
"type", and in turn minimizes the risk of confusing error reporting.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...

8801ccd008-Oct-2022 Si-Wei Liu <si-wei.liu@oracle.com>

vhost-vdpa: allow passing opened vhostfd to vhost-vdpa

Similar to other vhost backends, vhostfd can be passed to vhost-vdpa
backend as another parameter to instantiate vhost-vdpa net client.
This wo

vhost-vdpa: allow passing opened vhostfd to vhost-vdpa

Similar to other vhost backends, vhostfd can be passed to vhost-vdpa
backend as another parameter to instantiate vhost-vdpa net client.
This would benefit the use case where only open file descriptors, as
opposed to raw vhost-vdpa device paths, are accessible from the QEMU
process.

(qemu) netdev_add type=vhost-vdpa,vhostfd=61,id=vhost-vdpa1

Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/internal.h
/qemu/accel/tcg/meson.build
/qemu/accel/tcg/tb-maint.c
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/accel/tcg/user-exec.c
/qemu/bsd-user/mmap.c
/qemu/configure
/qemu/contrib/elf2dmp/main.c
/qemu/cpu.c
/qemu/dump/dump.c
/qemu/dump/win_dump.c
/qemu/fpu/softfloat-parts.c.inc
/qemu/fsdev/virtfs-proxy-helper.c
/qemu/hw/9pfs/9p.c
/qemu/hw/9pfs/9p.h
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/nseries.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/m25p80_sfdp.c
/qemu/hw/block/m25p80_sfdp.h
/qemu/hw/block/meson.build
/qemu/hw/block/trace-events
/qemu/hw/char/exynos4210_uart.c
/qemu/hw/char/pl011.c
/qemu/hw/core/sysbus-fdt.c
/qemu/hw/display/blizzard.c
/qemu/hw/dma/pl330.c
/qemu/hw/i2c/aspeed_i2c.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/ide/microdrive.c
/qemu/hw/intc/loongarch_ipi.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/m68k/q800.c
/qemu/hw/m68k/virt.c
/qemu/hw/misc/cbus.c
/qemu/hw/net/can/can_sja1000.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nios2/boot.c
/qemu/hw/nios2/meson.build
/qemu/hw/nvram/eeprom93xx.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/s390x/pv.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/megasas.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/spapr_vscsi.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/ssi/ssi.c
/qemu/hw/timer/renesas_cmt.c
/qemu/hw/timer/renesas_tmr.c
/qemu/hw/usb/ccid-card-emulated.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/elf.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/translate-all.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/hw/elf_ops.h
/qemu/include/hw/i2c/aspeed_i2c.h
/qemu/include/hw/s390x/pv.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/hw/ssi/aspeed_smc.h
/qemu/include/hw/ssi/ssi.h
/qemu/include/qemu/atomic.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/thread.h
/qemu/include/standard-headers/asm-m68k/bootinfo-virt.h
/qemu/include/standard-headers/asm-m68k/bootinfo.h
/qemu/include/sysemu/dump-arch.h
/qemu/include/sysemu/dump.h
/qemu/linux-user/cpu_loop-common.h
/qemu/linux-user/i386/cpu_loop.c
/qemu/linux-user/ioctls.h
/qemu/linux-user/mmap.c
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/net/vhost-vdpa.c
net.json
/qemu/qemu-options.hx
/qemu/scripts/vmstate-static-checker.py
/qemu/target/alpha/cpu.c
/qemu/target/alpha/translate.c
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu_tcg.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/sve_ldst_internal.h
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a32.h
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-m-nocp.c
/qemu/target/arm/translate-mve.c
/qemu/target/arm/translate-vfp.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/avr/cpu.c
/qemu/target/avr/translate.c
/qemu/target/cris/cpu.c
/qemu/target/cris/translate.c
/qemu/target/hexagon/cpu.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/helper.h
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/ops_sse.h
/qemu/target/i386/ops_sse_header.h
/qemu/target/i386/tcg/decode-new.c.inc
/qemu/target/i386/tcg/decode-new.h
/qemu/target/i386/tcg/emit.c.inc
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/sysemu/svm_helper.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/insn_trans/trans_bit.c.inc
/qemu/target/loongarch/insn_trans/trans_farith.c.inc
/qemu/target/loongarch/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu.c
/qemu/target/mips/tcg/tcg-internal.h
/qemu/target/mips/tcg/translate.c
/qemu/target/nios2/cpu.c
/qemu/target/nios2/translate.c
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/translate.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/rx/op_helper.c
/qemu/target/rx/translate.c
/qemu/target/s390x/arch_dump.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/kvm_s390x.h
/qemu/target/s390x/kvm/meson.build
/qemu/target/s390x/kvm/stubs.c
/qemu/target/s390x/s390x-internal.h
/qemu/target/s390x/tcg/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/cpu.h
/qemu/target/sparc/translate.c
/qemu/target/tricore/cpu.c
/qemu/target/tricore/translate.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/translate.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.h
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/virtio-9p-client.c
/qemu/tests/qtest/libqos/virtio-9p-client.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/virtio-9p-test.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-avx.c
/qemu/tests/tcg/i386/test-avx.py
/qemu/ui/console.c
/qemu/ui/gtk.c
/qemu/ui/vnc-enc-hextile.c
/qemu/ui/vnc-jobs.c
/qemu/ui/vnc.c
7966d70f25-Oct-2022 Jason A. Donenfeld <Jason@zx2c4.com>

reset: allow registering handlers that aren't called by snapshot loading

Snapshot loading only expects to call deterministic handlers, not
non-deterministic ones. So introduce a way of registering h

reset: allow registering handlers that aren't called by snapshot loading

Snapshot loading only expects to call deterministic handlers, not
non-deterministic ones. So introduce a way of registering handlers that
won't be called when reseting for snapshots.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-id: 20221025004327.568476-2-Jason@zx2c4.com
[PMM: updated json doc comment with Markus' text; fixed
checkpatch style nit]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

show more ...


/qemu/.gitignore
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/internal.h
/qemu/accel/tcg/meson.build
/qemu/accel/tcg/tb-maint.c
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/accel/tcg/user-exec.c
/qemu/bsd-user/mmap.c
/qemu/configure
/qemu/contrib/elf2dmp/main.c
/qemu/cpu.c
/qemu/docs/devel/reset.rst
/qemu/docs/system/arm/emulation.rst
/qemu/dump/dump.c
/qemu/dump/win_dump.c
/qemu/fpu/softfloat-parts.c.inc
/qemu/fsdev/virtfs-proxy-helper.c
/qemu/hw/9pfs/9p.c
/qemu/hw/9pfs/9p.h
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/nseries.c
/qemu/hw/arm/virt.c
/qemu/hw/block/m25p80.c
/qemu/hw/block/m25p80_sfdp.c
/qemu/hw/block/m25p80_sfdp.h
/qemu/hw/block/meson.build
/qemu/hw/block/trace-events
/qemu/hw/char/exynos4210_uart.c
/qemu/hw/char/pl011.c
/qemu/hw/core/reset.c
/qemu/hw/core/resettable.c
/qemu/hw/core/sysbus-fdt.c
/qemu/hw/display/blizzard.c
/qemu/hw/dma/pl330.c
/qemu/hw/hppa/machine.c
/qemu/hw/hyperv/hyperv.c
/qemu/hw/i2c/aspeed_i2c.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/ide/microdrive.c
/qemu/hw/intc/loongarch_ipi.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/m68k/q800.c
/qemu/hw/m68k/virt.c
/qemu/hw/misc/cbus.c
/qemu/hw/net/can/can_sja1000.c
/qemu/hw/nios2/boot.c
/qemu/hw/nios2/meson.build
/qemu/hw/nvram/eeprom93xx.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/s390x/pv.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/megasas.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/spapr_vscsi.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/ssi/aspeed_smc.c
/qemu/hw/ssi/ssi.c
/qemu/hw/timer/imx_epit.c
/qemu/hw/timer/renesas_cmt.c
/qemu/hw/timer/renesas_tmr.c
/qemu/hw/usb/ccid-card-emulated.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/elf.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/ram_addr.h
/qemu/include/exec/translate-all.h
/qemu/include/hw/boards.h
/qemu/include/hw/core/tcg-cpu-ops.h
/qemu/include/hw/elf_ops.h
/qemu/include/hw/i2c/aspeed_i2c.h
/qemu/include/hw/s390x/pv.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/hw/ssi/aspeed_smc.h
/qemu/include/hw/ssi/ssi.h
/qemu/include/qemu/atomic.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/thread.h
/qemu/include/standard-headers/asm-m68k/bootinfo-virt.h
/qemu/include/standard-headers/asm-m68k/bootinfo.h
/qemu/include/sysemu/dump-arch.h
/qemu/include/sysemu/dump.h
/qemu/include/sysemu/reset.h
/qemu/linux-user/cpu_loop-common.h
/qemu/linux-user/i386/cpu_loop.c
/qemu/linux-user/ioctls.h
/qemu/linux-user/mmap.c
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/migration/savevm.c
run-state.json
/qemu/scripts/vmstate-static-checker.py
/qemu/softmmu/runstate.c
/qemu/target/alpha/cpu.c
/qemu/target/alpha/translate.c
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/cpu_tcg.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/sve_ldst_internal.h
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a32.h
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-m-nocp.c
/qemu/target/arm/translate-mve.c
/qemu/target/arm/translate-vfp.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/avr/cpu.c
/qemu/target/avr/translate.c
/qemu/target/cris/cpu.c
/qemu/target/cris/translate.c
/qemu/target/hexagon/cpu.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/helper.h
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/ops_sse.h
/qemu/target/i386/ops_sse_header.h
/qemu/target/i386/tcg/decode-new.c.inc
/qemu/target/i386/tcg/decode-new.h
/qemu/target/i386/tcg/emit.c.inc
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/sysemu/svm_helper.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/insn_trans/trans_bit.c.inc
/qemu/target/loongarch/insn_trans/trans_farith.c.inc
/qemu/target/loongarch/translate.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/microblaze/translate.c
/qemu/target/mips/cpu.c
/qemu/target/mips/tcg/tcg-internal.h
/qemu/target/mips/tcg/translate.c
/qemu/target/nios2/cpu.c
/qemu/target/nios2/translate.c
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/translate.c
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/translate.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/rx/op_helper.c
/qemu/target/rx/translate.c
/qemu/target/s390x/arch_dump.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/kvm_s390x.h
/qemu/target/s390x/kvm/meson.build
/qemu/target/s390x/kvm/stubs.c
/qemu/target/s390x/s390x-internal.h
/qemu/target/s390x/tcg/translate.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/sparc/cpu.h
/qemu/target/sparc/translate.c
/qemu/target/tricore/cpu.c
/qemu/target/tricore/translate.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/translate.c
/qemu/tcg/aarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.h
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/virtio-9p-client.c
/qemu/tests/qtest/libqos/virtio-9p-client.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/virtio-9p-test.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-avx.c
/qemu/tests/tcg/i386/test-avx.py
/qemu/ui/console.c
/qemu/ui/gtk.c
/qemu/ui/vnc-enc-hextile.c
/qemu/ui/vnc-jobs.c
/qemu/ui/vnc.c
e681645814-Oct-2022 David Hildenbrand <david@redhat.com>

hostmem: Allow for specifying a ThreadContext for preallocation

Let's allow for specifying a thread context via the "prealloc-context"
property. When set, preallcoation threads will be crated via th

hostmem: Allow for specifying a ThreadContext for preallocation

Let's allow for specifying a thread context via the "prealloc-context"
property. When set, preallcoation threads will be crated via the
thread context -- inheriting the same CPU affinity as the thread
context.

Pinning preallcoation threads to CPUs can heavily increase performance
in NUMA setups, because, preallocation from a CPU close to the target
NUMA node(s) is faster then preallocation from a CPU further remote,
simply because of memory bandwidth for initializing memory with zeroes.
This is especially relevant for very large VMs backed by huge/gigantic
pages, whereby preallocation is mandatory.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Message-Id: <20221014134720.168738-7-david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>

show more ...

10218ae614-Oct-2022 David Hildenbrand <david@redhat.com>

util: Add write-only "node-affinity" property for ThreadContext

Let's make it easier to pin threads created via a ThreadContext to
all host CPUs currently belonging to a given set of host NUMA nodes

util: Add write-only "node-affinity" property for ThreadContext

Let's make it easier to pin threads created via a ThreadContext to
all host CPUs currently belonging to a given set of host NUMA nodes --
which is the common case.

"node-affinity" is simply a shortcut for setting "cpu-affinity" manually
to the list of host CPUs belonging to the set of host nodes. This property
can only be written.

A simple QEMU example to set the CPU affinity to host node 1 on a system
with two nodes, 24 CPUs each, whereby odd-numbered host CPUs belong to
host node 1:
qemu-system-x86_64 -S \
-object thread-context,id=tc1,node-affinity=1

And we can query the cpu-affinity via HMP/QMP:
(qemu) qom-get tc1 cpu-affinity
[
1,
3,
5,
7,
9,
11,
13,
15,
17,
19,
21,
23,
25,
27,
29,
31,
33,
35,
37,
39,
41,
43,
45,
47
]

We cannot query the node-affinity:
(qemu) qom-get tc1 node-affinity
Error: Insufficient permission to perform this operation

But note that due to dynamic library loading this example will not work
before we actually make use of thread_context_create_thread() in QEMU
code, because the type will otherwise not get registered. We'll wire
this up next to make it work.

Note that if the host CPUs for a host node change due do CPU hot(un)plug
CPU onlining/offlining (i.e., lscpu output changes) after the ThreadContext
was started, the CPU affinity will not get updated.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20221014134720.168738-5-david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>

show more ...

e2de2c4914-Oct-2022 David Hildenbrand <david@redhat.com>

util: Introduce ThreadContext user-creatable object

Setting the CPU affinity of QEMU threads is a bit problematic, because
QEMU doesn't always have permissions to set the CPU affinity itself,
for ex

util: Introduce ThreadContext user-creatable object

Setting the CPU affinity of QEMU threads is a bit problematic, because
QEMU doesn't always have permissions to set the CPU affinity itself,
for example, with seccomp after initialized by QEMU:
-sandbox enable=on,resourcecontrol=deny

General information about CPU affinities can be found in the man page of
taskset:
CPU affinity is a scheduler property that "bonds" a process to a given
set of CPUs on the system. The Linux scheduler will honor the given CPU
affinity and the process will not run on any other CPUs.

While upper layers are already aware of how to handle CPU affinities for
long-lived threads like iothreads or vcpu threads, especially short-lived
threads, as used for memory-backend preallocation, are more involved to
handle. These threads are created on demand and upper layers are not even
able to identify and configure them.

Introduce the concept of a ThreadContext, that is essentially a thread
used for creating new threads. All threads created via that context
thread inherit the configured CPU affinity. Consequently, it's
sufficient to create a ThreadContext and configure it once, and have all
threads created via that ThreadContext inherit the same CPU affinity.

The CPU affinity of a ThreadContext can be configured two ways:

(1) Obtaining the thread id via the "thread-id" property and setting the
CPU affinity manually (e.g., via taskset).

(2) Setting the "cpu-affinity" property and letting QEMU try set the
CPU affinity itself. This will fail if QEMU doesn't have permissions
to do so anymore after seccomp was initialized.

A simple QEMU example to set the CPU affinity to host CPU 0,1,6,7 would be:
qemu-system-x86_64 -S \
-object thread-context,id=tc1,cpu-affinity=0-1,cpu-affinity=6-7

And we can query it via HMP/QMP:
(qemu) qom-get tc1 cpu-affinity
[
0,
1,
6,
7
]

But note that due to dynamic library loading this example will not work
before we actually make use of thread_context_create_thread() in QEMU
code, because the type will otherwise not get registered. We'll wire
this up next to make it work.

In general, the interface behaves like pthread_setaffinity_np(): host
CPU numbers that are currently not available are ignored; only host CPU
numbers that are impossible with the current kernel will fail. If the
list of host CPU numbers does not include a single CPU that is
available, setting the CPU affinity will fail.

A ThreadContext can be reused, simply by reconfiguring the CPU affinity.
Note that the CPU affinity of previously created threads will not get
adjusted.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20221014134720.168738-4-david@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>

show more ...


/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/backends/hostmem.c
/qemu/configure
/qemu/fpu/softfloat-parts.c.inc
/qemu/hw/char/pl011.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/ide/microdrive.c
/qemu/hw/intc/loongarch_ipi.c
/qemu/hw/mem/nvdimm.c
/qemu/hw/nios2/boot.c
/qemu/hw/nios2/meson.build
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/megasas.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/spapr_vscsi.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/virtio/virtio-mem.c
/qemu/include/hw/scsi/scsi.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/thread-context.h
/qemu/include/qemu/thread.h
/qemu/linux-user/syscall_defs.h
/qemu/meson.build
qom.json
/qemu/softmmu/cpus.c
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu_tcg.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/sve_ldst_internal.h
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a32.h
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-m-nocp.c
/qemu/target/arm/translate-mve.c
/qemu/target/arm/translate-vfp.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/helper.h
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/ops_sse.h
/qemu/target/i386/ops_sse_header.h
/qemu/target/i386/tcg/decode-new.c.inc
/qemu/target/i386/tcg/decode-new.h
/qemu/target/i386/tcg/emit.c.inc
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/sysemu/svm_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/loongarch/insn_trans/trans_bit.c.inc
/qemu/target/loongarch/insn_trans/trans_farith.c.inc
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-avx.c
/qemu/tests/tcg/i386/test-avx.py
/qemu/util/meson.build
/qemu/util/oslib-posix.c
/qemu/util/oslib-win32.c
/qemu/util/qemu-thread-posix.c
/qemu/util/qemu-thread-win32.c
/qemu/util/thread-context.c
fd66dbd413-Oct-2022 Stefan Hajnoczi <stefanha@redhat.com>

blkio: add libblkio block driver

libblkio (https://gitlab.com/libblkio/libblkio/) is a library for
high-performance disk I/O. It currently supports io_uring,
virtio-blk-vhost-user, and virtio-blk-vh

blkio: add libblkio block driver

libblkio (https://gitlab.com/libblkio/libblkio/) is a library for
high-performance disk I/O. It currently supports io_uring,
virtio-blk-vhost-user, and virtio-blk-vhost-vdpa with additional drivers
under development.

One of the reasons for developing libblkio is that other applications
besides QEMU can use it. This will be particularly useful for
virtio-blk-vhost-user which applications may wish to use for connecting
to qemu-storage-daemon.

libblkio also gives us an opportunity to develop in Rust behind a C API
that is easy to consume from QEMU.

This commit adds io_uring, nvme-io_uring, virtio-blk-vhost-user, and
virtio-blk-vhost-vdpa BlockDrivers to QEMU using libblkio. It will be
easy to add other libblkio drivers since they will share the majority of
code.

For now I/O buffers are copied through bounce buffers if the libblkio
driver requires it. Later commits add an optimization for
pre-registering guest RAM to avoid bounce buffers.

The syntax is:

--blockdev io_uring,node-name=drive0,filename=test.img,readonly=on|off,cache.direct=on|off

--blockdev nvme-io_uring,node-name=drive0,filename=/dev/ng0n1,readonly=on|off,cache.direct=on

--blockdev virtio-blk-vhost-vdpa,node-name=drive0,path=/dev/vdpa...,readonly=on|off,cache.direct=on

--blockdev virtio-blk-vhost-user,node-name=drive0,path=vhost-user-blk.sock,readonly=on|off,cache.direct=on

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20221013185908.1297568-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/block/blkio.c
/qemu/block/meson.build
/qemu/configure
/qemu/contrib/elf2dmp/main.c
/qemu/fpu/softfloat-parts.c.inc
/qemu/fsdev/virtfs-proxy-helper.c
/qemu/hw/9pfs/9p.c
/qemu/hw/9pfs/9p.h
/qemu/hw/arm/nseries.c
/qemu/hw/char/exynos4210_uart.c
/qemu/hw/char/pl011.c
/qemu/hw/core/sysbus-fdt.c
/qemu/hw/display/blizzard.c
/qemu/hw/dma/pl330.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/pc.c
/qemu/hw/ide/microdrive.c
/qemu/hw/intc/loongarch_ipi.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/m68k/q800.c
/qemu/hw/m68k/virt.c
/qemu/hw/misc/cbus.c
/qemu/hw/net/can/can_sja1000.c
/qemu/hw/nios2/boot.c
/qemu/hw/nios2/meson.build
/qemu/hw/nvram/eeprom93xx.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/ppc440_bamboo.c
/qemu/hw/ppc/sam460ex.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_hcall.c
/qemu/hw/ppc/virtex_ml507.c
/qemu/hw/riscv/sifive_u.c
/qemu/hw/riscv/spike.c
/qemu/hw/scsi/esp.c
/qemu/hw/scsi/lsi53c895a.c
/qemu/hw/scsi/megasas.c
/qemu/hw/scsi/mptsas.c
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/spapr_vscsi.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/scsi/vmw_pvscsi.c
/qemu/hw/timer/renesas_cmt.c
/qemu/hw/timer/renesas_tmr.c
/qemu/hw/usb/ccid-card-emulated.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/hw/elf_ops.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/qemu/coroutine.h
/qemu/include/standard-headers/asm-m68k/bootinfo-virt.h
/qemu/include/standard-headers/asm-m68k/bootinfo.h
/qemu/linux-user/cpu_loop-common.h
/qemu/linux-user/i386/cpu_loop.c
/qemu/linux-user/ioctls.h
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/meson.build
/qemu/meson_options.txt
block-core.json
/qemu/scripts/meson-buildoptions.sh
/qemu/scripts/vmstate-static-checker.py
/qemu/target/arm/cpu-param.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu_tcg.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/sve_ldst_internal.h
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a32.h
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-m-nocp.c
/qemu/target/arm/translate-mve.c
/qemu/target/arm/translate-vfp.c
/qemu/target/arm/translate.c
/qemu/target/arm/translate.h
/qemu/target/i386/cpu-param.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/helper.h
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/kvm_i386.h
/qemu/target/i386/ops_sse.h
/qemu/target/i386/ops_sse_header.h
/qemu/target/i386/tcg/decode-new.c.inc
/qemu/target/i386/tcg/decode-new.h
/qemu/target/i386/tcg/emit.c.inc
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/sysemu/svm_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/insn_trans/trans_bit.c.inc
/qemu/target/loongarch/insn_trans/trans_farith.c.inc
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/op_helper.c
/qemu/target/s390x/kvm/kvm.c
/qemu/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/virtio-9p-client.c
/qemu/tests/qtest/libqos/virtio-9p-client.h
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/modules-test.c
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/virtio-9p-test.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-avx.c
/qemu/tests/tcg/i386/test-avx.py
/qemu/ui/console.c
/qemu/ui/gtk.c
/qemu/ui/vnc-enc-hextile.c
/qemu/ui/vnc-jobs.c
/qemu/ui/vnc.c
/qemu/util/qemu-coroutine-lock.c
bf353ad526-Sep-2022 Daniel Henrique Barboza <danielhb413@gmail.com>

qmp/hmp, device_tree.c: introduce dumpdtb

To save the FDT blob we have the '-machine dumpdtb=<file>' property.
With this property set, the machine saves the FDT in <file> and exit.
The created file

qmp/hmp, device_tree.c: introduce dumpdtb

To save the FDT blob we have the '-machine dumpdtb=<file>' property.
With this property set, the machine saves the FDT in <file> and exit.
The created file can then be converted to plain text dts format using
'dtc'.

There's nothing particularly sophisticated into saving the FDT that
can't be done with the machine at any state, as long as the machine has
a valid FDT to be saved.

The 'dumpdtb' command receives a 'filename' parameter and, if the FDT is
available via current_machine->fdt, save it in dtb format to 'filename'.
In short, this is a '-machine dumpdtb' that can be fired on demand via
QMP/HMP.

This command will always be executed in-band (i.e. holding BQL),
avoiding potential race conditions with machines that might change the
FDT during runtime (e.g. PowerPC 'pseries' machine).

Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220926173855.1159396-2-danielhb413@gmail.com>

show more ...

dbccb1a511-Oct-2022 Bryce Mills <brycemills@proton.me>

gtk: Add show_menubar=on|off command line option.

The patch adds "show_menubar" command line option for GTK UI similar to
"show_tabs". This option allows to hide menu bar initially, it still can
be

gtk: Add show_menubar=on|off command line option.

The patch adds "show_menubar" command line option for GTK UI similar to
"show_tabs". This option allows to hide menu bar initially, it still can
be toggled by shortcut and other shortcuts still work.

Signed-off-by: Bryce Mills <brycemills@proton.me>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <NWO_zx1CT5Aj9vAXsRlqBppXd63gcKwL9V1qM1Meh36M_9tCw-EsCnfpvONXhHjmtKIUoSuCy9OO6cHS7M8b0oHBOCZG6f1jZ4Q2tqgI2Qo=@proton.me>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus/freebsd-12.vars
/qemu/.gitlab-ci.d/cirrus/freebsd-13.vars
/qemu/.gitlab-ci.d/cirrus/macos-11.vars
/qemu/.gitlab-ci.d/windows.yml
/qemu/.gitmodules
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/accel/accel-common.c
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/kvm-cpus.h
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/internal.h
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/tb-hash.h
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/tcg-all.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/audio/alsaaudio.c
/qemu/audio/audio.c
/qemu/audio/audio_int.h
/qemu/audio/audio_template.h
/qemu/audio/dbusaudio.c
/qemu/audio/noaudio.c
/qemu/audio/rate_template.h
/qemu/audio/spiceaudio.c
/qemu/audio/wavaudio.c
/qemu/block/accounting.c
/qemu/block/file-posix.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/raw-format.c
/qemu/blockdev.c
/qemu/chardev/baum.c
/qemu/chardev/char.c
/qemu/chardev/msmouse.c
/qemu/chardev/wctablet.c
/qemu/configure
/qemu/contrib/gitdm/domain-map
/qemu/contrib/gitdm/group-map-academics
/qemu/contrib/gitdm/group-map-individuals
/qemu/contrib/plugins/execlog.c
/qemu/cpu.c
/qemu/disas.c
/qemu/disas/capstone.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/tcg-plugins.rst
/qemu/docs/devel/testing.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/interop/firmware.json
/qemu/docs/specs/pci-ids.txt
/qemu/docs/specs/tpm.rst
/qemu/docs/system/riscv/virt.rst
/qemu/docs/tools/qemu-img.rst
/qemu/gdb-xml/riscv-32bit-cpu.xml
/qemu/gdb-xml/riscv-32bit-fpu.xml
/qemu/gdb-xml/riscv-64bit-cpu.xml
/qemu/gdb-xml/riscv-64bit-fpu.xml
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/meson.build
/qemu/gdbstub/softmmu.c
/qemu/gdbstub/trace-events
/qemu/gdbstub/trace.h
/qemu/gdbstub/user.c
/qemu/hw/acpi/generic_event_device.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/block/block.c
/qemu/hw/char/serial.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/display/ati_2d.c
/qemu/hw/display/cirrus_vga.c
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/ide/core.c
/qemu/hw/ide/piix.c
/qemu/hw/intc/xics.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/mos6522.c
/qemu/hw/net/can/xlnx-zynqmp-can.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci_nvlink2.c
/qemu/hw/remote/iommu.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/s390x/meson.build
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/s390-pci-kvm.c
/qemu/hw/s390x/s390-pci-vfio.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/ssi/ibex_spi_host.c
/qemu/hw/usb/hcd-ohci.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/virtio/vhost-shadow-virtqueue.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-iommu-pci.c
/qemu/hw/virtio/virtio-mem-pci.c
/qemu/hw/virtio/virtio-pci.c
/qemu/hw/virtio/virtio-pmem-pci.c
/qemu/hw/watchdog/sbsa_gwdt.c
/qemu/hw/watchdog/watchdog.c
/qemu/hw/watchdog/wdt_aspeed.c
/qemu/hw/watchdog/wdt_diag288.c
/qemu/hw/watchdog/wdt_i6300esb.c
/qemu/hw/watchdog/wdt_ib700.c
/qemu/hw/watchdog/wdt_imx2.c
/qemu/hw/xen/xen_pt_config_init.c
/qemu/include/block/accounting.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-io.h
/qemu/include/chardev/char.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/plugin-gen.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/block/block.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/nvram/fw_cfg.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/riscv/opentitan.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/s390x/s390-pci-bus.h
/qemu/include/hw/s390x/s390-pci-kvm.h
/qemu/include/hw/s390x/s390-pci-vfio.h
/qemu/include/hw/s390x/s390-virtio-ccw.h
/qemu/include/monitor/monitor.h
/qemu/include/qemu/accel.h
/qemu/include/qemu/plugin.h
/qemu/include/qemu/sockets.h
/qemu/include/qemu/typedefs.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/input.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_9p.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_ids.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_ring.h
/qemu/include/sysemu/accel-ops.h
/qemu/include/sysemu/cpus.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/replay.h
/qemu/include/sysemu/watchdog.h
/qemu/include/tcg/tcg.h
/qemu/io/channel-websock.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/unistd.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/mman.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vduse.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vfio_zdev.h
/qemu/linux-headers/linux/vhost.h
/qemu/linux-user/aarch64/target_mman.h
/qemu/linux-user/alpha/target_mman.h
/qemu/linux-user/arm/target_mman.h
/qemu/linux-user/cpu_loop-common.h
/qemu/linux-user/cris/target_mman.h
/qemu/linux-user/elfload.c
/qemu/linux-user/generic/target_mman.h
/qemu/linux-user/hexagon/target_mman.h
/qemu/linux-user/hppa/cpu_loop.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/hppa/target_mman.h
/qemu/linux-user/hppa/target_signal.h
/qemu/linux-user/hppa/target_syscall.h
/qemu/linux-user/i386/target_elf.h
/qemu/linux-user/i386/target_mman.h
/qemu/linux-user/include/host/s390/host-signal.h
/qemu/linux-user/loongarch64/target_mman.h
/qemu/linux-user/m68k/target_mman.h
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/target_mman.h
/qemu/linux-user/mips/target_mman.h
/qemu/linux-user/mips64/target_mman.h
/qemu/linux-user/mmap.c
/qemu/linux-user/nios2/target_mman.h
/qemu/linux-user/openrisc/target_mman.h
/qemu/linux-user/ppc/target_mman.h
/qemu/linux-user/riscv/target_mman.h
/qemu/linux-user/s390x/signal.c
/qemu/linux-user/s390x/target_mman.h
/qemu/linux-user/sh4/signal.c
/qemu/linux-user/sh4/target_mman.h
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/target_mman.h
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/x86_64/target_elf.h
/qemu/linux-user/x86_64/target_mman.h
/qemu/linux-user/xtensa/target_mman.h
/qemu/meson
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/dirtyrate.c
/qemu/monitor/hmp-cmds.c
/qemu/monitor/hmp.c
/qemu/monitor/monitor-internal.h
/qemu/net/tap.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/optionrom/Makefile
/qemu/pc-bios/qboot.rom
/qemu/pc-bios/s390-ccw/Makefile
/qemu/pc-bios/s390-ccw/netboot.mak
/qemu/pc-bios/vof/Makefile
/qemu/plugins/api.c
/qemu/plugins/core.c
ui.json
/qemu/qemu-edid.c
/qemu/qemu-img.c
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/replay/replay-char.c
/qemu/replay/replay.c
/qemu/scripts/archive-source.sh
/qemu/scripts/checkpatch.pl
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/main.c
/qemu/scripts/meson-buildoptions.sh
/qemu/semihosting/arm-compat-semi.c
/qemu/softmmu/cpus.c
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/vl.c
/qemu/stubs/replay-tools.c
/qemu/target/alpha/cpu.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/m_helper.c
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-neon.c
/qemu/target/avr/cpu.c
/qemu/target/cris/cpu.c
/qemu/target/hexagon/attribs_def.h.inc
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/decode.c
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/genptr.c
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/imported/ldst.idef
/qemu/target/hexagon/imported/subinsns.idef
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/helper.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/mips/tcg/exception.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/nios2/cpu.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/cpu_init.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/csr.c
/qemu/target/riscv/debug.c
/qemu/target/riscv/debug.h
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/machine.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/kvm_s390x.h
/qemu/target/s390x/tcg/crypto_helper.c
/qemu/target/s390x/tcg/insn-data.def
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/xtensa/cpu.c
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/Makefile.include
/qemu/tests/avocado/machine_s390_ccw_virtio.py
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/alpine.docker
/qemu/tests/docker/dockerfiles/centos8.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/qemu/tests/docker/run
/qemu/tests/lcitool/projects/qemu.yml
/qemu/tests/lcitool/refresh
/qemu/tests/qemu-iotests/172.out
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/tests/backing-file-invalidation
/qemu/tests/qemu-iotests/tests/backing-file-invalidation.out
/qemu/tests/qtest/ahci-test.c
/qemu/tests/qtest/aspeed_smc-test.c
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/boot-serial-test.c
/qemu/tests/qtest/cxl-test.c
/qemu/tests/qtest/dbus-display-test.c
/qemu/tests/qtest/device-plug-test.c
/qemu/tests/qtest/fdc-test.c
/qemu/tests/qtest/fuzz/generic_fuzz_configs.h
/qemu/tests/qtest/fuzz/virtio_blk_fuzz.c
/qemu/tests/qtest/hd-geo-test.c
/qemu/tests/qtest/i440fx-test.c
/qemu/tests/qtest/ide-test.c
/qemu/tests/qtest/libqos/qgraph.h
/qemu/tests/qtest/libqtest-single.h
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/libqtest.h
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/pflash-cfi02-test.c
/qemu/tests/qtest/qmp-test.c
/qemu/tests/qtest/vhost-user-blk-test.c
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/virtio-blk-test.c
/qemu/tests/qtest/virtio-net-failover.c
/qemu/tests/qtest/virtio-net-test.c
/qemu/tests/qtest/virtio-scsi-test.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/cris/Makefile.target
/qemu/tests/tcg/i386/Makefile.softmmu-target
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/linux/linux-madvise.c
/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/bcdsub.c
/qemu/tests/tcg/ppc64/byte_reverse.c
/qemu/tests/tcg/ppc64/mffsce.c
/qemu/tests/tcg/ppc64/mtfsf.c
/qemu/tests/tcg/ppc64/non_signalling_xscv.c
/qemu/tests/tcg/ppc64/signal_save_restore_xer.c
/qemu/tests/tcg/ppc64/xxspltw.c
/qemu/tests/tcg/ppc64le/Makefile.target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/x86_64/Makefile.softmmu-target
/qemu/tests/unit/test-image-locking.c
/qemu/tests/unit/test-qga.c
/qemu/tests/unit/test-vmstate.c
/qemu/tests/vhost-user-bridge.c
/qemu/tools/virtiofsd/passthrough_ll.c
/qemu/trace-events
/qemu/trace/control-target.c
/qemu/ui/curses.c
/qemu/ui/dbus.h
/qemu/ui/gtk-egl.c
/qemu/ui/gtk.c
/qemu/ui/vnc.c
/qemu/util/oslib-posix.c
/qemu/util/qemu-config.c
e2e69f6b29-Sep-2022 Chenyi Qiang <chenyi.qiang@intel.com>

i386: add notify VM exit support

There are cases that malicious virtual machine can cause CPU stuck (due
to event windows don't open up), e.g., infinite loop in microcode when
nested #AC (CVE-2015-5

i386: add notify VM exit support

There are cases that malicious virtual machine can cause CPU stuck (due
to event windows don't open up), e.g., infinite loop in microcode when
nested #AC (CVE-2015-5307). No event window means no event (NMI, SMI and
IRQ) can be delivered. It leads the CPU to be unavailable to host or
other VMs. Notify VM exit is introduced to mitigate such kind of
attacks, which will generate a VM exit if no event window occurs in VM
non-root mode for a specified amount of time (notify window).

A new KVM capability KVM_CAP_X86_NOTIFY_VMEXIT is exposed to user space
so that the user can query the capability and set the expected notify
window when creating VMs. The format of the argument when enabling this
capability is as follows:
Bit 63:32 - notify window specified in qemu command
Bit 31:0 - some flags (e.g. KVM_X86_NOTIFY_VMEXIT_ENABLED is set to
enable the feature.)

Users can configure the feature by a new (x86 only) accel property:
qemu -accel kvm,notify-vmexit=run|internal-error|disable,notify-window=n

The default option of notify-vmexit is run, which will enable the
capability and do nothing if the exit happens. The internal-error option
raises a KVM internal error if it happens. The disable option does not
enable the capability. The default value of notify-window is 0. It is valid
only when notify-vmexit is not disabled. The valid range of notify-window
is non-negative. It is even safe to set it to zero since there's an
internal hardware threshold to be added to ensure no false positive.

Because a notify VM exit may happen with VM_CONTEXT_INVALID set in exit
qualification (no cases are anticipated that would set this bit), which
means VM context is corrupted. It would be reflected in the flags of
KVM_EXIT_NOTIFY exit. If KVM_NOTIFY_CONTEXT_INVALID bit is set, raise a KVM
internal error unconditionally.

Acked-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20220929072014.20705-5-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus/freebsd-12.vars
/qemu/.gitlab-ci.d/cirrus/freebsd-13.vars
/qemu/.gitlab-ci.d/cirrus/macos-11.vars
/qemu/.gitlab-ci.d/windows.yml
/qemu/.gitmodules
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/accel/accel-common.c
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/kvm-cpus.h
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/internal.h
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/tb-hash.h
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/tcg-all.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/audio/audio.c
/qemu/audio/audio_template.h
/qemu/block/accounting.c
/qemu/block/file-posix.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/raw-format.c
/qemu/blockdev.c
/qemu/chardev/baum.c
/qemu/chardev/char.c
/qemu/chardev/msmouse.c
/qemu/chardev/wctablet.c
/qemu/configure
/qemu/contrib/gitdm/domain-map
/qemu/contrib/gitdm/group-map-academics
/qemu/contrib/gitdm/group-map-individuals
/qemu/contrib/plugins/execlog.c
/qemu/cpu.c
/qemu/disas.c
/qemu/disas/capstone.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/tcg-plugins.rst
/qemu/docs/devel/testing.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/specs/tpm.rst
/qemu/docs/system/riscv/virt.rst
/qemu/docs/tools/qemu-img.rst
/qemu/gdb-xml/riscv-32bit-cpu.xml
/qemu/gdb-xml/riscv-32bit-fpu.xml
/qemu/gdb-xml/riscv-64bit-cpu.xml
/qemu/gdb-xml/riscv-64bit-fpu.xml
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/meson.build
/qemu/gdbstub/softmmu.c
/qemu/gdbstub/trace-events
/qemu/gdbstub/trace.h
/qemu/gdbstub/user.c
/qemu/hw/acpi/generic_event_device.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/block/block.c
/qemu/hw/char/serial.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/display/ati_2d.c
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/ide/core.c
/qemu/hw/ide/piix.c
/qemu/hw/intc/xics.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/mos6522.c
/qemu/hw/net/can/xlnx-zynqmp-can.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci_nvlink2.c
/qemu/hw/remote/iommu.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/s390x/meson.build
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/s390-pci-kvm.c
/qemu/hw/s390x/s390-pci-vfio.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/ssi/ibex_spi_host.c
/qemu/hw/usb/hcd-ohci.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/virtio/vhost-shadow-virtqueue.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/watchdog/sbsa_gwdt.c
/qemu/hw/watchdog/watchdog.c
/qemu/hw/watchdog/wdt_aspeed.c
/qemu/hw/watchdog/wdt_diag288.c
/qemu/hw/watchdog/wdt_i6300esb.c
/qemu/hw/watchdog/wdt_ib700.c
/qemu/hw/watchdog/wdt_imx2.c
/qemu/hw/xen/xen_pt_config_init.c
/qemu/include/block/accounting.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-io.h
/qemu/include/chardev/char.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/plugin-gen.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/block/block.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/nvram/fw_cfg.h
/qemu/include/hw/riscv/opentitan.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/s390x/s390-pci-bus.h
/qemu/include/hw/s390x/s390-pci-kvm.h
/qemu/include/hw/s390x/s390-pci-vfio.h
/qemu/include/hw/s390x/s390-virtio-ccw.h
/qemu/include/monitor/monitor.h
/qemu/include/qemu/accel.h
/qemu/include/qemu/plugin.h
/qemu/include/qemu/sockets.h
/qemu/include/qemu/typedefs.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/input.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_9p.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_ids.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_ring.h
/qemu/include/sysemu/accel-ops.h
/qemu/include/sysemu/cpus.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/kvm_int.h
/qemu/include/sysemu/replay.h
/qemu/include/sysemu/watchdog.h
/qemu/include/tcg/tcg.h
/qemu/io/channel-websock.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/unistd.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/mman.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vduse.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vfio_zdev.h
/qemu/linux-headers/linux/vhost.h
/qemu/linux-user/aarch64/target_mman.h
/qemu/linux-user/alpha/target_mman.h
/qemu/linux-user/arm/target_mman.h
/qemu/linux-user/cpu_loop-common.h
/qemu/linux-user/cris/target_mman.h
/qemu/linux-user/elfload.c
/qemu/linux-user/generic/target_mman.h
/qemu/linux-user/hexagon/target_mman.h
/qemu/linux-user/hppa/cpu_loop.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/hppa/target_mman.h
/qemu/linux-user/hppa/target_signal.h
/qemu/linux-user/hppa/target_syscall.h
/qemu/linux-user/i386/target_elf.h
/qemu/linux-user/i386/target_mman.h
/qemu/linux-user/include/host/s390/host-signal.h
/qemu/linux-user/loongarch64/target_mman.h
/qemu/linux-user/m68k/target_mman.h
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/target_mman.h
/qemu/linux-user/mips/target_mman.h
/qemu/linux-user/mips64/target_mman.h
/qemu/linux-user/mmap.c
/qemu/linux-user/nios2/target_mman.h
/qemu/linux-user/openrisc/target_mman.h
/qemu/linux-user/ppc/target_mman.h
/qemu/linux-user/riscv/target_mman.h
/qemu/linux-user/s390x/signal.c
/qemu/linux-user/s390x/target_mman.h
/qemu/linux-user/sh4/signal.c
/qemu/linux-user/sh4/target_mman.h
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/target_mman.h
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/x86_64/target_elf.h
/qemu/linux-user/x86_64/target_mman.h
/qemu/linux-user/xtensa/target_mman.h
/qemu/meson
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/dirtyrate.c
/qemu/monitor/hmp-cmds.c
/qemu/monitor/hmp.c
/qemu/monitor/monitor-internal.h
/qemu/net/tap.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/optionrom/Makefile
/qemu/pc-bios/qboot.rom
/qemu/pc-bios/s390-ccw/Makefile
/qemu/pc-bios/s390-ccw/netboot.mak
/qemu/pc-bios/vof/Makefile
/qemu/plugins/api.c
/qemu/plugins/core.c
run-state.json
/qemu/qemu-img.c
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/replay/replay-char.c
/qemu/replay/replay.c
/qemu/scripts/archive-source.sh
/qemu/scripts/checkpatch.pl
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/main.c
/qemu/scripts/meson-buildoptions.sh
/qemu/semihosting/arm-compat-semi.c
/qemu/softmmu/cpus.c
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/vl.c
/qemu/stubs/replay-tools.c
/qemu/target/alpha/cpu.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/m_helper.c
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-neon.c
/qemu/target/avr/cpu.c
/qemu/target/cris/cpu.c
/qemu/target/hexagon/attribs_def.h.inc
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/decode.c
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/genptr.c
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/imported/ldst.idef
/qemu/target/hexagon/imported/subinsns.idef
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/helper.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/machine.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/mips/kvm.c
/qemu/target/mips/tcg/exception.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/nios2/cpu.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/kvm.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/csr.c
/qemu/target/riscv/debug.c
/qemu/target/riscv/debug.h
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/kvm.c
/qemu/target/riscv/machine.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/kvm_s390x.h
/qemu/target/s390x/tcg/crypto_helper.c
/qemu/target/s390x/tcg/insn-data.def
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/xtensa/cpu.c
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/Makefile.include
/qemu/tests/avocado/machine_s390_ccw_virtio.py
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/alpine.docker
/qemu/tests/docker/dockerfiles/centos8.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/qemu/tests/docker/run
/qemu/tests/lcitool/projects/qemu.yml
/qemu/tests/lcitool/refresh
/qemu/tests/qemu-iotests/172.out
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/tests/backing-file-invalidation
/qemu/tests/qemu-iotests/tests/backing-file-invalidation.out
/qemu/tests/qtest/ahci-test.c
/qemu/tests/qtest/aspeed_smc-test.c
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/boot-serial-test.c
/qemu/tests/qtest/cxl-test.c
/qemu/tests/qtest/dbus-display-test.c
/qemu/tests/qtest/device-plug-test.c
/qemu/tests/qtest/fdc-test.c
/qemu/tests/qtest/fuzz/generic_fuzz_configs.h
/qemu/tests/qtest/fuzz/virtio_blk_fuzz.c
/qemu/tests/qtest/hd-geo-test.c
/qemu/tests/qtest/i440fx-test.c
/qemu/tests/qtest/ide-test.c
/qemu/tests/qtest/libqos/qgraph.h
/qemu/tests/qtest/libqtest-single.h
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/libqtest.h
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/pflash-cfi02-test.c
/qemu/tests/qtest/qmp-test.c
/qemu/tests/qtest/vhost-user-blk-test.c
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/virtio-blk-test.c
/qemu/tests/qtest/virtio-net-failover.c
/qemu/tests/qtest/virtio-net-test.c
/qemu/tests/qtest/virtio-scsi-test.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/cris/Makefile.target
/qemu/tests/tcg/i386/Makefile.softmmu-target
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/linux/linux-madvise.c
/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/bcdsub.c
/qemu/tests/tcg/ppc64/byte_reverse.c
/qemu/tests/tcg/ppc64/mffsce.c
/qemu/tests/tcg/ppc64/mtfsf.c
/qemu/tests/tcg/ppc64/non_signalling_xscv.c
/qemu/tests/tcg/ppc64/signal_save_restore_xer.c
/qemu/tests/tcg/ppc64/xxspltw.c
/qemu/tests/tcg/ppc64le/Makefile.target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/x86_64/Makefile.softmmu-target
/qemu/tests/unit/test-image-locking.c
/qemu/tests/unit/test-qga.c
/qemu/tests/unit/test-vmstate.c
/qemu/tests/vhost-user-bridge.c
/qemu/tools/virtiofsd/passthrough_ll.c
/qemu/trace-events
/qemu/trace/control-target.c
/qemu/ui/curses.c
/qemu/ui/dbus.h
/qemu/util/oslib-posix.c
/qemu/util/qemu-config.c
1ee7bb5b11-Aug-2022 Laurent Vivier <lvivier@redhat.com>

qmp: add QMP command x-query-virtio-queue-element

This new command shows the information of a VirtQueue element.

[Note: Up until v10 of this patch series, virtio.json had many (15+)
enums defined

qmp: add QMP command x-query-virtio-queue-element

This new command shows the information of a VirtQueue element.

[Note: Up until v10 of this patch series, virtio.json had many (15+)
enums defined (e.g. decoded device features, statuses, etc.). In v10
most of these enums were removed and replaced with string literals.
By doing this we get (1) simpler schema, (2) smaller generated code,
and (3) less maintenance burden for when new things are added (e.g.
devices, device features, etc.).]

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-6-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

07536ddd11-Aug-2022 Laurent Vivier <lvivier@redhat.com>

qmp: add QMP commands for virtio/vhost queue-status

These new commands show the internal status of a VirtIODevice's
VirtQueue and a vhost device's vhost_virtqueue (if active).

Signed-off-by: Lauren

qmp: add QMP commands for virtio/vhost queue-status

These new commands show the internal status of a VirtIODevice's
VirtQueue and a vhost device's vhost_virtqueue (if active).

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-5-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

f3034ad711-Aug-2022 Laurent Vivier <lvivier@redhat.com>

qmp: decode feature & status bits in virtio-status

Display feature names instead of bitmaps for host, guest, and
backend for VirtIODevices.

Display status names instead of bitmaps for VirtIODevices

qmp: decode feature & status bits in virtio-status

Display feature names instead of bitmaps for host, guest, and
backend for VirtIODevices.

Display status names instead of bitmaps for VirtIODevices.

Display feature names instead of bitmaps for backend, protocol,
acked, and features (hdev->features) for vhost devices.

Decode features according to device ID. Decode statuses
according to configuration status bitmap (config_status_map).
Decode vhost user protocol features according to vhost user
protocol bitmap (vhost_user_protocol_map).

Transport features are on the first line. Undecoded bits (if
any) are stored in a separate field.

[Jonah: Several changes made to this patch from prev. version (v14):
- Moved all device features mappings to hw/virtio/virtio.c
- Renamed device features mappings (less generic)
- Generalized @FEATURE_ENTRY macro for all device mappings
- Virtio device feature map definitions include descriptions of
feature bits
- Moved @VHOST_USER_F_PROTOCOL_FEATURES feature bit from transport
feature map to vhost-user-supported device feature mappings
(blk, fs, i2c, rng, net, gpu, input, scsi, vsock)
- New feature bit added for virtio-vsock: @VIRTIO_VSOCK_F_SEQPACKET
- New feature bit added for virtio-iommu: @VIRTIO_IOMMU_F_BYPASS_CONFIG
- New feature bit added for virtio-mem: @VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE
- New virtio transport feature bit added: @VIRTIO_F_IN_ORDER
- Added device feature map definition for virtio-rng
]

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-4-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

90c066cd11-Aug-2022 Laurent Vivier <lvivier@redhat.com>

qmp: add QMP command x-query-virtio-status

This new command shows the status of a VirtIODevice, including
its corresponding vhost device's status (if active).

Next patch will improve output by deco

qmp: add QMP command x-query-virtio-status

This new command shows the status of a VirtIODevice, including
its corresponding vhost device's status (if active).

Next patch will improve output by decoding feature bits, including
vhost device's feature bits (backend, protocol, acked, and features).
Also will decode status bits of a VirtIODevice.

[Jonah: From patch v12; added a check to @virtio_device_find to ensure
synchronicity between @virtio_list and the devices in the QOM
composition tree.]

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-3-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

a5ebce3811-Aug-2022 Laurent Vivier <lvivier@redhat.com>

qmp: add QMP command x-query-virtio

This new command lists all the instances of VirtIODevices with
their canonical QOM path and name.

[Jonah: @virtio_list duplicates information that already exists

qmp: add QMP command x-query-virtio

This new command lists all the instances of VirtIODevices with
their canonical QOM path and name.

[Jonah: @virtio_list duplicates information that already exists in
the QOM composition tree. However, extracting necessary information
from this tree seems to be a bit convoluted.

Instead, we still create our own list of realized virtio devices
but use @qmp_qom_get with the device's canonical QOM path to confirm
that the device exists and is realized. If the device exists but
is actually not realized, then we remove it from our list (for
synchronicity to the QOM composition tree).

Also, the QMP command @x-query-virtio is redundant as @qom-list
and @qom-get are sufficient to search '/machine/' for realized
virtio devices. However, @x-query-virtio is much more convenient
in listing realized virtio devices.]

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jonah Palmer <jonah.palmer@oracle.com>
Message-Id: <1660220684-24909-2-git-send-email-jonah.palmer@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus/freebsd-12.vars
/qemu/.gitlab-ci.d/cirrus/freebsd-13.vars
/qemu/.gitlab-ci.d/cirrus/macos-11.vars
/qemu/.gitlab-ci.d/windows.yml
/qemu/.gitmodules
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/accel/accel-common.c
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/kvm-cpus.h
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/internal.h
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/tb-hash.h
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/tcg-all.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/audio/audio.c
/qemu/audio/audio_template.h
/qemu/block/accounting.c
/qemu/block/file-posix.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/raw-format.c
/qemu/blockdev.c
/qemu/chardev/baum.c
/qemu/chardev/char.c
/qemu/chardev/msmouse.c
/qemu/chardev/wctablet.c
/qemu/configure
/qemu/contrib/gitdm/domain-map
/qemu/contrib/gitdm/group-map-academics
/qemu/contrib/gitdm/group-map-individuals
/qemu/contrib/plugins/execlog.c
/qemu/cpu.c
/qemu/disas.c
/qemu/disas/capstone.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/tcg-plugins.rst
/qemu/docs/devel/testing.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/specs/tpm.rst
/qemu/docs/system/riscv/virt.rst
/qemu/docs/tools/qemu-img.rst
/qemu/gdb-xml/riscv-32bit-cpu.xml
/qemu/gdb-xml/riscv-32bit-fpu.xml
/qemu/gdb-xml/riscv-64bit-cpu.xml
/qemu/gdb-xml/riscv-64bit-fpu.xml
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/meson.build
/qemu/gdbstub/softmmu.c
/qemu/gdbstub/trace-events
/qemu/gdbstub/trace.h
/qemu/gdbstub/user.c
/qemu/hw/acpi/generic_event_device.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/block/block.c
/qemu/hw/block/meson.build
/qemu/hw/block/vhost-user-blk.c
/qemu/hw/block/virtio-blk-common.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/char/serial.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/display/ati_2d.c
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/ide/core.c
/qemu/hw/ide/piix.c
/qemu/hw/intc/xics.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/mos6522.c
/qemu/hw/net/can/xlnx-zynqmp-can.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci_nvlink2.c
/qemu/hw/remote/iommu.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/s390x/meson.build
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/s390-pci-kvm.c
/qemu/hw/s390x/s390-pci-vfio.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/scsi/vhost-scsi.c
/qemu/hw/scsi/vhost-user-scsi.c
/qemu/hw/ssi/ibex_spi_host.c
/qemu/hw/usb/hcd-ohci.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/virtio/Kconfig
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/vhost-shadow-virtqueue.c
/qemu/hw/virtio/vhost-user-fs.c
/qemu/hw/virtio/vhost-user-gpio-pci.c
/qemu/hw/virtio/vhost-user-gpio.c
/qemu/hw/virtio/vhost-user-i2c.c
/qemu/hw/virtio/vhost-user-rng.c
/qemu/hw/virtio/vhost-user-vsock.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/vhost-vsock-common.c
/qemu/hw/virtio/vhost-vsock.c
/qemu/hw/virtio/vhost.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/virtio/virtio-stub.c
/qemu/hw/virtio/virtio.c
/qemu/hw/watchdog/sbsa_gwdt.c
/qemu/hw/watchdog/watchdog.c
/qemu/hw/watchdog/wdt_aspeed.c
/qemu/hw/watchdog/wdt_diag288.c
/qemu/hw/watchdog/wdt_i6300esb.c
/qemu/hw/watchdog/wdt_ib700.c
/qemu/hw/watchdog/wdt_imx2.c
/qemu/hw/xen/xen_pt_config_init.c
/qemu/include/block/accounting.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-io.h
/qemu/include/chardev/char.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/plugin-gen.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/block/block.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/cxl/cxl_device.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/nvram/fw_cfg.h
/qemu/include/hw/riscv/opentitan.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/s390x/s390-pci-bus.h
/qemu/include/hw/s390x/s390-pci-kvm.h
/qemu/include/hw/s390x/s390-pci-vfio.h
/qemu/include/hw/s390x/s390-virtio-ccw.h
/qemu/include/hw/virtio/vhost-user-blk.h
/qemu/include/hw/virtio/vhost-user-gpio.h
/qemu/include/hw/virtio/vhost.h
/qemu/include/hw/virtio/virtio-blk-common.h
/qemu/include/hw/virtio/virtio.h
/qemu/include/monitor/monitor.h
/qemu/include/qemu/accel.h
/qemu/include/qemu/plugin.h
/qemu/include/qemu/sockets.h
/qemu/include/qemu/typedefs.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/input.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_9p.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_ids.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_ring.h
/qemu/include/sysemu/accel-ops.h
/qemu/include/sysemu/cpus.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/replay.h
/qemu/include/sysemu/watchdog.h
/qemu/include/tcg/tcg.h
/qemu/io/channel-websock.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/unistd.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/mman.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vduse.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vfio_zdev.h
/qemu/linux-headers/linux/vhost.h
/qemu/linux-user/aarch64/target_mman.h
/qemu/linux-user/alpha/target_mman.h
/qemu/linux-user/arm/target_mman.h
/qemu/linux-user/cpu_loop-common.h
/qemu/linux-user/cris/target_mman.h
/qemu/linux-user/elfload.c
/qemu/linux-user/generic/target_mman.h
/qemu/linux-user/hexagon/target_mman.h
/qemu/linux-user/hppa/cpu_loop.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/hppa/target_mman.h
/qemu/linux-user/hppa/target_signal.h
/qemu/linux-user/hppa/target_syscall.h
/qemu/linux-user/i386/target_elf.h
/qemu/linux-user/i386/target_mman.h
/qemu/linux-user/include/host/s390/host-signal.h
/qemu/linux-user/loongarch64/target_mman.h
/qemu/linux-user/m68k/target_mman.h
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/target_mman.h
/qemu/linux-user/mips/target_mman.h
/qemu/linux-user/mips64/target_mman.h
/qemu/linux-user/mmap.c
/qemu/linux-user/nios2/target_mman.h
/qemu/linux-user/openrisc/target_mman.h
/qemu/linux-user/ppc/target_mman.h
/qemu/linux-user/riscv/target_mman.h
/qemu/linux-user/s390x/signal.c
/qemu/linux-user/s390x/target_mman.h
/qemu/linux-user/sh4/signal.c
/qemu/linux-user/sh4/target_mman.h
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/target_mman.h
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/x86_64/target_elf.h
/qemu/linux-user/x86_64/target_mman.h
/qemu/linux-user/xtensa/target_mman.h
/qemu/meson
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/dirtyrate.c
/qemu/monitor/hmp-cmds.c
/qemu/monitor/hmp.c
/qemu/monitor/monitor-internal.h
/qemu/net/tap.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/optionrom/Makefile
/qemu/pc-bios/qboot.rom
/qemu/pc-bios/s390-ccw/Makefile
/qemu/pc-bios/s390-ccw/netboot.mak
/qemu/pc-bios/vof/Makefile
/qemu/plugins/api.c
/qemu/plugins/core.c
meson.build
qapi-schema.json
virtio.json
/qemu/qemu-img.c
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/replay/replay-char.c
/qemu/replay/replay.c
/qemu/scripts/archive-source.sh
/qemu/scripts/checkpatch.pl
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/main.c
/qemu/scripts/meson-buildoptions.sh
/qemu/semihosting/arm-compat-semi.c
/qemu/softmmu/cpus.c
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/vl.c
/qemu/stubs/replay-tools.c
/qemu/target/alpha/cpu.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/m_helper.c
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-neon.c
/qemu/target/avr/cpu.c
/qemu/target/cris/cpu.c
/qemu/target/hexagon/attribs_def.h.inc
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/decode.c
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/genptr.c
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/imported/ldst.idef
/qemu/target/hexagon/imported/subinsns.idef
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/helper.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/mips/tcg/exception.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/nios2/cpu.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/cpu_init.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/csr.c
/qemu/target/riscv/debug.c
/qemu/target/riscv/debug.h
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/machine.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/kvm_s390x.h
/qemu/target/s390x/tcg/crypto_helper.c
/qemu/target/s390x/tcg/insn-data.def
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/xtensa/cpu.c
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/Makefile.include
/qemu/tests/avocado/machine_s390_ccw_virtio.py
/qemu/tests/data/acpi/virt/GTDT
/qemu/tests/data/acpi/virt/GTDT.memhp
/qemu/tests/data/acpi/virt/GTDT.numamem
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/alpine.docker
/qemu/tests/docker/dockerfiles/centos8.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/qemu/tests/docker/run
/qemu/tests/lcitool/projects/qemu.yml
/qemu/tests/lcitool/refresh
/qemu/tests/qemu-iotests/172.out
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/tests/backing-file-invalidation
/qemu/tests/qemu-iotests/tests/backing-file-invalidation.out
/qemu/tests/qtest/ahci-test.c
/qemu/tests/qtest/aspeed_smc-test.c
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/boot-serial-test.c
/qemu/tests/qtest/cxl-test.c
/qemu/tests/qtest/dbus-display-test.c
/qemu/tests/qtest/device-plug-test.c
/qemu/tests/qtest/fdc-test.c
/qemu/tests/qtest/fuzz/generic_fuzz_configs.h
/qemu/tests/qtest/fuzz/virtio_blk_fuzz.c
/qemu/tests/qtest/hd-geo-test.c
/qemu/tests/qtest/i440fx-test.c
/qemu/tests/qtest/ide-test.c
/qemu/tests/qtest/libqos/meson.build
/qemu/tests/qtest/libqos/qgraph.h
/qemu/tests/qtest/libqos/virtio-gpio.c
/qemu/tests/qtest/libqos/virtio-gpio.h
/qemu/tests/qtest/libqos/virtio.c
/qemu/tests/qtest/libqtest-single.h
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/libqtest.h
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/pflash-cfi02-test.c
/qemu/tests/qtest/qmp-cmd-test.c
/qemu/tests/qtest/qmp-test.c
/qemu/tests/qtest/qos-test.c
/qemu/tests/qtest/vhost-user-blk-test.c
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/virtio-blk-test.c
/qemu/tests/qtest/virtio-net-failover.c
/qemu/tests/qtest/virtio-net-test.c
/qemu/tests/qtest/virtio-scsi-test.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/cris/Makefile.target
/qemu/tests/tcg/i386/Makefile.softmmu-target
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/linux/linux-madvise.c
/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/bcdsub.c
/qemu/tests/tcg/ppc64/byte_reverse.c
/qemu/tests/tcg/ppc64/mffsce.c
/qemu/tests/tcg/ppc64/mtfsf.c
/qemu/tests/tcg/ppc64/non_signalling_xscv.c
/qemu/tests/tcg/ppc64/signal_save_restore_xer.c
/qemu/tests/tcg/ppc64/xxspltw.c
/qemu/tests/tcg/ppc64le/Makefile.target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/x86_64/Makefile.softmmu-target
/qemu/tests/unit/test-image-locking.c
/qemu/tests/unit/test-qga.c
/qemu/tests/unit/test-vmstate.c
/qemu/tests/vhost-user-bridge.c
/qemu/tools/virtiofsd/passthrough_ll.c
/qemu/trace-events
/qemu/trace/control-target.c
/qemu/ui/curses.c
/qemu/ui/dbus.h
/qemu/util/oslib-posix.c
/qemu/util/qemu-config.c
34f58df530-Sep-2022 Markus Armbruster <armbru@redhat.com>

Revert "qapi: fix examples of blockdev-add with qcow2"

This reverts commit b6522938327141235b97ab38e40c6c4512587373.

Kevin Wolf NAKed this patch, because:

'file' is a required member (defined

Revert "qapi: fix examples of blockdev-add with qcow2"

This reverts commit b6522938327141235b97ab38e40c6c4512587373.

Kevin Wolf NAKed this patch, because:

'file' is a required member (defined in BlockdevOptionsGenericFormat),
removing it makes the example invalid. 'data-file' is only an additional
optional member to be used for external data files (i.e. when the guest
data is kept separate from the metadata in the .qcow2 file).

However, it had already been merged then. Revert.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220930171908.846769-1-armbru@redhat.com>
Reviewed-by: Victor Toso <victortoso@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/qemu/.gitignore
/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus/freebsd-12.vars
/qemu/.gitlab-ci.d/cirrus/freebsd-13.vars
/qemu/.gitlab-ci.d/cirrus/macos-11.vars
/qemu/.gitlab-ci.d/windows.yml
/qemu/.gitmodules
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/accel/accel-common.c
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/kvm/kvm-cpus.h
/qemu/accel/stubs/kvm-stub.c
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/internal.h
/qemu/accel/tcg/plugin-gen.c
/qemu/accel/tcg/tb-hash.h
/qemu/accel/tcg/tb-jmp-cache.h
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/tcg-all.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/audio/audio.c
/qemu/audio/audio_template.h
/qemu/block/accounting.c
/qemu/block/file-posix.c
/qemu/block/gluster.c
/qemu/block/io.c
/qemu/block/iscsi.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2.c
/qemu/block/qed.c
/qemu/block/raw-format.c
/qemu/blockdev.c
/qemu/chardev/baum.c
/qemu/chardev/char.c
/qemu/chardev/msmouse.c
/qemu/chardev/wctablet.c
/qemu/configure
/qemu/contrib/gitdm/domain-map
/qemu/contrib/gitdm/group-map-academics
/qemu/contrib/gitdm/group-map-individuals
/qemu/contrib/plugins/execlog.c
/qemu/cpu.c
/qemu/disas.c
/qemu/disas/capstone.c
/qemu/disas/riscv.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/removed-features.rst
/qemu/docs/devel/tcg-plugins.rst
/qemu/docs/devel/testing.rst
/qemu/docs/devel/writing-monitor-commands.rst
/qemu/docs/specs/tpm.rst
/qemu/docs/system/riscv/virt.rst
/qemu/docs/tools/qemu-img.rst
/qemu/gdb-xml/riscv-32bit-cpu.xml
/qemu/gdb-xml/riscv-32bit-fpu.xml
/qemu/gdb-xml/riscv-64bit-cpu.xml
/qemu/gdb-xml/riscv-64bit-fpu.xml
/qemu/gdbstub/gdbstub.c
/qemu/gdbstub/internals.h
/qemu/gdbstub/meson.build
/qemu/gdbstub/softmmu.c
/qemu/gdbstub/trace-events
/qemu/gdbstub/trace.h
/qemu/gdbstub/user.c
/qemu/hw/acpi/generic_event_device.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xlnx-zynqmp.c
/qemu/hw/block/block.c
/qemu/hw/char/serial.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/cpu-sysemu.c
/qemu/hw/display/ati_2d.c
/qemu/hw/display/vhost-user-gpu.c
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/microvm.c
/qemu/hw/i386/multiboot.c
/qemu/hw/i386/pc_piix.c
/qemu/hw/i386/pc_q35.c
/qemu/hw/i386/x86.c
/qemu/hw/ide/core.c
/qemu/hw/ide/piix.c
/qemu/hw/intc/xics.c
/qemu/hw/m68k/bootinfo.h
/qemu/hw/mem/cxl_type3.c
/qemu/hw/misc/mos6522.c
/qemu/hw/net/can/xlnx-zynqmp-can.c
/qemu/hw/net/e1000e_core.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/virtio-net.c
/qemu/hw/nvram/fw_cfg.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci_nvlink2.c
/qemu/hw/remote/iommu.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/s390x/meson.build
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/s390-pci-inst.c
/qemu/hw/s390x/s390-pci-kvm.c
/qemu/hw/s390x/s390-pci-vfio.c
/qemu/hw/s390x/s390-virtio-ccw.c
/qemu/hw/ssi/ibex_spi_host.c
/qemu/hw/usb/hcd-ohci.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/migration.c
/qemu/hw/virtio/vhost-shadow-virtqueue.c
/qemu/hw/virtio/vhost-user.c
/qemu/hw/virtio/virtio-crypto.c
/qemu/hw/watchdog/sbsa_gwdt.c
/qemu/hw/watchdog/watchdog.c
/qemu/hw/watchdog/wdt_aspeed.c
/qemu/hw/watchdog/wdt_diag288.c
/qemu/hw/watchdog/wdt_i6300esb.c
/qemu/hw/watchdog/wdt_ib700.c
/qemu/hw/watchdog/wdt_imx2.c
/qemu/hw/xen/xen_pt_config_init.c
/qemu/include/block/accounting.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-io.h
/qemu/include/chardev/char.h
/qemu/include/exec/cpu-all.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cpu-defs.h
/qemu/include/exec/exec-all.h
/qemu/include/exec/plugin-gen.h
/qemu/include/hw/arm/xlnx-zynqmp.h
/qemu/include/hw/block/block.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/nvram/fw_cfg.h
/qemu/include/hw/riscv/opentitan.h
/qemu/include/hw/riscv/sifive_e.h
/qemu/include/hw/s390x/s390-pci-bus.h
/qemu/include/hw/s390x/s390-pci-kvm.h
/qemu/include/hw/s390x/s390-pci-vfio.h
/qemu/include/hw/s390x/s390-virtio-ccw.h
/qemu/include/monitor/monitor.h
/qemu/include/qemu/accel.h
/qemu/include/qemu/plugin.h
/qemu/include/qemu/sockets.h
/qemu/include/qemu/typedefs.h
/qemu/include/standard-headers/asm-x86/bootparam.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/ethtool.h
/qemu/include/standard-headers/linux/input.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_9p.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_ids.h
/qemu/include/standard-headers/linux/virtio_net.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/standard-headers/linux/virtio_ring.h
/qemu/include/sysemu/accel-ops.h
/qemu/include/sysemu/cpus.h
/qemu/include/sysemu/kvm.h
/qemu/include/sysemu/replay.h
/qemu/include/sysemu/watchdog.h
/qemu/include/tcg/tcg.h
/qemu/io/channel-websock.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/unistd.h
/qemu/linux-headers/asm-s390/kvm.h
/qemu/linux-headers/asm-x86/kvm.h
/qemu/linux-headers/asm-x86/mman.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vduse.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vfio_zdev.h
/qemu/linux-headers/linux/vhost.h
/qemu/linux-user/aarch64/target_mman.h
/qemu/linux-user/alpha/target_mman.h
/qemu/linux-user/arm/target_mman.h
/qemu/linux-user/cpu_loop-common.h
/qemu/linux-user/cris/target_mman.h
/qemu/linux-user/elfload.c
/qemu/linux-user/generic/target_mman.h
/qemu/linux-user/hexagon/target_mman.h
/qemu/linux-user/hppa/cpu_loop.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/hppa/target_mman.h
/qemu/linux-user/hppa/target_signal.h
/qemu/linux-user/hppa/target_syscall.h
/qemu/linux-user/i386/target_elf.h
/qemu/linux-user/i386/target_mman.h
/qemu/linux-user/include/host/s390/host-signal.h
/qemu/linux-user/loongarch64/target_mman.h
/qemu/linux-user/m68k/target_mman.h
/qemu/linux-user/main.c
/qemu/linux-user/microblaze/target_mman.h
/qemu/linux-user/mips/target_mman.h
/qemu/linux-user/mips64/target_mman.h
/qemu/linux-user/mmap.c
/qemu/linux-user/nios2/target_mman.h
/qemu/linux-user/openrisc/target_mman.h
/qemu/linux-user/ppc/target_mman.h
/qemu/linux-user/riscv/target_mman.h
/qemu/linux-user/s390x/signal.c
/qemu/linux-user/s390x/target_mman.h
/qemu/linux-user/sh4/signal.c
/qemu/linux-user/sh4/target_mman.h
/qemu/linux-user/signal-common.h
/qemu/linux-user/signal.c
/qemu/linux-user/sparc/target_mman.h
/qemu/linux-user/strace.c
/qemu/linux-user/strace.list
/qemu/linux-user/syscall.c
/qemu/linux-user/syscall_defs.h
/qemu/linux-user/x86_64/target_elf.h
/qemu/linux-user/x86_64/target_mman.h
/qemu/linux-user/xtensa/target_mman.h
/qemu/meson
/qemu/meson.build
/qemu/meson_options.txt
/qemu/migration/dirtyrate.c
/qemu/monitor/hmp-cmds.c
/qemu/monitor/hmp.c
/qemu/monitor/monitor-internal.h
/qemu/net/tap.c
/qemu/net/vhost-vdpa.c
/qemu/pc-bios/optionrom/Makefile
/qemu/pc-bios/qboot.rom
/qemu/pc-bios/s390-ccw/Makefile
/qemu/pc-bios/s390-ccw/netboot.mak
/qemu/pc-bios/vof/Makefile
/qemu/plugins/api.c
/qemu/plugins/core.c
block-core.json
/qemu/qemu-img.c
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/replay/replay-char.c
/qemu/replay/replay.c
/qemu/scripts/archive-source.sh
/qemu/scripts/checkpatch.pl
/qemu/scripts/ci/setup/build-environment.yml
/qemu/scripts/main.c
/qemu/scripts/meson-buildoptions.sh
/qemu/semihosting/arm-compat-semi.c
/qemu/softmmu/cpus.c
/qemu/softmmu/dirtylimit.c
/qemu/softmmu/vl.c
/qemu/stubs/replay-tools.c
/qemu/target/alpha/cpu.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/m_helper.c
/qemu/target/arm/mte_helper.c
/qemu/target/arm/ptw.c
/qemu/target/arm/sve_helper.c
/qemu/target/arm/tlb_helper.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate-neon.c
/qemu/target/avr/cpu.c
/qemu/target/cris/cpu.c
/qemu/target/hexagon/attribs_def.h.inc
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/decode.c
/qemu/target/hexagon/gen_tcg_funcs.py
/qemu/target/hexagon/genptr.c
/qemu/target/hexagon/hex_common.py
/qemu/target/hexagon/imported/ldst.idef
/qemu/target/hexagon/imported/subinsns.idef
/qemu/target/hexagon/macros.h
/qemu/target/hexagon/translate.c
/qemu/target/hppa/cpu.c
/qemu/target/hppa/helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/helper.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/translate.c
/qemu/target/microblaze/cpu.c
/qemu/target/mips/cpu.c
/qemu/target/mips/tcg/exception.c
/qemu/target/mips/tcg/sysemu/special_helper.c
/qemu/target/nios2/cpu.c
/qemu/target/openrisc/cpu.c
/qemu/target/ppc/cpu_init.c
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/csr.c
/qemu/target/riscv/debug.c
/qemu/target/riscv/debug.h
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/helper.h
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/machine.c
/qemu/target/riscv/vector_helper.c
/qemu/target/rx/cpu.c
/qemu/target/s390x/cpu.c
/qemu/target/s390x/gen-features.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/kvm/kvm_s390x.h
/qemu/target/s390x/tcg/crypto_helper.c
/qemu/target/s390x/tcg/insn-data.def
/qemu/target/s390x/tcg/mem_helper.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/cpu.c
/qemu/target/tricore/cpu.c
/qemu/target/xtensa/cpu.c
/qemu/tcg/ppc/tcg-target.c.inc
/qemu/tcg/tcg.c
/qemu/tests/Makefile.include
/qemu/tests/avocado/machine_s390_ccw_virtio.py
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/alpine.docker
/qemu/tests/docker/dockerfiles/centos8.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64.docker
/qemu/tests/docker/dockerfiles/debian-arm64-cross.docker
/qemu/tests/docker/dockerfiles/debian-armel-cross.docker
/qemu/tests/docker/dockerfiles/debian-armhf-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-mipsel-cross.docker
/qemu/tests/docker/dockerfiles/debian-ppc64el-cross.docker
/qemu/tests/docker/dockerfiles/debian-riscv64-cross.docker
/qemu/tests/docker/dockerfiles/debian-s390x-cross.docker
/qemu/tests/docker/dockerfiles/fedora-i386-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win32-cross.docker
/qemu/tests/docker/dockerfiles/fedora-win64-cross.docker
/qemu/tests/docker/dockerfiles/fedora.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/qemu/tests/docker/run
/qemu/tests/lcitool/projects/qemu.yml
/qemu/tests/lcitool/refresh
/qemu/tests/qemu-iotests/172.out
/qemu/tests/qemu-iotests/227.out
/qemu/tests/qemu-iotests/tests/backing-file-invalidation
/qemu/tests/qemu-iotests/tests/backing-file-invalidation.out
/qemu/tests/qtest/ahci-test.c
/qemu/tests/qtest/aspeed_smc-test.c
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/boot-serial-test.c
/qemu/tests/qtest/cxl-test.c
/qemu/tests/qtest/dbus-display-test.c
/qemu/tests/qtest/device-plug-test.c
/qemu/tests/qtest/fdc-test.c
/qemu/tests/qtest/fuzz/generic_fuzz_configs.h
/qemu/tests/qtest/fuzz/virtio_blk_fuzz.c
/qemu/tests/qtest/hd-geo-test.c
/qemu/tests/qtest/i440fx-test.c
/qemu/tests/qtest/ide-test.c
/qemu/tests/qtest/libqos/qgraph.h
/qemu/tests/qtest/libqtest-single.h
/qemu/tests/qtest/libqtest.c
/qemu/tests/qtest/libqtest.h
/qemu/tests/qtest/meson.build
/qemu/tests/qtest/microbit-test.c
/qemu/tests/qtest/migration-test.c
/qemu/tests/qtest/pflash-cfi02-test.c
/qemu/tests/qtest/qmp-test.c
/qemu/tests/qtest/vhost-user-blk-test.c
/qemu/tests/qtest/vhost-user-test.c
/qemu/tests/qtest/virtio-blk-test.c
/qemu/tests/qtest/virtio-net-failover.c
/qemu/tests/qtest/virtio-net-test.c
/qemu/tests/qtest/virtio-scsi-test.c
/qemu/tests/tcg/Makefile.target
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/Makefile.target
/qemu/tests/tcg/arm/Makefile.target
/qemu/tests/tcg/cris/Makefile.target
/qemu/tests/tcg/i386/Makefile.softmmu-target
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/linux/linux-madvise.c
/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/bcdsub.c
/qemu/tests/tcg/ppc64/byte_reverse.c
/qemu/tests/tcg/ppc64/mffsce.c
/qemu/tests/tcg/ppc64/mtfsf.c
/qemu/tests/tcg/ppc64/non_signalling_xscv.c
/qemu/tests/tcg/ppc64/signal_save_restore_xer.c
/qemu/tests/tcg/ppc64/xxspltw.c
/qemu/tests/tcg/ppc64le/Makefile.target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/x86_64/Makefile.softmmu-target
/qemu/tests/unit/test-image-locking.c
/qemu/tests/unit/test-qga.c
/qemu/tests/unit/test-vmstate.c
/qemu/tests/vhost-user-bridge.c
/qemu/tools/virtiofsd/passthrough_ll.c
/qemu/trace-events
/qemu/trace/control-target.c
/qemu/ui/curses.c
/qemu/ui/dbus.h
/qemu/util/oslib-posix.c
/qemu/util/qemu-config.c
663df1cc07-Sep-2022 Alexandre Ratchov <alex@caoua.org>

audio: Add sndio backend

sndio is the native API used by OpenBSD, although it has been ported to
other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.).

Signed-off-by: Brad Smith <b

audio: Add sndio backend

sndio is the native API used by OpenBSD, although it has been ported to
other *BSD's and Linux (packages for Ubuntu, Debian, Void, Arch, etc.).

Signed-off-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Alexandre Ratchov <alex@caoua.org>
Reviewed-by: Volker Rümelin <vr_qemu@t-online.de>
Tested-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <YxibXrWsrS3XYQM3@vm1.arverb.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

show more ...


/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/cirrus/freebsd-12.vars
/qemu/.gitlab-ci.d/cirrus/freebsd-13.vars
/qemu/.gitlab-ci.d/container-core.yml
/qemu/.gitlab-ci.d/container-cross.yml
/qemu/.gitlab-ci.d/containers.yml
/qemu/.gitlab-ci.d/crossbuild-template.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/.gitlab-ci.d/custom-runners.yml
/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
/qemu/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
/qemu/.gitlab-ci.d/windows.yml
/qemu/MAINTAINERS
/qemu/Makefile
/qemu/accel/kvm/kvm-all.c
/qemu/audio/audio.c
/qemu/audio/audio.h
/qemu/audio/audio_template.h
/qemu/audio/meson.build
/qemu/audio/sndioaudio.c
/qemu/backends/tpm/tpm_emulator.c
/qemu/backends/tpm/tpm_ioctl.h
/qemu/backends/tpm/trace-events
/qemu/configure
/qemu/disas/riscv.c
/qemu/docs/about/build-platforms.rst
/qemu/docs/about/deprecated.rst
/qemu/docs/devel/fuzzing.rst
/qemu/docs/devel/testing.rst
/qemu/docs/interop/qemu-ga.rst
/qemu/docs/system/arm/emulation.rst
/qemu/docs/system/arm/virt.rst
/qemu/hmp-commands-info.hx
/qemu/hmp-commands.hx
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/aspeed.c
/qemu/hw/arm/microbit.c
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/mps2.c
/qemu/hw/arm/msf2-som.c
/qemu/hw/arm/musca.c
/qemu/hw/arm/netduino2.c
/qemu/hw/arm/netduinoplus2.c
/qemu/hw/arm/stellaris.c
/qemu/hw/arm/stm32vldiscovery.c
/qemu/hw/arm/virt.c
/qemu/hw/core/sysbus-fdt.c
/qemu/hw/intc/riscv_aclint.c
/qemu/hw/intc/riscv_imsic.c
/qemu/hw/loongarch/Kconfig
/qemu/hw/loongarch/acpi-build.c
/qemu/hw/loongarch/fw_cfg.c
/qemu/hw/loongarch/virt.c
/qemu/hw/microblaze/boot.c
/qemu/hw/misc/bcm2835_property.c
/qemu/hw/pci-host/pnv_phb3.c
/qemu/hw/pci-host/pnv_phb4.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/riscv/boot.c
/qemu/hw/riscv/microchip_pfsoc.c
/qemu/hw/riscv/opentitan.c
/qemu/hw/riscv/shakti_c.c
/qemu/hw/riscv/spike.c
/qemu/hw/riscv/virt.c
/qemu/hw/smbios/smbios.c
/qemu/hw/timer/ibex_timer.c
/qemu/hw/tpm/tpm_crb.c
/qemu/hw/usb/dev-network.c
/qemu/hw/usb/dev-storage.c
/qemu/hw/usb/hcd-ohci.c
/qemu/hw/usb/hcd-xhci.c
/qemu/hw/usb/trace-events
/qemu/include/hw/arm/boot.h
/qemu/include/hw/intc/riscv_aclint.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/pci-host/ls7a.h
/qemu/include/hw/ppc/spapr.h
/qemu/include/hw/riscv/boot.h
/qemu/include/hw/riscv/microchip_pfsoc.h
/qemu/include/hw/riscv/opentitan.h
/qemu/include/hw/riscv/virt.h
/qemu/include/hw/timer/ibex_timer.h
/qemu/include/hw/usb/msd.h
/qemu/include/qemu-main.h
/qemu/include/qemu/main-loop.h
/qemu/include/semihosting/semihost.h
/qemu/include/sysemu/sysemu.h
/qemu/include/ui/console.h
/qemu/meson.build
/qemu/meson_options.txt
/qemu/monitor/hmp.c
/qemu/monitor/misc.c
/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
audio.json
/qemu/qemu-options.hx
/qemu/qga/commands-posix.c
/qemu/qga/commands-win32.c
/qemu/qga/guest-agent-core.h
/qemu/qga/main.c
/qemu/qga/qapi-schema.json
/qemu/roms/opensbi
/qemu/roms/qboot
/qemu/scripts/coverity-scan/COMPONENTS.md
/qemu/scripts/meson-buildoptions.sh
/qemu/semihosting/config.c
/qemu/softmmu/main.c
/qemu/softmmu/vl.c
/qemu/stubs/semihost.c
/qemu/target/arm/cpu.h
/qemu/target/arm/cpu64.c
/qemu/target/arm/cpu_tcg.c
/qemu/target/arm/helper.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm64.c
/qemu/target/arm/translate-a64.c
/qemu/target/arm/translate.c
/qemu/target/hexagon/imported/encode_pp.def
/qemu/target/i386/ops_sse.h
/qemu/target/i386/ops_sse_header.h
/qemu/target/i386/tcg/excp_helper.c
/qemu/target/i386/tcg/helper-tcg.h
/qemu/target/i386/tcg/sysemu/excp_helper.c
/qemu/target/i386/tcg/tcg-cpu.c
/qemu/target/i386/tcg/translate.c
/qemu/target/i386/tcg/user/excp_helper.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/helper.c
/qemu/target/m68k/m68k-semi.c
/qemu/target/m68k/op_helper.c
/qemu/target/m68k/translate.c
/qemu/target/mips/tcg/micromips_translate.c.inc
/qemu/target/mips/tcg/mips16e_translate.c.inc
/qemu/target/mips/tcg/nanomips_translate.c.inc
/qemu/target/mips/tcg/translate.c
/qemu/target/nios2/nios2-semi.c
/qemu/target/nios2/translate.c
/qemu/target/ppc/cpu.h
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/dfp_helper.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/fpu_helper.c
/qemu/target/ppc/helper.h
/qemu/target/ppc/insn32.decode
/qemu/target/ppc/int_helper.c
/qemu/target/ppc/translate.c
/qemu/target/ppc/translate/fixedpoint-impl.c.inc
/qemu/target/ppc/translate/fp-impl.c.inc
/qemu/target/ppc/translate/fp-ops.c.inc
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/insn16.decode
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_privileged.c.inc
/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/instmap.h
/qemu/target/riscv/internals.h
/qemu/target/riscv/machine.c
/qemu/target/riscv/meson.build
/qemu/target/riscv/pmu.c
/qemu/target/riscv/pmu.h
/qemu/target/riscv/time_helper.c
/qemu/target/riscv/time_helper.h
/qemu/target/riscv/translate.c
/qemu/target/riscv/vector_helper.c
/qemu/target/xtensa/translate.c
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/boot_linux.py
/qemu/tests/avocado/boot_linux_console.py
/qemu/tests/avocado/machine_aspeed.py
/qemu/tests/data/test-qga-config
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/docker.py
/qemu/tests/docker/dockerfiles/debian-all-test-cross.docker
/qemu/tests/docker/dockerfiles/debian-alpha-cross.docker
/qemu/tests/docker/dockerfiles/debian-amd64-cross.docker
/qemu/tests/docker/dockerfiles/debian-hexagon-cross.docker
/qemu/tests/docker/dockerfiles/debian-hppa-cross.docker
/qemu/tests/docker/dockerfiles/debian-loongarch-cross.docker
/qemu/tests/docker/dockerfiles/debian-m68k-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips-cross.docker
/qemu/tests/docker/dockerfiles/debian-mips64-cross.docker
/qemu/tests/docker/dockerfiles/debian-powerpc-test-cross.docker
/qemu/tests/docker/dockerfiles/debian-riscv64-test-cross.docker
/qemu/tests/docker/dockerfiles/debian-sh4-cross.docker
/qemu/tests/docker/dockerfiles/debian-sparc64-cross.docker
/qemu/tests/docker/dockerfiles/debian-toolchain.docker
/qemu/tests/docker/dockerfiles/opensuse-leap.docker
/qemu/tests/docker/dockerfiles/ubuntu2004.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/refresh
/qemu/tests/qtest/bios-tables-test.c
/qemu/tests/qtest/e1000-test.c
/qemu/tests/qtest/es1370-test.c
/qemu/tests/qtest/fuzz-lsi53c895a-test.c
/qemu/tests/qtest/fuzz-sb16-test.c
/qemu/tests/qtest/fuzz/fuzz.c
/qemu/tests/qtest/intel-hda-test.c
/qemu/tests/qtest/npcm7xx_emc-test.c
/qemu/tests/tcg/hexagon/usr.c
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-3dnow.c
/qemu/tests/tcg/i386/test-avx.py
/qemu/tests/tcg/i386/test-i386.c
/qemu/tests/tcg/i386/test-mmx.c
/qemu/tests/tcg/i386/test-mmx.py
/qemu/tests/tcg/i386/x86.csv
/qemu/tests/tcg/x86_64/Makefile.target
/qemu/tests/unit/check-block-qdict.c
/qemu/tests/unit/test-io-channel-command.c
/qemu/tests/unit/test-qga.c
/qemu/tests/unit/test-visitor-serialization.c
/qemu/tests/vm/Makefile.include
/qemu/tests/vm/netbsd
/qemu/ui/clipboard.c
/qemu/ui/cocoa.m
/qemu/ui/console.c
/qemu/ui/trace-events
/qemu/ui/vdagent.c
6e7a37ff01-Sep-2022 Victor Toso <victortoso@redhat.com>

qapi: fix examples of events missing timestamp

I've used real timestamp and changing them one by one so they would
not be all equal.

Problem was noticed when using the example as a test case for Go

qapi: fix examples of events missing timestamp

I've used real timestamp and changing them one by one so they would
not be all equal.

Problem was noticed when using the example as a test case for Go
bindings.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Message-Id: <20220901085840.22520-11-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

b4c32cbf01-Sep-2022 Victor Toso <victortoso@redhat.com>

qapi: fix example of query-hotpluggable-cpus command

The example return type has the wrong member name. Fix it.

Problem was noticed when using the example as a test case for Go
bindings.

Signed-of

qapi: fix example of query-hotpluggable-cpus command

The example return type has the wrong member name. Fix it.

Problem was noticed when using the example as a test case for Go
bindings.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Message-Id: <20220901085840.22520-10-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

b652293801-Sep-2022 Victor Toso <victortoso@redhat.com>

qapi: fix examples of blockdev-add with qcow2

The examples use "qcow2" driver with the wrong member name for
BlockdevRef alternate type. This patch changes all wrong member names
from "file" to "dat

qapi: fix examples of blockdev-add with qcow2

The examples use "qcow2" driver with the wrong member name for
BlockdevRef alternate type. This patch changes all wrong member names
from "file" to "data-file" which is the correct member name in
BlockdevOptionsQcow2 for the BlockdevRef field.

Problem was noticed when using the example as a test case for Go
bindings.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Message-Id: <20220901085840.22520-9-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

e8796ac401-Sep-2022 Victor Toso <victortoso@redhat.com>

qapi: fix example of MEM_UNPLUG_ERROR event

Example output was missing ',' delimiter. Fix it.

Problem was noticed when trying to load the example into python's json
library.

Signed-off-by: Victor

qapi: fix example of MEM_UNPLUG_ERROR event

Example output was missing ',' delimiter. Fix it.

Problem was noticed when trying to load the example into python's json
library.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Message-Id: <20220901085840.22520-8-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

0cd5a5e901-Sep-2022 Victor Toso <victortoso@redhat.com>

qapi: fix example of DEVICE_UNPLUG_GUEST_ERROR event

Example output is missing a ',' delimiter and it has an extra ending
curly bracket. Fix it.

Problem was noticed when trying to load the example

qapi: fix example of DEVICE_UNPLUG_GUEST_ERROR event

Example output is missing a ',' delimiter and it has an extra ending
curly bracket. Fix it.

Problem was noticed when trying to load the example into python's json
library.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Message-Id: <20220901085840.22520-7-victortoso@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>

show more ...

12345678910>>...67