History log of /qemu/tests/qtest/ (Results 101 – 125 of 1235)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
9f7ac8e804-Jan-2024 Daniel P. Berrangé <berrange@redhat.com>

Revert "netdev: set timeout depending on loadavg"

This reverts commit cadfc7293977ecadc2d6c48d7cffc553ed2f85f1.

The test was not timing out because of slow execution. It was
timing out due to a rac

Revert "netdev: set timeout depending on loadavg"

This reverts commit cadfc7293977ecadc2d6c48d7cffc553ed2f85f1.

The test was not timing out because of slow execution. It was
timing out due to a race condition leading to the client QEMU
attempting (and fatally failing) to connect before the server
QEMU was listening.

Signed-off-by: "Daniel P. Berrangé" <berrange@redhat.com>
Message-ID: <20240104162942.211458-2-berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...

b019328803-Jan-2024 Daniel P. Berrangé <berrange@redhat.com>

qtest: use correct boolean type for failover property

QMP device_add does not historically validate the parameter types.
At some point it will likely change to enforce correct types, to
match behavi

qtest: use correct boolean type for failover property

QMP device_add does not historically validate the parameter types.
At some point it will likely change to enforce correct types, to
match behaviour of -device. The failover property is expected to
be a boolean in JSON.

Signed-off-by: "Daniel P. Berrangé" <berrange@redhat.com>
Message-ID: <20240103123005.2400437-1-berrange@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


/qemu/accel/accel-blocker.c
/qemu/accel/dummy-cpus.c
/qemu/accel/hvf/hvf-accel-ops.c
/qemu/accel/kvm/kvm-accel-ops.c
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tcg-accel-ops-icount.c
/qemu/accel/tcg/tcg-accel-ops-mttcg.c
/qemu/accel/tcg/tcg-accel-ops-rr.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/translate-all.c
/qemu/audio/audio.c
/qemu/audio/coreaudio.m
/qemu/backends/hostmem-epc.c
/qemu/backends/hostmem-file.c
/qemu/backends/hostmem-memfd.c
/qemu/backends/hostmem-ram.c
/qemu/backends/hostmem.c
/qemu/backends/iommufd.c
/qemu/bsd-user/main.c
/qemu/chardev/char.c
/qemu/cpu-common.c
/qemu/cpu-target.c
/qemu/disas/riscv.c
/qemu/docs/devel/multi-thread-tcg.rst
/qemu/docs/devel/multiple-iothreads.txt
/qemu/docs/devel/qapi-code-gen.rst
/qemu/docs/devel/replay.rst
/qemu/docs/devel/reset.rst
/qemu/docs/system/arm/palm.rst
/qemu/docs/system/arm/xscale.rst
/qemu/docs/system/devices/can.rst
/qemu/docs/system/riscv/sifive_u.rst
/qemu/docs/system/riscv/virt.rst
/qemu/dump/dump.c
/qemu/hw/arm/armsse.c
/qemu/hw/arm/armv7m.c
/qemu/hw/arm/aspeed_ast2400.c
/qemu/hw/arm/aspeed_ast2600.c
/qemu/hw/arm/bananapi_m2u.c
/qemu/hw/arm/bcm2836.c
/qemu/hw/arm/cubieboard.c
/qemu/hw/arm/fsl-imx25.c
/qemu/hw/arm/fsl-imx31.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/integratorcp.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/npcm7xx_boards.c
/qemu/hw/arm/nrf51_soc.c
/qemu/hw/arm/orangepi.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/audio/sb16.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/machine.c
/qemu/hw/cpu/cluster.c
/qemu/hw/cpu/core.c
/qemu/hw/display/qxl.h
/qemu/hw/display/virtio-gpu.c
/qemu/hw/i386/acpi-microvm.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/i386/kvm/xen_evtchn.c
/qemu/hw/i386/kvm/xen_gnttab.c
/qemu/hw/i386/kvm/xen_overlay.c
/qemu/hw/i386/kvm/xen_xenstore.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/intc/s390_flic.c
/qemu/hw/m68k/mcf5206.c
/qemu/hw/m68k/q800.c
/qemu/hw/mips/cps.c
/qemu/hw/mips/jazz.c
/qemu/hw/mips/malta.c
/qemu/hw/mips/mips_int.c
/qemu/hw/mips/mipssim.c
/qemu/hw/misc/edu.c
/qemu/hw/misc/imx6_src.c
/qemu/hw/misc/imx7_src.c
/qemu/hw/misc/ivshmem.c
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/can/can_sja1000.c
/qemu/hw/net/xen_nic.c
/qemu/hw/nvram/fw_cfg-acpi.c
/qemu/hw/nvram/meson.build
/qemu/hw/nvram/nrf51_nvm.c
/qemu/hw/pci-host/gpex-acpi.c
/qemu/hw/pci-host/gpex.c
/qemu/hw/pci-host/raven.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/pegasos2.c
/qemu/hw/ppc/ppc.c
/qemu/hw/ppc/rs6000_mc.c
/qemu/hw/ppc/spapr.c
/qemu/hw/ppc/spapr_cpu_core.c
/qemu/hw/ppc/spapr_events.c
/qemu/hw/ppc/spapr_rng.c
/qemu/hw/ppc/spapr_softmmu.c
/qemu/hw/remote/mpqemu-link.c
/qemu/hw/remote/vfio-user-obj.c
/qemu/hw/riscv/Kconfig
/qemu/hw/riscv/shakti_c.c
/qemu/hw/riscv/virt-acpi-build.c
/qemu/hw/riscv/virt.c
/qemu/hw/s390x/s390-skeys.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/sparc/leon3.c
/qemu/hw/sparc/sun4m.c
/qemu/hw/sparc64/sun4u.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container-base.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/vfio/meson.build
/qemu/hw/vfio/migration.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/spapr.c
/qemu/hw/virtio/meson.build
/qemu/hw/virtio/virtio-acpi.c
/qemu/hw/virtio/virtio-mem.c
/qemu/include/block/aio-wait.h
/qemu/include/block/aio.h
/qemu/include/block/blockjob.h
/qemu/include/exec/cpu-common.h
/qemu/include/exec/memory.h
/qemu/include/exec/ramblock.h
/qemu/include/hw/boards.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/m68k/q800.h
/qemu/include/hw/nvram/fw_cfg_acpi.h
/qemu/include/hw/pci-host/gpex.h
/qemu/include/hw/ppc/xive2_regs.h
/qemu/include/hw/riscv/virt.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/vfio/vfio-container-base.h
/qemu/include/hw/virtio/virtio-acpi.h
/qemu/include/io/task.h
/qemu/include/migration/register.h
/qemu/include/qemu/coroutine-core.h
/qemu/include/qemu/coroutine.h
/qemu/include/qemu/fifo8.h
/qemu/include/qemu/main-loop.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/thread.h
/qemu/include/standard-headers/drm/drm_fourcc.h
/qemu/include/standard-headers/linux/pci_regs.h
/qemu/include/standard-headers/linux/vhost_types.h
/qemu/include/standard-headers/linux/virtio_config.h
/qemu/include/standard-headers/linux/virtio_pci.h
/qemu/include/sysemu/hostmem.h
/qemu/include/sysemu/iommufd.h
/qemu/include/sysemu/replay.h
/qemu/iothread.c
/qemu/linux-headers/asm-arm64/kvm.h
/qemu/linux-headers/asm-generic/unistd.h
/qemu/linux-headers/asm-loongarch/bitsperlong.h
/qemu/linux-headers/asm-loongarch/kvm.h
/qemu/linux-headers/asm-loongarch/mman.h
/qemu/linux-headers/asm-loongarch/unistd.h
/qemu/linux-headers/asm-mips/unistd_n32.h
/qemu/linux-headers/asm-mips/unistd_n64.h
/qemu/linux-headers/asm-mips/unistd_o32.h
/qemu/linux-headers/asm-powerpc/unistd_32.h
/qemu/linux-headers/asm-powerpc/unistd_64.h
/qemu/linux-headers/asm-riscv/kvm.h
/qemu/linux-headers/asm-riscv/ptrace.h
/qemu/linux-headers/asm-s390/unistd_32.h
/qemu/linux-headers/asm-s390/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_32.h
/qemu/linux-headers/asm-x86/unistd_64.h
/qemu/linux-headers/asm-x86/unistd_x32.h
/qemu/linux-headers/linux/iommufd.h
/qemu/linux-headers/linux/kvm.h
/qemu/linux-headers/linux/psp-sev.h
/qemu/linux-headers/linux/stddef.h
/qemu/linux-headers/linux/userfaultfd.h
/qemu/linux-headers/linux/vfio.h
/qemu/linux-headers/linux/vhost.h
/qemu/linux-user/alpha/target_elf.h
/qemu/memory_ldst.c.inc
/qemu/meson.build
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/block.c
/qemu/migration/colo.c
/qemu/migration/dirtyrate.c
/qemu/migration/migration.c
/qemu/migration/ram.c
/qemu/net/tap.c
/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin
/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
/qemu/replay/replay-char.c
/qemu/replay/replay-internal.c
/qemu/replay/replay-internal.h
/qemu/replay/replay-snapshot.c
/qemu/replay/replay.c
/qemu/roms/opensbi
/qemu/scripts/replay-dump.py
/qemu/scripts/update-linux-headers.sh
/qemu/semihosting/console.c
/qemu/stubs/iothread-lock.c
/qemu/system/cpu-throttle.c
/qemu/system/cpus.c
/qemu/system/dirtylimit.c
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/runstate.c
/qemu/system/vl.c
/qemu/system/watchpoint.c
/qemu/target/alpha/cpu.c
/qemu/target/alpha/cpu.h
/qemu/target/arm/arm-powerctl.c
/qemu/target/arm/arm-qmp-cmds.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/helper.c
/qemu/target/arm/hvf/hvf.c
/qemu/target/arm/internals.h
/qemu/target/arm/kvm.c
/qemu/target/arm/ptw.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/m_helper.c
/qemu/target/arm/tcg/op_helper.c
/qemu/target/arm/tcg/psci.c
/qemu/target/avr/cpu.c
/qemu/target/avr/cpu.h
/qemu/target/cris/cpu.c
/qemu/target/cris/cpu.h
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/cpu.h
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/int_helper.c
/qemu/target/i386/cpu.c
/qemu/target/i386/hvf/README.md
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/kvm/hyperv.c
/qemu/target/i386/kvm/kvm.c
/qemu/target/i386/kvm/xen-emu.c
/qemu/target/i386/nvmm/nvmm-accel-ops.c
/qemu/target/i386/nvmm/nvmm-all.c
/qemu/target/i386/tcg/sysemu/fpu_helper.c
/qemu/target/i386/tcg/sysemu/misc_helper.c
/qemu/target/i386/whpx/whpx-accel-ops.c
/qemu/target/i386/whpx/whpx-all.c
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/loongarch/loongarch-qmp-cmds.c
/qemu/target/loongarch/meson.build
/qemu/target/loongarch/tcg/constant_timer.c
/qemu/target/loongarch/tcg/csr_helper.c
/qemu/target/loongarch/tcg/fpu_helper.c
/qemu/target/loongarch/tcg/insn_trans/trans_arith.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_atomic.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_bit.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_branch.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_extra.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_farith.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_fcmp.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_fcnv.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_fmemory.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_fmov.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_memory.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_privileged.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_shift.c.inc
/qemu/target/loongarch/tcg/insn_trans/trans_vec.c.inc
/qemu/target/loongarch/tcg/iocsr_helper.c
/qemu/target/loongarch/tcg/meson.build
/qemu/target/loongarch/tcg/op_helper.c
/qemu/target/loongarch/tcg/tlb_helper.c
/qemu/target/loongarch/tcg/translate.c
/qemu/target/loongarch/tcg/vec_helper.c
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/m68k/helper.c
/qemu/target/mips/cpu-defs.c.inc
/qemu/target/mips/cpu.h
/qemu/target/mips/kvm.c
/qemu/target/mips/sysemu/mips-qmp-cmds.c
/qemu/target/mips/tcg/sysemu/cp0_helper.c
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/cpu.h
/qemu/target/openrisc/sys_helper.c
/qemu/target/ppc/cpu_init.c
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/helper_regs.c
/qemu/target/ppc/kvm.c
/qemu/target/ppc/misc_helper.c
/qemu/target/ppc/ppc-qmp-cmds.c
/qemu/target/ppc/timebase_helper.c
/qemu/target/riscv/cpu-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/insn32.decode
/qemu/target/riscv/insn_trans/trans_rvv.c.inc
/qemu/target/riscv/insn_trans/trans_rvzacas.c.inc
/qemu/target/riscv/insn_trans/trans_xthead.c.inc
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/translate.c
/qemu/target/rx/cpu.c
/qemu/target/rx/cpu.h
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/tcg/misc_helper.c
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sparc/cpu.h
/qemu/target/sparc/int32_helper.c
/qemu/target/sparc/int64_helper.c
/qemu/target/sparc/win_helper.c
/qemu/target/tricore/cpu.c
/qemu/target/tricore/cpu.h
/qemu/target/tricore/helper.c
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/exc_helper.c
/qemu/target/xtensa/helper.c
/qemu/tests/avocado/acpi-bits/bits-tests/smilatency.py2
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/avocado/replay_linux.py
virtio-net-failover.c
/qemu/ui/cocoa.m
/qemu/ui/spice-core.c
/qemu/util/aio-posix.c
/qemu/util/aio-win32.c
/qemu/util/async.c
/qemu/util/fifo8.c
/qemu/util/main-loop.c
/qemu/util/oslib-posix.c
/qemu/util/oslib-win32.c
/qemu/util/qsp.c
/qemu/util/rcu.c
2b58a8b903-Jan-2024 Steve Sistare <steven.sistare@oracle.com>

tests/qtest: postcopy migration with suspend

Add a test case to verify that the suspended state is handled correctly by
live migration postcopy. The test suspends the src, migrates, then wakes
the

tests/qtest: postcopy migration with suspend

Add a test case to verify that the suspended state is handled correctly by
live migration postcopy. The test suspends the src, migrates, then wakes
the dest.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1704312341-66640-13-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

b1fdd21e03-Jan-2024 Steve Sistare <steven.sistare@oracle.com>

tests/qtest: precopy migration with suspend

Add a test case to verify that the suspended state is handled correctly
during live migration precopy. The test suspends the src, migrates, then
wakes th

tests/qtest: precopy migration with suspend

Add a test case to verify that the suspended state is handled correctly
during live migration precopy. The test suspends the src, migrates, then
wakes the dest.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1704312341-66640-12-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

5014478e03-Jan-2024 Steve Sistare <steven.sistare@oracle.com>

tests/qtest: option to suspend during migration

Add an option to suspend the src in a-b-bootblock.S, which puts the guest
in S3 state after one round of writing to memory. The option is enabled by

tests/qtest: option to suspend during migration

Add an option to suspend the src in a-b-bootblock.S, which puts the guest
in S3 state after one round of writing to memory. The option is enabled by
poking a 1 into the suspend_me word in the boot block prior to starting the
src vm. Generate symbol offsets in a-b-bootblock.h so that the suspend_me
offset is known. Generate the bootblock for each test, because suspend_me
may differ for each.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/1704312341-66640-11-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

f064975803-Jan-2024 Steve Sistare <steven.sistare@oracle.com>

tests/qtest: migration events

Define a state object to capture events seen by migration tests, to allow
more events to be captured in a subsequent patch, and simplify event
checking in wait_for_migr

tests/qtest: migration events

Define a state object to capture events seen by migration tests, to allow
more events to be captured in a subsequent patch, and simplify event
checking in wait_for_migration_pass. No functional change.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Link: https://lore.kernel.org/r/1704312341-66640-10-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>

show more ...

d0cda6f403-Nov-2023 Paolo Bonzini <pbonzini@redhat.com>

configure, meson: rename targetos to host_os

This variable is about the host OS, not the target. It is used a lot
more since the Meson conversion, but the original sin dates back to 2003.
Time to f

configure, meson: rename targetos to host_os

This variable is about the host OS, not the target. It is used a lot
more since the Meson conversion, but the original sin dates back to 2003.
Time to fix it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

cfc1a88929-Sep-2023 Paolo Bonzini <pbonzini@redhat.com>

meson: rename config_all

config_all now lists only accelerators, rename it to indicate its actual
content.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbon

meson: rename config_all

config_all now lists only accelerators, rename it to indicate its actual
content.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

1220f58130-Aug-2023 Paolo Bonzini <pbonzini@redhat.com>

meson: remove config_targetos

config_targetos is now empty and can be removed; its use in sourcesets
that do not involve target-specific files can be replaced with an empty
dictionary.

In fact, at

meson: remove config_targetos

config_targetos is now empty and can be removed; its use in sourcesets
that do not involve target-specific files can be replaced with an empty
dictionary.

In fact, at this point *all* sourcesets that do not involve
target-specific files are just glorified mutable arrays. Enforce that
they never test for symbols in "when:" by computing the set of files
without "strict: false".

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/qemu/MAINTAINERS
/qemu/Makefile
/qemu/accel/kvm/kvm-all.c
/qemu/accel/tcg/meson.build
/qemu/backends/Kconfig
/qemu/backends/iommufd.c
/qemu/backends/meson.build
/qemu/backends/trace-events
/qemu/block/meson.build
/qemu/chardev/meson.build
/qemu/configure
/qemu/docs/devel/index-internals.rst
/qemu/docs/devel/vfio-iommufd.rst
/qemu/fsdev/meson.build
/qemu/gdbstub/meson.build
/qemu/hw/9pfs/meson.build
/qemu/hw/arm/Kconfig
/qemu/hw/arm/virt.c
/qemu/hw/display/meson.build
/qemu/hw/i386/Kconfig
/qemu/hw/i386/sgx-stub.c
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/misc/imx7_snvs.c
/qemu/hw/misc/trace-events
/qemu/hw/ppc/Kconfig
/qemu/hw/ppc/meson.build
/qemu/hw/ppc/spapr_pci_vfio.c
/qemu/hw/s390x/Kconfig
/qemu/hw/scsi/esp.c
/qemu/hw/usb/meson.build
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container-base.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/helpers.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/vfio/meson.build
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/platform.c
/qemu/hw/vfio/spapr.c
/qemu/hw/vfio/trace-events
/qemu/include/hw/misc/imx7_snvs.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/vfio/vfio-container-base.h
/qemu/include/qemu/chardev_open.h
/qemu/include/sysemu/iommufd.h
/qemu/meson.build
/qemu/meson_options.txt
/qemu/net/can/meson.build
/qemu/qapi/qom.json
/qemu/qemu-options.hx
/qemu/qga/meson.build
/qemu/scsi/meson.build
/qemu/storage-daemon/meson.build
/qemu/system/meson.build
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu64.c
/qemu/target/arm/debug_helper.c
/qemu/target/arm/helper.c
/qemu/target/arm/kvm.c
/qemu/target/arm/kvm_arm.h
/qemu/target/arm/meson.build
/qemu/target/arm/tcg/op_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/tcg/cc_helper.c
/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/excp_helper.c
/qemu/target/i386/tcg/fpu_helper.c
/qemu/target/i386/tcg/helper-tcg.h
/qemu/target/i386/tcg/int_helper.c
/qemu/target/i386/tcg/misc_helper.c
/qemu/target/i386/tcg/seg_helper.c
/qemu/target/i386/tcg/translate.c
/qemu/tcg/meson.build
/qemu/tests/bench/meson.build
meson.build
/qemu/tests/tcg/i386/Makefile.target
/qemu/tests/tcg/i386/test-flags.c
/qemu/tests/unit/test-qmp-event.c
/qemu/ui/meson.build
/qemu/util/chardev_open.c
/qemu/util/meson.build
c40db4ba27-Nov-2023 Zhao Liu <zhao1.liu@intel.com>

tests: bios-tables-test: Rename smbios type 4 related test functions

In fact, type4-count, core-count, core-count2, thread-count and
thread-count2 are tested with KVM not TCG.

Rename these test fun

tests: bios-tables-test: Rename smbios type 4 related test functions

In fact, type4-count, core-count, core-count2, thread-count and
thread-count2 are tested with KVM not TCG.

Rename these test functions to reflect KVM base instead of TCG.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20231127160202.1037290-1-zhao1.liu@linux.intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/qemu/MAINTAINERS
/qemu/accel/kvm/kvm-all.c
/qemu/backends/Kconfig
/qemu/backends/iommufd.c
/qemu/backends/meson.build
/qemu/backends/trace-events
/qemu/block.c
/qemu/block/backup.c
/qemu/block/blklogwrites.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/commit.c
/qemu/block/copy-before-write.c
/qemu/block/export/export.c
/qemu/block/export/vhost-user-blk-server.c
/qemu/block/file-posix.c
/qemu/block/graph-lock.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/monitor/bitmap-qmp-cmds.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/qapi-sysemu.c
/qemu/block/qapi.c
/qemu/block/qcow2.c
/qemu/block/quorum.c
/qemu/block/raw-format.c
/qemu/block/replication.c
/qemu/block/snapshot.c
/qemu/block/stream.c
/qemu/block/vmdk.c
/qemu/block/write-threshold.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/docs/devel/index-internals.rst
/qemu/docs/devel/multiple-iothreads.txt
/qemu/docs/devel/vfio-iommufd.rst
/qemu/hw/arm/Kconfig
/qemu/hw/arm/virt.c
/qemu/hw/block/dataplane/virtio-blk.c
/qemu/hw/block/dataplane/virtio-blk.h
/qemu/hw/block/dataplane/xen-block.c
/qemu/hw/block/virtio-blk.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/i386/Kconfig
/qemu/hw/intc/arm_gicv3_its_kvm.c
/qemu/hw/misc/imx7_snvs.c
/qemu/hw/misc/trace-events
/qemu/hw/ppc/Kconfig
/qemu/hw/ppc/spapr_pci_vfio.c
/qemu/hw/s390x/Kconfig
/qemu/hw/scsi/scsi-bus.c
/qemu/hw/scsi/scsi-disk.c
/qemu/hw/scsi/scsi-generic.c
/qemu/hw/scsi/virtio-scsi-dataplane.c
/qemu/hw/scsi/virtio-scsi.c
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container-base.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/helpers.c
/qemu/hw/vfio/iommufd.c
/qemu/hw/vfio/meson.build
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/pci.h
/qemu/hw/vfio/platform.c
/qemu/hw/vfio/spapr.c
/qemu/hw/vfio/trace-events
/qemu/hw/virtio/vhost-user-rng.c
/qemu/include/block/aio-wait.h
/qemu/include/block/aio.h
/qemu/include/block/block-common.h
/qemu/include/block/block-global-state.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/graph-lock.h
/qemu/include/block/snapshot.h
/qemu/include/hw/loongarch/virt.h
/qemu/include/hw/misc/imx7_snvs.h
/qemu/include/hw/qdev-properties-system.h
/qemu/include/hw/qdev-properties.h
/qemu/include/hw/scsi/scsi.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/vfio/vfio-container-base.h
/qemu/include/hw/virtio/virtio-blk.h
/qemu/include/hw/virtio/virtio-scsi.h
/qemu/include/qapi/string-output-visitor.h
/qemu/include/qemu/chardev_open.h
/qemu/include/qemu/job.h
/qemu/include/sysemu/iommufd.h
/qemu/job.c
/qemu/migration/block.c
/qemu/migration/migration-hmp-cmds.c
/qemu/migration/savevm.c
/qemu/nbd/server.c
/qemu/net/colo-compare.c
/qemu/qapi/qom.json
/qemu/qapi/string-output-visitor.c
/qemu/qapi/virtio.json
/qemu/qemu-img.c
/qemu/qemu-io.c
/qemu/qemu-nbd.c
/qemu/qemu-options.hx
/qemu/replay/replay-debugging.c
/qemu/scripts/block-coroutine-wrapper.py
/qemu/system/dma-helpers.c
/qemu/system/vl.c
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu64.c
/qemu/target/arm/debug_helper.c
/qemu/target/arm/helper.c
/qemu/target/arm/kvm.c
/qemu/target/arm/kvm_arm.h
/qemu/target/arm/meson.build
/qemu/target/arm/tcg/op_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/loongarch/cpu.c
/qemu/tests/qemu-iotests/202
/qemu/tests/qemu-iotests/203
/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots
/qemu/tests/qemu-iotests/tests/qcow2-internal-snapshots.out
bios-tables-test.c
/qemu/tests/tsan/suppressions.tsan
/qemu/tests/unit/test-aio.c
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-bdrv-graph-mod.c
/qemu/tests/unit/test-block-iothread.c
/qemu/tests/unit/test-blockjob.c
/qemu/tests/unit/test-qmp-event.c
/qemu/tests/unit/test-replication.c
/qemu/util/async.c
/qemu/util/chardev_open.c
/qemu/util/meson.build
/qemu/util/vhost-user-server.c
71dc6ca215-Dec-2023 Thomas Huth <thuth@redhat.com>

tests/qtest/npcm7xx_pwm-test: Only do full testing in slow mode

The npcm7xx_pwm-test can take quite a while when running with
--enable-debug on a loaded system. The tests here are quite
repetitive -

tests/qtest/npcm7xx_pwm-test: Only do full testing in slow mode

The npcm7xx_pwm-test can take quite a while when running with
--enable-debug on a loaded system. The tests here are quite
repetitive - by default it should be fine if we only execute
some of them and only execute all when running in slow testing mode.

Message-ID: <20231215143524.49241-1-thuth@redhat.com>
Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...

81c2c9dd20-Nov-2023 Thomas Huth <thuth@redhat.com>

tests/qtest/migration-test: Fix analyze-migration.py for s390x

The migration stream on s390x contains data for the storage_attributes
which the analyze-migration.py cannot handle yet. Add the basic

tests/qtest/migration-test: Fix analyze-migration.py for s390x

The migration stream on s390x contains data for the storage_attributes
which the analyze-migration.py cannot handle yet. Add the basic code
for handling this, so we can re-enable the check in the migration-test.

Message-ID: <20231120113951.162090-1-thuth@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...

4d98618b21-Nov-2023 Zhu Jun <zhujun2@cmss.chinamobile.com>

tests/qtest: check the return value

These variables "ret" are never referenced in the code, thus
add check logic for the "ret"

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Reviewed-by: Tho

tests/qtest: check the return value

These variables "ret" are never referenced in the code, thus
add check logic for the "ret"

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231121080802.4500-1-zhujun2@cmss.chinamobile.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/cirrus/macos-13.vars
/qemu/.gitlab-ci.d/cirrus/macos-14.vars
/qemu/.gitlab-ci.d/container-cross.yml
/qemu/.gitlab-ci.d/containers.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/VERSION
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tb-maint.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/audio/audio.c
/qemu/block.c
/qemu/block/backup.c
/qemu/block/blklogwrites.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/commit.c
/qemu/block/export/vhost-user-blk-server.c
/qemu/block/graph-lock.c
/qemu/block/mirror.c
/qemu/block/qcow2.c
/qemu/block/quorum.c
/qemu/block/replication.c
/qemu/block/snapshot.c
/qemu/block/stream.c
/qemu/block/vmdk.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/configure
/qemu/contrib/plugins/Makefile
/qemu/disas/cris.c
/qemu/disas/hppa.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/emulation.rst
/qemu/docs/devel/build-system.rst
/qemu/docs/devel/s390-cpu-topology.rst
/qemu/docs/devel/tcg-icount.rst
/qemu/docs/devel/testing.rst
/qemu/docs/system/gdb.rst
/qemu/hw/arm/fsl-imx25.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/netduino2.c
/qemu/hw/arm/netduinoplus2.c
/qemu/hw/arm/olimex-stm32-h405.c
/qemu/hw/arm/stm32f100_soc.c
/qemu/hw/arm/stm32f205_soc.c
/qemu/hw/arm/stm32f405_soc.c
/qemu/hw/arm/stm32vldiscovery.c
/qemu/hw/audio/via-ac97.c
/qemu/hw/avr/atmega.c
/qemu/hw/block/xen-block.c
/qemu/hw/core/loader.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/dma/xlnx_csu_dma.c
/qemu/hw/hppa/machine.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/core.c
/qemu/hw/ide/ioport.c
/qemu/hw/ide/pci.c
/qemu/hw/ide/via.c
/qemu/hw/input/stellaris_gamepad.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/m68k/q800.c
/qemu/hw/misc/mps2-scc.c
/qemu/hw/net/allwinner-sun8i-emac.c
/qemu/hw/net/allwinner_emac.c
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/can/xlnx-zynqmp-can.c
/qemu/hw/net/dp8393x.c
/qemu/hw/net/e1000.c
/qemu/hw/net/e1000e.c
/qemu/hw/net/eepro100.c
/qemu/hw/net/etraxfs_eth.c
/qemu/hw/net/fsl_etsec/etsec.c
/qemu/hw/net/ftgmac100.c
/qemu/hw/net/i82596.c
/qemu/hw/net/igb.c
/qemu/hw/net/imx_fec.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/mcf_fec.c
/qemu/hw/net/mipsnet.c
/qemu/hw/net/msf2-emac.c
/qemu/hw/net/mv88w8618_eth.c
/qemu/hw/net/ne2000-isa.c
/qemu/hw/net/ne2000-pci.c
/qemu/hw/net/npcm7xx_emc.c
/qemu/hw/net/opencores_eth.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/rocker/rocker_fp.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/spapr_llan.c
/qemu/hw/net/stellaris_enet.c
/qemu/hw/net/sungem.c
/qemu/hw/net/sunhme.c
/qemu/hw/net/tulip.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/net/xen_nic.c
/qemu/hw/net/xgmac.c
/qemu/hw/net/xilinx_axienet.c
/qemu/hw/net/xilinx_ethlite.c
/qemu/hw/nios2/10m50_devboard.c
/qemu/hw/nios2/generic_nommu.c
/qemu/hw/nvram/xlnx-efuse.c
/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/qemu/hw/ppc/amigaone.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/riscv/sifive_e.c
/qemu/hw/riscv/virt.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/usb/dev-network.c
/qemu/hw/usb/vt82c686-uhci-pci.c
/qemu/hw/virtio/virtio-iommu-pci.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/block/graph-lock.h
/qemu/include/exec/translation-block.h
/qemu/include/hw/arm/stm32f100_soc.h
/qemu/include/hw/arm/stm32f205_soc.h
/qemu/include/hw/arm/stm32f405_soc.h
/qemu/include/hw/boards.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/ide/pci.h
/qemu/include/hw/isa/vt82c686.h
/qemu/include/hw/misc/xlnx-versal-cframe-reg.h
/qemu/include/hw/misc/xlnx-versal-cfu.h
/qemu/include/hw/misc/xlnx-versal-pmc-iou-slcr.h
/qemu/include/hw/ssi/xilinx_spips.h
/qemu/include/hw/ssi/xlnx-versal-ospi.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/net/net.h
/qemu/include/qemu/vhost-user-server.h
/qemu/include/ui/pixman-minimal.h
/qemu/linux-user/elfload.c
/qemu/linux-user/sh4/termbits.h
/qemu/linux-user/syscall.c
/qemu/linux-user/xtensa/signal.c
/qemu/migration/migration.c
/qemu/migration/multifd.c
/qemu/monitor/hmp-cmds.c
/qemu/net/net.c
/qemu/pc-bios/README
/qemu/pc-bios/bios-256k.bin
/qemu/pc-bios/bios-microvm.bin
/qemu/pc-bios/bios.bin
/qemu/pc-bios/hppa-firmware.img
/qemu/pc-bios/slof.bin
/qemu/pc-bios/vgabios-ati.bin
/qemu/pc-bios/vgabios-bochs-display.bin
/qemu/pc-bios/vgabios-cirrus.bin
/qemu/pc-bios/vgabios-qxl.bin
/qemu/pc-bios/vgabios-ramfb.bin
/qemu/pc-bios/vgabios-stdvga.bin
/qemu/pc-bios/vgabios-virtio.bin
/qemu/pc-bios/vgabios-vmware.bin
/qemu/pc-bios/vgabios.bin
/qemu/plugins/meson.build
/qemu/python/scripts/vendor.py
/qemu/python/wheels/meson-1.2.3-py3-none-any.whl
/qemu/pythondeps.toml
/qemu/qapi/string-output-visitor.c
/qemu/qga/commands.c
/qemu/qga/meson.build
/qemu/roms/SLOF
/qemu/roms/seabios
/qemu/roms/seabios-hppa
/qemu/scripts/block-coroutine-wrapper.py
/qemu/scripts/coverity-scan/model.c
/qemu/scripts/coverity-scan/run-coverity-scan
/qemu/system/balloon.c
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/vl.c
/qemu/system/watchpoint.c
/qemu/target/arm/helper.c
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/sme_helper.c
/qemu/target/avr/cpu.c
/qemu/target/avr/cpu.h
/qemu/target/hexagon/idef-parser/prepare
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/ppc/fpu_helper.c
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sh4/helper.c
/qemu/target/sh4/op_helper.c
/qemu/target/sh4/translate.c
/qemu/target/sparc/translate.c
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tests/Makefile.include
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/cpu_queries.py
/qemu/tests/avocado/empty_cpu_model.py
/qemu/tests/avocado/intel_iommu.py
/qemu/tests/avocado/mem-addr-space-check.py
/qemu/tests/avocado/multiprocess.py
/qemu/tests/avocado/pc_cpu_hotplug_props.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/avocado/reverse_debugging.py
/qemu/tests/avocado/version.py
/qemu/tests/avocado/virtio-gpu.py
/qemu/tests/avocado/x86_cpu_model_versions.py
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/debian-i686-cross.docker
/qemu/tests/docker/dockerfiles/debian.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/refresh
/qemu/tests/plugin/meson.build
/qemu/tests/qemu-iotests/059
/qemu/tests/qemu-iotests/059.out
/qemu/tests/qemu-iotests/149
/qemu/tests/qemu-iotests/149.out
/qemu/tests/qemu-iotests/testenv.py
/qemu/tests/qemu-iotests/tests/iothreads-stream
/qemu/tests/qemu-iotests/tests/iothreads-stream.out
test-filter-mirror.c
test-filter-redirector.c
virtio-net-test.c
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/system/vtimer.c
/qemu/tests/tcg/arm/Makefile.softmmu-target
/qemu/tests/tcg/arm/system/boot.S
/qemu/tests/tcg/arm/system/kernel.ld
/qemu/tests/tcg/arm/system/semiconsole.c
/qemu/tests/tcg/arm/system/test-armv6m-undef.S
/qemu/tests/tcg/arm/system/test-armv6m-undef.ld
/qemu/tests/tcg/multiarch/gdbstub/registers.py
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/vsx_f2i_nan.c
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-bdrv-graph-mod.c
/qemu/ui/console.c
/qemu/ui/dbus.c
/qemu/ui/gtk.c
/qemu/ui/spice-app.c
/qemu/ui/ui-qmp-cmds.c
/qemu/util/filemonitor-inotify.c
/qemu/util/range.c
/qemu/util/vhost-user-server.c
de35244e07-Nov-2023 Ani Sinha <anisinha@redhat.com>

tests/acpi/bios-tables-test: do not write new blobs unless there are changes

When dumping table blobs using rebuild-expected-aml.sh, table blobs from all
test variants are dumped regardless of wheth

tests/acpi/bios-tables-test: do not write new blobs unless there are changes

When dumping table blobs using rebuild-expected-aml.sh, table blobs from all
test variants are dumped regardless of whether there are any actual changes to
the tables or not. This creates lot of new files for various test variants that
are not part of the git repository. This is because we do not check in all table
blobs for all test variants into the repository. Only those blobs for those
variants that are different from the generic test-variant agnostic blob are
checked in.

This change makes the test smarter by checking if at all there are any changes
in the tables from the checked-in gold master blobs and take actions
accordingly.

When there are no changes:
- No new table blobs would be written.
- Existing table blobs will be refreshed (git diff will show no changes).
When there are changes:
- New table blob files will be dumped.
- Existing table blobs will be refreshed (git diff will show that the files
changed, asl diff will show the actual changes).
When new tables are introduced:
- Zero byte empty file blobs for new tables as instructed in the header of
bios-tables-test.c will be regenerated to actual table blobs.

This would make analyzing changes to tables less confusing and there would
be no need to clean useless untracked files when there are no table changes.

CC: peter.maydell@linaro.org
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Message-Id: <20231107044952.5461-1-anisinha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>

show more ...

cadfc72907-Nov-2023 Michael S. Tsirkin <mst@redhat.com>

netdev: set timeout depending on loadavg

netdev test keeps failing sometimes.
I don't think we should increase the timeout some more:
let's try something else instead, testing how busy the
system is

netdev: set timeout depending on loadavg

netdev test keeps failing sometimes.
I don't think we should increase the timeout some more:
let's try something else instead, testing how busy the
system is.

Seems to work for me.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...


/qemu/.gitlab-ci.d/buildtest.yml
/qemu/.gitlab-ci.d/cirrus.yml
/qemu/.gitlab-ci.d/cirrus/macos-13.vars
/qemu/.gitlab-ci.d/cirrus/macos-14.vars
/qemu/.gitlab-ci.d/container-cross.yml
/qemu/.gitlab-ci.d/containers.yml
/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/VERSION
/qemu/accel/tcg/cpu-exec.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/tb-maint.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/translator.c
/qemu/audio/audio.c
/qemu/block.c
/qemu/block/backup.c
/qemu/block/blklogwrites.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/commit.c
/qemu/block/export/vhost-user-blk-server.c
/qemu/block/graph-lock.c
/qemu/block/mirror.c
/qemu/block/qcow2.c
/qemu/block/quorum.c
/qemu/block/replication.c
/qemu/block/snapshot.c
/qemu/block/stream.c
/qemu/block/vmdk.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/configure
/qemu/contrib/plugins/Makefile
/qemu/disas/cris.c
/qemu/disas/hppa.c
/qemu/docs/about/deprecated.rst
/qemu/docs/about/emulation.rst
/qemu/docs/devel/build-system.rst
/qemu/docs/devel/s390-cpu-topology.rst
/qemu/docs/devel/tcg-icount.rst
/qemu/docs/devel/testing.rst
/qemu/docs/system/gdb.rst
/qemu/hw/arm/fsl-imx25.c
/qemu/hw/arm/fsl-imx6.c
/qemu/hw/arm/netduino2.c
/qemu/hw/arm/netduinoplus2.c
/qemu/hw/arm/olimex-stm32-h405.c
/qemu/hw/arm/stm32f100_soc.c
/qemu/hw/arm/stm32f205_soc.c
/qemu/hw/arm/stm32f405_soc.c
/qemu/hw/arm/stm32vldiscovery.c
/qemu/hw/audio/via-ac97.c
/qemu/hw/avr/atmega.c
/qemu/hw/block/xen-block.c
/qemu/hw/core/loader.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/dma/xlnx_csu_dma.c
/qemu/hw/hppa/machine.c
/qemu/hw/ide/ahci.c
/qemu/hw/ide/core.c
/qemu/hw/ide/ioport.c
/qemu/hw/ide/pci.c
/qemu/hw/ide/via.c
/qemu/hw/input/stellaris_gamepad.c
/qemu/hw/intc/arm_gicv3_cpuif.c
/qemu/hw/isa/vt82c686.c
/qemu/hw/m68k/q800.c
/qemu/hw/misc/mps2-scc.c
/qemu/hw/net/allwinner-sun8i-emac.c
/qemu/hw/net/allwinner_emac.c
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/can/xlnx-zynqmp-can.c
/qemu/hw/net/dp8393x.c
/qemu/hw/net/e1000.c
/qemu/hw/net/e1000e.c
/qemu/hw/net/eepro100.c
/qemu/hw/net/etraxfs_eth.c
/qemu/hw/net/fsl_etsec/etsec.c
/qemu/hw/net/ftgmac100.c
/qemu/hw/net/i82596.c
/qemu/hw/net/igb.c
/qemu/hw/net/imx_fec.c
/qemu/hw/net/lan9118.c
/qemu/hw/net/mcf_fec.c
/qemu/hw/net/mipsnet.c
/qemu/hw/net/msf2-emac.c
/qemu/hw/net/mv88w8618_eth.c
/qemu/hw/net/ne2000-isa.c
/qemu/hw/net/ne2000-pci.c
/qemu/hw/net/npcm7xx_emc.c
/qemu/hw/net/opencores_eth.c
/qemu/hw/net/pcnet.c
/qemu/hw/net/rocker/rocker_fp.c
/qemu/hw/net/rtl8139.c
/qemu/hw/net/smc91c111.c
/qemu/hw/net/spapr_llan.c
/qemu/hw/net/stellaris_enet.c
/qemu/hw/net/sungem.c
/qemu/hw/net/sunhme.c
/qemu/hw/net/tulip.c
/qemu/hw/net/virtio-net.c
/qemu/hw/net/vmxnet3.c
/qemu/hw/net/xen_nic.c
/qemu/hw/net/xgmac.c
/qemu/hw/net/xilinx_axienet.c
/qemu/hw/net/xilinx_ethlite.c
/qemu/hw/nios2/10m50_devboard.c
/qemu/hw/nios2/generic_nommu.c
/qemu/hw/nvram/xlnx-efuse.c
/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/riscv/sifive_e.c
/qemu/hw/riscv/virt.c
/qemu/hw/ssi/xilinx_spips.c
/qemu/hw/usb/dev-network.c
/qemu/hw/usb/vt82c686-uhci-pci.c
/qemu/hw/virtio/virtio-iommu-pci.c
/qemu/hw/virtio/virtio-pci.c
/qemu/include/block/graph-lock.h
/qemu/include/exec/translation-block.h
/qemu/include/hw/arm/stm32f100_soc.h
/qemu/include/hw/arm/stm32f205_soc.h
/qemu/include/hw/arm/stm32f405_soc.h
/qemu/include/hw/boards.h
/qemu/include/hw/ide/internal.h
/qemu/include/hw/ide/pci.h
/qemu/include/hw/isa/vt82c686.h
/qemu/include/hw/misc/xlnx-versal-cframe-reg.h
/qemu/include/hw/misc/xlnx-versal-cfu.h
/qemu/include/hw/misc/xlnx-versal-pmc-iou-slcr.h
/qemu/include/hw/ssi/xilinx_spips.h
/qemu/include/hw/ssi/xlnx-versal-ospi.h
/qemu/include/hw/virtio/virtio-pci.h
/qemu/include/net/net.h
/qemu/include/qemu/osdep.h
/qemu/include/qemu/vhost-user-server.h
/qemu/include/ui/pixman-minimal.h
/qemu/linux-user/elfload.c
/qemu/linux-user/syscall.c
/qemu/linux-user/xtensa/signal.c
/qemu/meson.build
/qemu/monitor/hmp-cmds.c
/qemu/net/net.c
/qemu/pc-bios/bios-256k.bin
/qemu/pc-bios/bios-microvm.bin
/qemu/pc-bios/bios.bin
/qemu/pc-bios/hppa-firmware.img
/qemu/pc-bios/vgabios-ati.bin
/qemu/pc-bios/vgabios-bochs-display.bin
/qemu/pc-bios/vgabios-cirrus.bin
/qemu/pc-bios/vgabios-qxl.bin
/qemu/pc-bios/vgabios-ramfb.bin
/qemu/pc-bios/vgabios-stdvga.bin
/qemu/pc-bios/vgabios-virtio.bin
/qemu/pc-bios/vgabios-vmware.bin
/qemu/pc-bios/vgabios.bin
/qemu/plugins/meson.build
/qemu/python/scripts/vendor.py
/qemu/python/wheels/meson-1.2.3-py3-none-any.whl
/qemu/pythondeps.toml
/qemu/qapi/string-output-visitor.c
/qemu/qga/commands.c
/qemu/qga/meson.build
/qemu/roms/seabios
/qemu/roms/seabios-hppa
/qemu/scripts/block-coroutine-wrapper.py
/qemu/scripts/coverity-scan/model.c
/qemu/scripts/coverity-scan/run-coverity-scan
/qemu/system/balloon.c
/qemu/system/memory.c
/qemu/system/physmem.c
/qemu/system/vl.c
/qemu/system/watchpoint.c
/qemu/target/arm/helper.c
/qemu/target/arm/syndrome.h
/qemu/target/arm/tcg/cpu64.c
/qemu/target/arm/tcg/sme_helper.c
/qemu/target/avr/cpu.c
/qemu/target/avr/cpu.h
/qemu/target/hexagon/idef-parser/prepare
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu.c
/qemu/target/ppc/fpu_helper.c
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/sparc/translate.c
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tests/Makefile.include
/qemu/tests/avocado/avocado_qemu/__init__.py
/qemu/tests/avocado/cpu_queries.py
/qemu/tests/avocado/empty_cpu_model.py
/qemu/tests/avocado/intel_iommu.py
/qemu/tests/avocado/mem-addr-space-check.py
/qemu/tests/avocado/multiprocess.py
/qemu/tests/avocado/pc_cpu_hotplug_props.py
/qemu/tests/avocado/replay_kernel.py
/qemu/tests/avocado/reverse_debugging.py
/qemu/tests/avocado/version.py
/qemu/tests/avocado/virtio-gpu.py
/qemu/tests/avocado/x86_cpu_model_versions.py
/qemu/tests/docker/Makefile.include
/qemu/tests/docker/dockerfiles/debian-i686-cross.docker
/qemu/tests/docker/dockerfiles/debian.docker
/qemu/tests/lcitool/libvirt-ci
/qemu/tests/lcitool/refresh
/qemu/tests/plugin/meson.build
/qemu/tests/qemu-iotests/059
/qemu/tests/qemu-iotests/059.out
/qemu/tests/qemu-iotests/testenv.py
/qemu/tests/qemu-iotests/tests/iothreads-stream
/qemu/tests/qemu-iotests/tests/iothreads-stream.out
netdev-socket.c
/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/qemu/tests/tcg/aarch64/system/vtimer.c
/qemu/tests/tcg/arm/Makefile.softmmu-target
/qemu/tests/tcg/arm/system/boot.S
/qemu/tests/tcg/arm/system/kernel.ld
/qemu/tests/tcg/arm/system/semiconsole.c
/qemu/tests/tcg/arm/system/test-armv6m-undef.S
/qemu/tests/tcg/arm/system/test-armv6m-undef.ld
/qemu/tests/tcg/multiarch/gdbstub/registers.py
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/ppc64/vsx_f2i_nan.c
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-bdrv-graph-mod.c
/qemu/ui/console.c
/qemu/ui/dbus.c
/qemu/ui/gtk.c
/qemu/ui/spice-app.c
/qemu/ui/ui-qmp-cmds.c
/qemu/util/filemonitor-inotify.c
/qemu/util/range.c
/qemu/util/vhost-user-server.c
4b3e4d2b14-Nov-2023 Michael Tokarev <mjt@tls.msk.ru>

tests/qtest/ufs-test.c: spelling fix: tranfer

Fixes: 631c872614ac "tests/qtest: Introduce tests for UFS"
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Si

tests/qtest/ufs-test.c: spelling fix: tranfer

Fixes: 631c872614ac "tests/qtest: Introduce tests for UFS"
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...

8053feaa14-Nov-2023 Michael Tokarev <mjt@tls.msk.ru>

tests/qtest/migration-test.c: spelling fix: bandwith

Fixes: 17257b90be4f "tests: Add migration dirty-limit capability test"
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev

tests/qtest/migration-test.c: spelling fix: bandwith

Fixes: 17257b90be4f "tests: Add migration dirty-limit capability test"
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

show more ...


/qemu/.gitlab-ci.d/crossbuilds.yml
/qemu/.gitlab-ci.d/windows.yml
/qemu/.mailmap
/qemu/MAINTAINERS
/qemu/VERSION
/qemu/audio/wavaudio.c
/qemu/block.c
/qemu/block/backup.c
/qemu/block/blkdebug.c
/qemu/block/blkreplay.c
/qemu/block/blkverify.c
/qemu/block/block-backend.c
/qemu/block/block-copy.c
/qemu/block/bochs.c
/qemu/block/cloop.c
/qemu/block/commit.c
/qemu/block/copy-before-write.c
/qemu/block/copy-on-read.c
/qemu/block/copy-on-read.h
/qemu/block/crypto.c
/qemu/block/dmg.c
/qemu/block/filter-compress.c
/qemu/block/io.c
/qemu/block/mirror.c
/qemu/block/monitor/block-hmp-cmds.c
/qemu/block/parallels-ext.c
/qemu/block/parallels.c
/qemu/block/parallels.h
/qemu/block/preallocate.c
/qemu/block/qcow.c
/qemu/block/qcow2-bitmap.c
/qemu/block/qcow2-cluster.c
/qemu/block/qcow2.c
/qemu/block/qcow2.h
/qemu/block/qed.c
/qemu/block/qed.h
/qemu/block/raw-format.c
/qemu/block/replication.c
/qemu/block/snapshot-access.c
/qemu/block/snapshot.c
/qemu/block/stream.c
/qemu/block/throttle.c
/qemu/block/vdi.c
/qemu/block/vhdx-log.c
/qemu/block/vhdx.c
/qemu/block/vhdx.h
/qemu/block/vmdk.c
/qemu/block/vpc.c
/qemu/blockdev.c
/qemu/blockjob.c
/qemu/bsd-user/bsd-mem.h
/qemu/bsd-user/freebsd/os-proc.c
/qemu/bsd-user/freebsd/os-stat.h
/qemu/configs/devices/ppc-softmmu/default.mak
/qemu/configs/targets/loongarch64-linux-user.mak
/qemu/configure
/qemu/contrib/gitdm/domain-map
/qemu/contrib/plugins/Makefile
/qemu/contrib/plugins/win32_linker.c
/qemu/contrib/vhost-user-gpu/virgl.c
/qemu/cpu-target.c
/qemu/crypto/rsakey-builtin.c.inc
/qemu/docs/about/deprecated.rst
/qemu/docs/devel/migration.rst
/qemu/docs/devel/testing.rst
/qemu/docs/sphinx/qapidoc.py
/qemu/docs/system/arm/emulation.rst
/qemu/dump/dump.c
/qemu/gdb-xml/arm-neon.xml
/qemu/gdbstub/gdbstub.c
/qemu/host/include/generic/host/atomic128-cas.h
/qemu/host/include/generic/host/atomic128-ldst.h
/qemu/hw/arm/mps2-tz.c
/qemu/hw/arm/mps2.c
/qemu/hw/arm/sbsa-ref.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt.c
/qemu/hw/arm/xen_arm.c
/qemu/hw/arm/xlnx-versal.c
/qemu/hw/audio/es1370.c
/qemu/hw/audio/virtio-snd.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/machine.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/core/qdev-properties.c
/qemu/hw/cxl/cxl-component-utils.c
/qemu/hw/cxl/cxl-mailbox-utils.c
/qemu/hw/display/vmware_vga.c
/qemu/hw/hppa/machine.c
/qemu/hw/i386/pc.c
/qemu/hw/ide/ahci.c
/qemu/hw/mem/memory-device.c
/qemu/hw/mips/Kconfig
/qemu/hw/net/cadence_gem.c
/qemu/hw/net/igb.c
/qemu/hw/net/igb_common.h
/qemu/hw/net/igb_core.c
/qemu/hw/net/igb_core.h
/qemu/hw/net/igbvf.c
/qemu/hw/net/trace-events
/qemu/hw/pci-host/Kconfig
/qemu/hw/pci-host/articia.c
/qemu/hw/pci-host/astro.c
/qemu/hw/pci-host/meson.build
/qemu/hw/pci-host/pnv_phb4.c
/qemu/hw/pci-host/pnv_phb4_pec.c
/qemu/hw/ppc/Kconfig
/qemu/hw/ppc/amigaone.c
/qemu/hw/ppc/meson.build
/qemu/hw/ppc/pnv.c
/qemu/hw/ppc/pnv_i2c.c
/qemu/hw/ppc/spapr_rtas.c
/qemu/hw/rx/rx62n.c
/qemu/hw/s390x/s390-pci-vfio.c
/qemu/hw/virtio/virtio-mem.c
/qemu/hw/watchdog/wdt_aspeed.c
/qemu/include/block/block-global-state.h
/qemu/include/block/block-io.h
/qemu/include/block/block_int-common.h
/qemu/include/block/block_int-global-state.h
/qemu/include/block/block_int-io.h
/qemu/include/block/blockjob.h
/qemu/include/block/blockjob_int.h
/qemu/include/block/ufs.h
/qemu/include/exec/gdbstub.h
/qemu/include/hw/cxl/cxl_device.h
/qemu/include/hw/hyperv/dynmem-proto.h
/qemu/include/hw/pci-host/articia.h
/qemu/include/hw/pci-host/pnv_phb4.h
/qemu/include/hw/pci-host/pnv_phb4_regs.h
/qemu/include/hw/ppc/pnv_chip.h
/qemu/include/hw/ppc/pnv_i2c.h
/qemu/include/hw/ppc/pnv_xscom.h
/qemu/include/hw/qdev-properties.h
/qemu/include/hw/s390x/sclp.h
/qemu/include/hw/virtio/vhost.h
/qemu/include/hw/xen/xen_native.h
/qemu/include/qemu/int128.h
/qemu/include/qemu/qemu-plugin.h
/qemu/include/qom/object.h
/qemu/include/sysemu/dump-arch.h
/qemu/io/net-listener.c
/qemu/linux-user/ppc/vdso.S
/qemu/linux-user/syscall.c
/qemu/meson.build
/qemu/migration/block-dirty-bitmap.c
/qemu/migration/rdma.c
/qemu/nbd/server.c
/qemu/pc-bios/hppa-firmware.img
/qemu/plugins/meson.build
/qemu/qapi/migration.json
/qemu/qapi/pragma.json
/qemu/qemu-img.c
/qemu/qom/object.c
/qemu/roms/seabios-hppa
/qemu/scripts/cpu-x86-uarch-abi.py
/qemu/scripts/feature_to_c.py
/qemu/scripts/qapi/schema.py
/qemu/scripts/tracetool/__init__.py
/qemu/target/arm/debug_helper.c
/qemu/target/arm/helper.c
/qemu/target/arm/tcg/cpu32.c
/qemu/target/arm/tcg/helper-a64.c
/qemu/target/arm/tcg/hflags.c
/qemu/target/arm/tcg/mte_helper.c
/qemu/target/arm/tcg/translate-a64.c
/qemu/target/hppa/cpu-param.h
/qemu/target/hppa/cpu.h
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/machine.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/translate.c
/qemu/target/riscv/cpu.h
/qemu/target/s390x/arch_dump.c
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/kvm/stsi-topology.c
/qemu/target/s390x/tcg/insn-data.h.inc
/qemu/target/s390x/tcg/translate.c
/qemu/tests/avocado/machine_m68k_nextcube.py
/qemu/tests/avocado/machine_s390_ccw_virtio.py
/qemu/tests/avocado/mem-addr-space-check.py
/qemu/tests/avocado/ppc_amiga.py
/qemu/tests/avocado/tcg_plugins.py
/qemu/tests/avocado/tesseract_utils.py
/qemu/tests/data/qobject/qdict.txt
/qemu/tests/plugin/meson.build
/qemu/tests/qapi-schema/test-qapi.py
migration-test.c
/qemu/tests/tcg/multiarch/Makefile.target
/qemu/tests/tcg/multiarch/gdbstub/registers.py
/qemu/tests/tcg/multiarch/system/Makefile.softmmu-target
/qemu/tests/tcg/nios2/Makefile.target
/qemu/tests/tcg/ppc64/Makefile.target
/qemu/tests/tcg/s390x/Makefile.target
/qemu/tests/tcg/s390x/add-logical-with-carry.c
/qemu/tests/tcg/s390x/clc.c
/qemu/tests/tcg/s390x/laalg.c
/qemu/tests/tsan/ignore.tsan
/qemu/tests/unit/test-bdrv-drain.c
/qemu/tests/unit/test-bdrv-graph-mod.c
/qemu/tests/unit/test-resv-mem.c
/qemu/tests/vm/netbsd
ff05112823-Oct-2023 Titus Rwantare <titusr@google.com>

hw/i2c: pmbus: reset page register for out of range reads

The linux pmbus driver scans all possible pages and does not reset the
current page after the scan, making all future page reads fail as out

hw/i2c: pmbus: reset page register for out of range reads

The linux pmbus driver scans all possible pages and does not reset the
current page after the scan, making all future page reads fail as out of range
on devices with a single page.

This change resets out of range pages immediately on write.

Also added a qtest for simultaneous writes to all pages.

Reviewed-by: Hao Wu <wuhaotsh@google.com>
Signed-off-by: Titus Rwantare <titusr@google.com>
Message-ID: <20231023-staging-pmbus-v3-v4-8-07a8cb7cd20a@google.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

5861f5ab23-Oct-2023 Titus Rwantare <titusr@google.com>

tests/qtest: add tests for ADM1266

The ADM1266 can have string fields written by the driver, so
it's worth specifically testing.

Reviewed-by: Hao Wu <wuhaotsh@google.com>
Acked-by: Corey Minyard <c

tests/qtest: add tests for ADM1266

The ADM1266 can have string fields written by the driver, so
it's worth specifically testing.

Reviewed-by: Hao Wu <wuhaotsh@google.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Titus Rwantare <titusr@google.com>
[PMD: Cover file in MAINTAINERS]
Message-ID: <20231023-staging-pmbus-v3-v4-6-07a8cb7cd20a@google.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

cc61085706-Sep-2023 Fiona Ebner <f.ebner@proxmox.com>

tests/qtest: ahci-test: add test exposing reset issue with pending callback

Before commit "hw/ide: reset: cancel async DMA operation before
resetting state", this test would fail, because a reset wi

tests/qtest: ahci-test: add test exposing reset issue with pending callback

Before commit "hw/ide: reset: cancel async DMA operation before
resetting state", this test would fail, because a reset with a
pending write operation would lead to an unsolicited write to the
first sector of the disk.

The test writes a pattern to the beginning of the disk and verifies
that it is still intact after a reset with a pending operation. It
also checks that the pending operation actually completes correctly.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20230906130922.142845-2-f.ebner@proxmox.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/qemu/MAINTAINERS
/qemu/accel/stubs/tcg-stub.c
/qemu/accel/tcg/cputlb.c
/qemu/accel/tcg/internal-common.h
/qemu/accel/tcg/ldst_atomicity.c.inc
/qemu/accel/tcg/monitor.c
/qemu/accel/tcg/tcg-accel-ops.c
/qemu/accel/tcg/translate-all.c
/qemu/accel/tcg/user-exec-stub.c
/qemu/block/file-posix.c
/qemu/block/nvme.c
/qemu/block/parallels-ext.c
/qemu/block/qcow2-cluster.c
/qemu/block/vdi.c
/qemu/bsd-user/main.c
/qemu/configs/targets/hppa-linux-user.mak
/qemu/cpu-common.c
/qemu/cpu-target.c
/qemu/disas/riscv.c
/qemu/disas/riscv.h
/qemu/docs/about/deprecated.rst
/qemu/docs/devel/index-api.rst
/qemu/docs/devel/pci.rst
/qemu/docs/system/arm/vexpress.rst
/qemu/docs/system/riscv/virt.rst
/qemu/host/include/loongarch64/host/atomic128-ldst.h
/qemu/host/include/loongarch64/host/cpuinfo.h
/qemu/host/include/loongarch64/host/load-extract-al16-al8.h
/qemu/host/include/loongarch64/host/store-insert-al16.h
/qemu/hw/alpha/typhoon.c
/qemu/hw/arm/smmu-common.c
/qemu/hw/arm/vexpress.c
/qemu/hw/arm/virt-acpi-build.c
/qemu/hw/arm/virt.c
/qemu/hw/core/cpu-common.c
/qemu/hw/core/loader.c
/qemu/hw/core/qdev-properties-system.c
/qemu/hw/hppa/machine.c
/qemu/hw/hyperv/vmbus.c
/qemu/hw/i386/amd_iommu.c
/qemu/hw/i386/intel_iommu.c
/qemu/hw/ide/core.c
/qemu/hw/isa/i82378.c
/qemu/hw/pci-host/astro.c
/qemu/hw/pci-host/designware.c
/qemu/hw/pci-host/dino.c
/qemu/hw/pci-host/pnv_phb3.c
/qemu/hw/pci-host/pnv_phb4.c
/qemu/hw/pci-host/ppce500.c
/qemu/hw/pci-host/raven.c
/qemu/hw/pci-host/sabre.c
/qemu/hw/pci/pci.c
/qemu/hw/ppc/e500.c
/qemu/hw/ppc/ppc440_pcix.c
/qemu/hw/ppc/spapr_pci.c
/qemu/hw/ppc/spapr_pci_vfio.c
/qemu/hw/remote/iommu.c
/qemu/hw/riscv/boot.c
/qemu/hw/riscv/virt.c
/qemu/hw/rtc/mc146818rtc.c
/qemu/hw/s390x/css.c
/qemu/hw/s390x/s390-pci-bus.c
/qemu/hw/s390x/sclp.c
/qemu/hw/ssi/ibex_spi_host.c
/qemu/hw/vfio/ap.c
/qemu/hw/vfio/ccw.c
/qemu/hw/vfio/common.c
/qemu/hw/vfio/container.c
/qemu/hw/vfio/helpers.c
/qemu/hw/vfio/pci.c
/qemu/hw/vfio/spapr.c
/qemu/hw/virtio/trace-events
/qemu/hw/virtio/virtio-iommu-pci.c
/qemu/hw/virtio/virtio-iommu.c
/qemu/include/exec/cpu-common.h
/qemu/include/exec/cputlb.h
/qemu/include/exec/memory.h
/qemu/include/exec/tb-flush.h
/qemu/include/hw/core/cpu.h
/qemu/include/hw/elf_ops.h
/qemu/include/hw/i386/topology.h
/qemu/include/hw/loader.h
/qemu/include/hw/pci/pci.h
/qemu/include/hw/pci/pci_bus.h
/qemu/include/hw/ppc/ppc.h
/qemu/include/hw/s390x/css.h
/qemu/include/hw/s390x/sclp.h
/qemu/include/hw/vfio/vfio-common.h
/qemu/include/hw/virtio/virtio-iommu.h
/qemu/include/qemu/range.h
/qemu/include/qemu/reserved-region.h
/qemu/include/qemu/uuid.h
/qemu/include/sysemu/accel-ops.h
/qemu/include/sysemu/kvm.h
/qemu/include/tcg/tcg-op-common.h
/qemu/include/tcg/tcg-opc.h
/qemu/include/tcg/tcg-temp-internal.h
/qemu/include/tcg/tcg.h
/qemu/io/channel-socket.c
/qemu/linux-user/hppa/cpu_loop.c
/qemu/linux-user/hppa/signal.c
/qemu/linux-user/hppa/target_elf.h
/qemu/linux-user/main.c
/qemu/linux-user/riscv/target_elf.h
/qemu/migration/savevm.c
/qemu/plugins/core.c
/qemu/qapi/block-core.json
/qemu/qapi/machine-target.json
/qemu/qemu-options.hx
/qemu/system/cpus.c
/qemu/system/memory.c
/qemu/system/vl.c
/qemu/target/alpha/cpu-qom.h
/qemu/target/alpha/cpu.c
/qemu/target/alpha/cpu.h
/qemu/target/arm/cpu-qom.h
/qemu/target/arm/cpu.c
/qemu/target/arm/cpu.h
/qemu/target/arm/internals.h
/qemu/target/arm/tcg/a64.decode
/qemu/target/arm/tcg/translate.h
/qemu/target/avr/cpu-qom.h
/qemu/target/avr/cpu.c
/qemu/target/avr/cpu.h
/qemu/target/cris/cpu-qom.h
/qemu/target/cris/cpu.c
/qemu/target/cris/cpu.h
/qemu/target/hexagon/cpu-qom.h
/qemu/target/hexagon/cpu.c
/qemu/target/hexagon/cpu.h
/qemu/target/hppa/cpu-param.h
/qemu/target/hppa/cpu-qom.h
/qemu/target/hppa/cpu.c
/qemu/target/hppa/cpu.h
/qemu/target/hppa/gdbstub.c
/qemu/target/hppa/helper.c
/qemu/target/hppa/helper.h
/qemu/target/hppa/insns.decode
/qemu/target/hppa/int_helper.c
/qemu/target/hppa/machine.c
/qemu/target/hppa/mem_helper.c
/qemu/target/hppa/op_helper.c
/qemu/target/hppa/sys_helper.c
/qemu/target/hppa/trace-events
/qemu/target/hppa/translate.c
/qemu/target/i386/cpu-qom.h
/qemu/target/i386/cpu.c
/qemu/target/i386/cpu.h
/qemu/target/i386/hvf/hvf.c
/qemu/target/i386/hvf/x86_emu.c
/qemu/target/i386/hvf/x86_emu.h
/qemu/target/i386/kvm/kvm-cpu.c
/qemu/target/i386/monitor.c
/qemu/target/loongarch/cpu-qom.h
/qemu/target/loongarch/cpu.c
/qemu/target/loongarch/cpu.h
/qemu/target/m68k/cpu-qom.h
/qemu/target/m68k/cpu.c
/qemu/target/m68k/cpu.h
/qemu/target/microblaze/cpu-qom.h
/qemu/target/microblaze/cpu.h
/qemu/target/mips/cpu-qom.h
/qemu/target/mips/cpu.h
/qemu/target/mips/tcg/msa.decode
/qemu/target/mips/tcg/tx79.decode
/qemu/target/nios2/cpu-qom.h
/qemu/target/nios2/cpu.c
/qemu/target/nios2/cpu.h
/qemu/target/openrisc/cpu-qom.h
/qemu/target/openrisc/cpu.c
/qemu/target/openrisc/cpu.h
/qemu/target/ppc/cpu-qom.h
/qemu/target/ppc/cpu.h
/qemu/target/ppc/excp_helper.c
/qemu/target/ppc/internal.h
/qemu/target/ppc/kvm.c
/qemu/target/ppc/kvm_ppc.h
/qemu/target/ppc/meson.build
/qemu/target/riscv/cpu-qom.h
/qemu/target/riscv/cpu.c
/qemu/target/riscv/cpu.h
/qemu/target/riscv/cpu_bits.h
/qemu/target/riscv/cpu_cfg.h
/qemu/target/riscv/cpu_helper.c
/qemu/target/riscv/csr.c
/qemu/target/riscv/gdbstub.c
/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/qemu/target/riscv/insn_trans/trans_rvvk.c.inc
/qemu/target/riscv/insn_trans/trans_rvzicbo.c.inc
/qemu/target/riscv/internals.h
/qemu/target/riscv/kvm/kvm-cpu.c
/qemu/target/riscv/machine.c
/qemu/target/riscv/pmp.c
/qemu/target/riscv/pmp.h
/qemu/target/riscv/pmu.c
/qemu/target/riscv/pmu.h
/qemu/target/riscv/riscv-qmp-cmds.c
/qemu/target/riscv/tcg/tcg-cpu.c
/qemu/target/riscv/tcg/tcg-cpu.h
/qemu/target/rx/cpu-qom.h
/qemu/target/rx/cpu.c
/qemu/target/rx/cpu.h
/qemu/target/s390x/cpu-qom.h
/qemu/target/s390x/cpu.h
/qemu/target/s390x/cpu_models.c
/qemu/target/s390x/cpu_models.h
/qemu/target/s390x/diag.c
/qemu/target/s390x/kvm/kvm.c
/qemu/target/s390x/tcg/misc_helper.c
/qemu/target/sh4/cpu-qom.h
/qemu/target/sh4/cpu.c
/qemu/target/sh4/cpu.h
/qemu/target/sparc/cpu-qom.h
/qemu/target/sparc/cpu.h
/qemu/target/tricore/cpu-qom.h
/qemu/target/tricore/cpu.c
/qemu/target/tricore/cpu.h
/qemu/target/xtensa/cpu-qom.h
/qemu/target/xtensa/cpu.c
/qemu/target/xtensa/cpu.h
/qemu/target/xtensa/op_helper.c
/qemu/tcg/aarch64/tcg-target.h
/qemu/tcg/arm/tcg-target.h
/qemu/tcg/i386/tcg-target.h
/qemu/tcg/loongarch64/tcg-target-con-set.h
/qemu/tcg/loongarch64/tcg-target.c.inc
/qemu/tcg/loongarch64/tcg-target.h
/qemu/tcg/mips/tcg-target.c.inc
/qemu/tcg/mips/tcg-target.h
/qemu/tcg/optimize.c
/qemu/tcg/ppc/tcg-target.h
/qemu/tcg/riscv/tcg-target.h
/qemu/tcg/s390x/tcg-target.h
/qemu/tcg/sparc64/tcg-target.c.inc
/qemu/tcg/sparc64/tcg-target.h
/qemu/tcg/tcg-internal.h
/qemu/tcg/tcg-op-gvec.c
/qemu/tcg/tcg-op.c
/qemu/tcg/tcg.c
/qemu/tcg/tci.c
/qemu/tcg/tci/tcg-target.h
/qemu/tests/data/acpi/virt/DBG2
/qemu/tests/data/acpi/virt/SPCR
ahci-test.c
/qemu/tests/unit/meson.build
/qemu/tests/unit/test-resv-mem.c
/qemu/tests/unit/test-seccomp.c
/qemu/tests/unit/test-uuid.c
/qemu/tests/unit/test-x86-topo.c
/qemu/tests/vm/ubuntu.aarch64
/qemu/util/cpuinfo-loongarch.c
/qemu/util/filemonitor-inotify.c
/qemu/util/meson.build
/qemu/util/range.c
/qemu/util/reserved-region.c
/qemu/util/uuid.c
f58db4ee23-Oct-2023 Zhao Liu <zhao1.liu@intel.com>

tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count2 test

Following the guidelines in tests/qtest/bios-tables-test.c, this
is step 5 and 6.

Changes in the tables:
FACP:

tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count2 test

Following the guidelines in tests/qtest/bios-tables-test.c, this
is step 5 and 6.

Changes in the tables:
FACP:

+/*
+ * Intel ACPI Component Architecture
+ * AML/ASL+ Disassembler version 20200925 (64-bit version)
+ * Copyright (c) 2000 - 2020 Intel Corporation
+ *
+ * Disassembly of /tmp/aml-CNE3C2, Mon Oct 23 15:25:01 2023
+ *
+ * ACPI Data Table [FACP]
+ *
+ * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue
+ */
+
+[000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)]
+[004h 0004 4] Table Length : 000000F4
+[008h 0008 1] Revision : 03
+[009h 0009 1] Checksum : B3
+[00Ah 0010 6] Oem ID : "BOCHS "
+[010h 0016 8] Oem Table ID : "BXPC "
+[018h 0024 4] Oem Revision : 00000001
+[01Ch 0028 4] Asl Compiler ID : "BXPC"
+[020h 0032 4] Asl Compiler Revision : 00000001
+
+[024h 0036 4] FACS Address : 00000000
+[028h 0040 4] DSDT Address : 00000000
+[02Ch 0044 1] Model : 01
+[02Dh 0045 1] PM Profile : 00 [Unspecified]
+[02Eh 0046 2] SCI Interrupt : 0009
+[030h 0048 4] SMI Command Port : 000000B2
+[034h 0052 1] ACPI Enable Value : 02
+[035h 0053 1] ACPI Disable Value : 03
+[036h 0054 1] S4BIOS Command : 00
+[037h 0055 1] P-State Control : 00
+[038h 0056 4] PM1A Event Block Address : 00000600
+[03Ch 0060 4] PM1B Event Block Address : 00000000
+[040h 0064 4] PM1A Control Block Address : 00000604
+[044h 0068 4] PM1B Control Block Address : 00000000
+[048h 0072 4] PM2 Control Block Address : 00000000
+[04Ch 0076 4] PM Timer Block Address : 00000608
+[050h 0080 4] GPE0 Block Address : 00000620
+[054h 0084 4] GPE1 Block Address : 00000000
+[058h 0088 1] PM1 Event Block Length : 04
+[059h 0089 1] PM1 Control Block Length : 02
+[05Ah 0090 1] PM2 Control Block Length : 00
+[05Bh 0091 1] PM Timer Block Length : 04
+[05Ch 0092 1] GPE0 Block Length : 10
+[05Dh 0093 1] GPE1 Block Length : 00
+[05Eh 0094 1] GPE1 Base Offset : 00
+[05Fh 0095 1] _CST Support : 00
+[060h 0096 2] C2 Latency : 0FFF
+[062h 0098 2] C3 Latency : 0FFF
+[064h 0100 2] CPU Cache Size : 0000
+[066h 0102 2] Cache Flush Stride : 0000
+[068h 0104 1] Duty Cycle Offset : 00
+[069h 0105 1] Duty Cycle Width : 00
+[06Ah 0106 1] RTC Day Alarm Index : 00
+[06Bh 0107 1] RTC Month Alarm Index : 00
+[06Ch 0108 1] RTC Century Index : 32
+[06Dh 0109 2] Boot Flags (decoded below) : 0002
+ Legacy Devices Supported (V2) : 0
+ 8042 Present on ports 60/64 (V2) : 1
+ VGA Not Present (V4) : 0
+ MSI Not Supported (V4) : 0
+ PCIe ASPM Not Supported (V4) : 0
+ CMOS RTC Not Present (V5) : 0
+[06Fh 0111 1] Reserved : 00
+[070h 0112 4] Flags (decoded below) : 000484A5
+ WBINVD instruction is operational (V1) : 1
+ WBINVD flushes all caches (V1) : 0
+ All CPUs support C1 (V1) : 1
+ C2 works on MP system (V1) : 0
+ Control Method Power Button (V1) : 0
+ Control Method Sleep Button (V1) : 1
+ RTC wake not in fixed reg space (V1) : 0
+ RTC can wake system from S4 (V1) : 1
+ 32-bit PM Timer (V1) : 0
+ Docking Supported (V1) : 0
+ Reset Register Supported (V2) : 1
+ Sealed Case (V3) : 0
+ Headless - No Video (V3) : 0
+ Use native instr after SLP_TYPx (V3) : 0
+ PCIEXP_WAK Bits Supported (V4) : 0
+ Use Platform Timer (V4) : 1
+ RTC_STS valid on S4 wake (V4) : 0
+ Remote Power-on capable (V4) : 0
+ Use APIC Cluster Model (V4) : 1
+ Use APIC Physical Destination Mode (V4) : 0
+ Hardware Reduced (V5) : 0
+ Low Power S0 Idle (V5) : 0
+
+[074h 0116 12] Reset Register : [Generic Address Structure]
+[074h 0116 1] Space ID : 01 [SystemIO]
+[075h 0117 1] Bit Width : 08
+[076h 0118 1] Bit Offset : 00
+[077h 0119 1] Encoded Access Width : 00 [Undefined/Legacy]
+[078h 0120 8] Address : 0000000000000CF9
+
+[080h 0128 1] Value to cause reset : 0F
+[081h 0129 2] ARM Flags (decoded below) : 0000
+ PSCI Compliant : 0
+ Must use HVC for PSCI : 0
+
+[083h 0131 1] FADT Minor Revision : 00
+[084h 0132 8] FACS Address : 0000000000000000
+[08Ch 0140 8] DSDT Address : 0000000000000000
+[094h 0148 12] PM1A Event Block : [Generic Address Structure]
+[094h 0148 1] Space ID : 01 [SystemIO]
+[095h 0149 1] Bit Width : 20
+[096h 0150 1] Bit Offset : 00
+[097h 0151 1] Encoded Access Width : 00 [Undefined/Legacy]
+[098h 0152 8] Address : 0000000000000600
+
+[0A0h 0160 12] PM1B Event Block : [Generic Address Structure]
+[0A0h 0160 1] Space ID : 00 [SystemMemory]
+[0A1h 0161 1] Bit Width : 00
+[0A2h 0162 1] Bit Offset : 00
+[0A3h 0163 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0A4h 0164 8] Address : 0000000000000000
+
+[0ACh 0172 12] PM1A Control Block : [Generic Address Structure]
+[0ACh 0172 1] Space ID : 01 [SystemIO]
+[0ADh 0173 1] Bit Width : 10
+[0AEh 0174 1] Bit Offset : 00
+[0AFh 0175 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0B0h 0176 8] Address : 0000000000000604
+
+[0B8h 0184 12] PM1B Control Block : [Generic Address Structure]
+[0B8h 0184 1] Space ID : 00 [SystemMemory]
+[0B9h 0185 1] Bit Width : 00
+[0BAh 0186 1] Bit Offset : 00
+[0BBh 0187 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0BCh 0188 8] Address : 0000000000000000
+
+[0C4h 0196 12] PM2 Control Block : [Generic Address Structure]
+[0C4h 0196 1] Space ID : 00 [SystemMemory]
+[0C5h 0197 1] Bit Width : 00
+[0C6h 0198 1] Bit Offset : 00
+[0C7h 0199 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0C8h 0200 8] Address : 0000000000000000
+
+[0D0h 0208 12] PM Timer Block : [Generic Address Structure]
+[0D0h 0208 1] Space ID : 01 [SystemIO]
+[0D1h 0209 1] Bit Width : 20
+[0D2h 0210 1] Bit Offset : 00
+[0D3h 0211 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0D4h 0212 8] Address : 0000000000000608
+
+[0DCh 0220 12] GPE0 Block : [Generic Address Structure]
+[0DCh 0220 1] Space ID : 01 [SystemIO]
+[0DDh 0221 1] Bit Width : 80
+[0DEh 0222 1] Bit Offset : 00
+[0DFh 0223 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0E0h 0224 8] Address : 0000000000000620
+
+[0E8h 0232 12] GPE1 Block : [Generic Address Structure]
+[0E8h 0232 1] Space ID : 00 [SystemMemory]
+[0E9h 0233 1] Bit Width : 00
+[0EAh 0234 1] Bit Offset : 00
+[0EBh 0235 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0ECh 0236 8] Address : 0000000000000000

...

APIC:

+/*
+ * Intel ACPI Component Architecture
+ * AML/ASL+ Disassembler version 20200925 (64-bit version)
+ * Copyright (c) 2000 - 2020 Intel Corporation
+ *
+ * Disassembly of /tmp/aml-WKE3C2, Mon Oct 23 15:25:01 2023
+ *
+ * ACPI Data Table [APIC]
+ *
+ * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue
+ */
+
+[000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)]
+[004h 0004 4] Table Length : 00000CA6
+[008h 0008 1] Revision : 03
+[009h 0009 1] Checksum : 2C
+[00Ah 0010 6] Oem ID : "BOCHS "
+[010h 0016 8] Oem Table ID : "BXPC "
+[018h 0024 4] Oem Revision : 00000001
+[01Ch 0028 4] Asl Compiler ID : "BXPC"
+[020h 0032 4] Asl Compiler Revision : 00000001
+
+[024h 0036 4] Local Apic Address : FEE00000
+[028h 0040 4] Flags (decoded below) : 00000001
+ PC-AT Compatibility : 1
+
+[02Ch 0044 1] Subtable Type : 00 [Processor Local APIC]
+[02Dh 0045 1] Length : 08
+[02Eh 0046 1] Processor ID : 00
+[02Fh 0047 1] Local Apic ID : 00
+[030h 0048 4] Flags (decoded below) : 00000001
+ Processor Enabled : 1
+ Runtime Online Capable : 0
+
+[034h 0052 1] Subtable Type : 00 [Processor Local APIC]
+[035h 0053 1] Length : 08
+[036h 0054 1] Processor ID : 01
+[037h 0055 1] Local Apic ID : 01
+[038h 0056 4] Flags (decoded below) : 00000001
+ Processor Enabled : 1
+ Runtime Online Capable : 0

[snip]

+[434h 1076 1] Subtable Type : 00 [Processor Local APIC]
+[435h 1077 1] Length : 08
+[436h 1078 1] Processor ID : 81
+[437h 1079 1] Local Apic ID : 81
+[438h 1080 4] Flags (decoded below) : 00000001
+ Processor Enabled : 1
+ Runtime Online Capable : 0
+
+[43Ch 1084 1] Subtable Type : 09 [Processor Local x2APIC]
+[43Dh 1085 1] Length : 10
+[43Eh 1086 2] Reserved : 0000
+[440h 1088 4] Processor x2Apic ID : 00000100
+[444h 1092 4] Flags (decoded below) : 00000001
+ Processor Enabled : 1
+[448h 1096 4] Processor UID : 00000082

[snip]

+[C4Ch 3148 1] Subtable Type : 09 [Processor Local x2APIC]
+[C4Dh 3149 1] Length : 10
+[C4Eh 3150 2] Reserved : 0000
+[C50h 3152 4] Processor x2Apic ID : 00000181
+[C54h 3156 4] Flags (decoded below) : 00000000
+ Processor Enabled : 0
+[C58h 3160 4] Processor UID : 00000103
+
+[C5Ch 3164 1] Subtable Type : 01 [I/O APIC]
+[C5Dh 3165 1] Length : 0C
+[C5Eh 3166 1] I/O Apic ID : 00
+[C5Fh 3167 1] Reserved : 00
+[C60h 3168 4] Address : FEC00000
+[C64h 3172 4] Interrupt : 00000000
+
+[C68h 3176 1] Subtable Type : 02 [Interrupt Source Override]
+[C69h 3177 1] Length : 0A
+[C6Ah 3178 1] Bus : 00
+[C6Bh 3179 1] Source : 00
+[C6Ch 3180 4] Interrupt : 00000002
+[C70h 3184 2] Flags (decoded below) : 0000
+ Polarity : 0
+ Trigger Mode : 0

[snip]

+[C90h 3216 1] Subtable Type : 02 [Interrupt Source Override]
+[C91h 3217 1] Length : 0A
+[C92h 3218 1] Bus : 00
+[C93h 3219 1] Source : 0B
+[C94h 3220 4] Interrupt : 0000000B
+[C98h 3224 2] Flags (decoded below) : 000D
+ Polarity : 1
+ Trigger Mode : 3
+
+[C9Ah 3226 1] Subtable Type : 0A [Local x2APIC NMI]
+[C9Bh 3227 1] Length : 0C
+[C9Ch 3228 2] Flags (decoded below) : 0000
+ Polarity : 0
+ Trigger Mode : 0
+[C9Eh 3230 4] Processor UID : FFFFFFFF
+[CA2h 3234 1] Interrupt Input LINT : 01
+[CA3h 3235 3] Reserved : 000000

...

DSDT:

+/*
+ * Intel ACPI Component Architecture
+ * AML/ASL+ Disassembler version 20200925 (64-bit version)
+ * Copyright (c) 2000 - 2020 Intel Corporation
+ *
+ * Disassembling to symbolic ASL+ operators
+ *
+ * Disassembly of /tmp/aml-CDE3C2, Mon Oct 23 15:25:01 2023
+ *
+ * Original Table Header:
+ * Signature "DSDT"
+ * Length 0x000083EA (33770)
+ * Revision 0x01 **** 32-bit table (V1), no 64-bit math support
+ * Checksum 0x01
+ * OEM ID "BOCHS "
+ * OEM Table ID "BXPC "
+ * OEM Revision 0x00000001 (1)
+ * Compiler ID "BXPC"
+ * Compiler Version 0x00000001 (1)
+ */
+DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001)
+{
+ Scope (\)
+ {
+ OperationRegion (DBG, SystemIO, 0x0402, One)
+ Field (DBG, ByteAcc, NoLock, Preserve)
+ {
+ DBGB, 8
+ }
+
+ Method (DBUG, 1, NotSerialized)
+ {
+ ToHexString (Arg0, Local0)
+ ToBuffer (Local0, Local0)
+ Local1 = (SizeOf (Local0) - One)
+ Local2 = Zero
+ While ((Local2 < Local1))
+ {
+ DBGB = DerefOf (Local0 [Local2])
+ Local2++
+ }
+
+ DBGB = 0x0A
+ }
+ }

[snip]

+ Processor (C000, 0x00, 0x00000000, 0x00)
+ {
+ Method (_STA, 0, Serialized) // _STA: Status
+ {
+ Return (CSTA (Zero))
+ }
+
+ Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry
+ {
+ 0x00, 0x08, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 // ........
+ })
+ Method (_OST, 3, Serialized) // _OST: OSPM Status Indication
+ {
+ COST (Zero, Arg0, Arg1, Arg2)
+ }
+ }

[snip]

+ Processor (C081, 0x81, 0x00000000, 0x00)
+ {
+ Method (_STA, 0, Serialized) // _STA: Status
+ {
+ Return (CSTA (0x81))
+ }
+
+ Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry
+ {
+ 0x00, 0x08, 0x81, 0x81, 0x01, 0x00, 0x00, 0x00 // ........
+ })
+ Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9
+ {
+ CEJ0 (0x81)
+ }
+
+ Method (_OST, 3, Serialized) // _OST: OSPM Status Indication
+ {
+ COST (0x81, Arg0, Arg1, Arg2)
+ }
+ }

...

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20231023094635.1588282-17-zhao1.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

198eee0c23-Oct-2023 Zhao Liu <zhao1.liu@intel.com>

tests: bios-tables-test: Add test for smbios type4 thread count2

This tests the commit 7298fd7de5551 ("hw/smbios: Fix thread count in
type4").

In smbios_build_type_4_table() (hw/smbios/smbios.c), i

tests: bios-tables-test: Add test for smbios type4 thread count2

This tests the commit 7298fd7de5551 ("hw/smbios: Fix thread count in
type4").

In smbios_build_type_4_table() (hw/smbios/smbios.c), if the number of
threads in the socket is more than 255, then smbios type4 table encodes
threads per socket into the thread count2 field.

So for the topology in this case, there're the following considerations:
1. threads per socket should be more than 255 to ensure we could cover
the thread count2 field.
2. The original bug was that threads per socket was miscalculated, so
now we should configure as many topology levels as possible (multiple
dies, no module since x86 hasn't supported it) to cover more general
topology scenarios, to ensure that the threads per socket encoded in
the thread count2 field is correct.
3. For the more general topology, we should also add "cpus" (presented
threads for machine) and "maxcpus" (total threads for machine) to
make sure that configuring unpluged CPUs in smp (cpus < maxcpus)
does not affect the correctness of threads per socket for thread
count2 field.

Note we don't consider the topology with multiple sockets since this
topology would create too many vCPUs (more than 255 threads per socket
with at least 2 sockets, which may cause the failure "Number of
hotpluggable cpus requested (*) exceeds the maximum cpus supported by
KVM (*) socket_accept failed: Resource temporarily unavailable"), and
the calculation of threads per socket has already been covered by
"thread count" test case.

Based on these considerations, select the topology as the follow:

-smp cpus=210,maxcpus=260,dies=2,cores=65,threads=2

The expected thread count2 = threads per socket = threads (2)
* cores (65) * dies (2) = 260.

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20231023094635.1588282-16-zhao1.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

7cb953ca23-Oct-2023 Zhao Liu <zhao1.liu@intel.com>

tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count2 test

Following the guidelines in tests/qtest/bios-tables-test.c, this
is step 1 - 3.

List the ACPI tables that

tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count2 test

Following the guidelines in tests/qtest/bios-tables-test.c, this
is step 1 - 3.

List the ACPI tables that will be added to test the thread count2 field
of smbios type4 table.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231023094635.1588282-15-zhao1.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

a775cb1923-Oct-2023 Zhao Liu <zhao1.liu@intel.com>

tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count test

Following the guidelines in tests/qtest/bios-tables-test.c, this
is step 5 and 6.

Changes in the tables:
FACP:

+

tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count test

Following the guidelines in tests/qtest/bios-tables-test.c, this
is step 5 and 6.

Changes in the tables:
FACP:

+/*
+ * Intel ACPI Component Architecture
+ * AML/ASL+ Disassembler version 20200925 (64-bit version)
+ * Copyright (c) 2000 - 2020 Intel Corporation
+ *
+ * Disassembly of /tmp/aml-1NP791, Wed Aug 23 21:51:31 2023
+ *
+ * ACPI Data Table [FACP]
+ *
+ * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue
+ */
+
+[000h 0000 4] Signature : "FACP" [Fixed ACPI Description Table (FADT)]
+[004h 0004 4] Table Length : 000000F4
+[008h 0008 1] Revision : 03
+[009h 0009 1] Checksum : B3
+[00Ah 0010 6] Oem ID : "BOCHS "
+[010h 0016 8] Oem Table ID : "BXPC "
+[018h 0024 4] Oem Revision : 00000001
+[01Ch 0028 4] Asl Compiler ID : "BXPC"
+[020h 0032 4] Asl Compiler Revision : 00000001
+
+[024h 0036 4] FACS Address : 00000000
+[028h 0040 4] DSDT Address : 00000000
+[02Ch 0044 1] Model : 01
+[02Dh 0045 1] PM Profile : 00 [Unspecified]
+[02Eh 0046 2] SCI Interrupt : 0009
+[030h 0048 4] SMI Command Port : 000000B2
+[034h 0052 1] ACPI Enable Value : 02
+[035h 0053 1] ACPI Disable Value : 03
+[036h 0054 1] S4BIOS Command : 00
+[037h 0055 1] P-State Control : 00
+[038h 0056 4] PM1A Event Block Address : 00000600
+[03Ch 0060 4] PM1B Event Block Address : 00000000
+[040h 0064 4] PM1A Control Block Address : 00000604
+[044h 0068 4] PM1B Control Block Address : 00000000
+[048h 0072 4] PM2 Control Block Address : 00000000
+[04Ch 0076 4] PM Timer Block Address : 00000608
+[050h 0080 4] GPE0 Block Address : 00000620
+[054h 0084 4] GPE1 Block Address : 00000000
+[058h 0088 1] PM1 Event Block Length : 04
+[059h 0089 1] PM1 Control Block Length : 02
+[05Ah 0090 1] PM2 Control Block Length : 00
+[05Bh 0091 1] PM Timer Block Length : 04
+[05Ch 0092 1] GPE0 Block Length : 10
+[05Dh 0093 1] GPE1 Block Length : 00
+[05Eh 0094 1] GPE1 Base Offset : 00
+[05Fh 0095 1] _CST Support : 00
+[060h 0096 2] C2 Latency : 0FFF
+[062h 0098 2] C3 Latency : 0FFF
+[064h 0100 2] CPU Cache Size : 0000
+[066h 0102 2] Cache Flush Stride : 0000
+[068h 0104 1] Duty Cycle Offset : 00
+[069h 0105 1] Duty Cycle Width : 00
+[06Ah 0106 1] RTC Day Alarm Index : 00
+[06Bh 0107 1] RTC Month Alarm Index : 00
+[06Ch 0108 1] RTC Century Index : 32
+[06Dh 0109 2] Boot Flags (decoded below) : 0002
+ Legacy Devices Supported (V2) : 0
+ 8042 Present on ports 60/64 (V2) : 1
+ VGA Not Present (V4) : 0
+ MSI Not Supported (V4) : 0
+ PCIe ASPM Not Supported (V4) : 0
+ CMOS RTC Not Present (V5) : 0
+[06Fh 0111 1] Reserved : 00
+[070h 0112 4] Flags (decoded below) : 000484A5
+ WBINVD instruction is operational (V1) : 1
+ WBINVD flushes all caches (V1) : 0
+ All CPUs support C1 (V1) : 1
+ C2 works on MP system (V1) : 0
+ Control Method Power Button (V1) : 0
+ Control Method Sleep Button (V1) : 1
+ RTC wake not in fixed reg space (V1) : 0
+ RTC can wake system from S4 (V1) : 1
+ 32-bit PM Timer (V1) : 0
+ Docking Supported (V1) : 0
+ Reset Register Supported (V2) : 1
+ Sealed Case (V3) : 0
+ Headless - No Video (V3) : 0
+ Use native instr after SLP_TYPx (V3) : 0
+ PCIEXP_WAK Bits Supported (V4) : 0
+ Use Platform Timer (V4) : 1
+ RTC_STS valid on S4 wake (V4) : 0
+ Remote Power-on capable (V4) : 0
+ Use APIC Cluster Model (V4) : 1
+ Use APIC Physical Destination Mode (V4) : 0
+ Hardware Reduced (V5) : 0
+ Low Power S0 Idle (V5) : 0
+
+[074h 0116 12] Reset Register : [Generic Address Structure]
+[074h 0116 1] Space ID : 01 [SystemIO]
+[075h 0117 1] Bit Width : 08
+[076h 0118 1] Bit Offset : 00
+[077h 0119 1] Encoded Access Width : 00 [Undefined/Legacy]
+[078h 0120 8] Address : 0000000000000CF9
+
+[080h 0128 1] Value to cause reset : 0F
+[081h 0129 2] ARM Flags (decoded below) : 0000
+ PSCI Compliant : 0
+ Must use HVC for PSCI : 0
+
+[083h 0131 1] FADT Minor Revision : 00
+[084h 0132 8] FACS Address : 0000000000000000
+[08Ch 0140 8] DSDT Address : 0000000000000000
+[094h 0148 12] PM1A Event Block : [Generic Address Structure]
+[094h 0148 1] Space ID : 01 [SystemIO]
+[095h 0149 1] Bit Width : 20
+[096h 0150 1] Bit Offset : 00
+[097h 0151 1] Encoded Access Width : 00 [Undefined/Legacy]
+[098h 0152 8] Address : 0000000000000600
+
+[0A0h 0160 12] PM1B Event Block : [Generic Address Structure]
+[0A0h 0160 1] Space ID : 00 [SystemMemory]
+[0A1h 0161 1] Bit Width : 00
+[0A2h 0162 1] Bit Offset : 00
+[0A3h 0163 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0A4h 0164 8] Address : 0000000000000000
+
+[0ACh 0172 12] PM1A Control Block : [Generic Address Structure]
+[0ACh 0172 1] Space ID : 01 [SystemIO]
+[0ADh 0173 1] Bit Width : 10
+[0AEh 0174 1] Bit Offset : 00
+[0AFh 0175 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0B0h 0176 8] Address : 0000000000000604
+
+[0B8h 0184 12] PM1B Control Block : [Generic Address Structure]
+[0B8h 0184 1] Space ID : 00 [SystemMemory]
+[0B9h 0185 1] Bit Width : 00
+[0BAh 0186 1] Bit Offset : 00
+[0BBh 0187 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0BCh 0188 8] Address : 0000000000000000
+
+[0C4h 0196 12] PM2 Control Block : [Generic Address Structure]
+[0C4h 0196 1] Space ID : 00 [SystemMemory]
+[0C5h 0197 1] Bit Width : 00
+[0C6h 0198 1] Bit Offset : 00
+[0C7h 0199 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0C8h 0200 8] Address : 0000000000000000
+
+[0D0h 0208 12] PM Timer Block : [Generic Address Structure]
+[0D0h 0208 1] Space ID : 01 [SystemIO]
+[0D1h 0209 1] Bit Width : 20
+[0D2h 0210 1] Bit Offset : 00
+[0D3h 0211 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0D4h 0212 8] Address : 0000000000000608
+
+[0DCh 0220 12] GPE0 Block : [Generic Address Structure]
+[0DCh 0220 1] Space ID : 01 [SystemIO]
+[0DDh 0221 1] Bit Width : 80
+[0DEh 0222 1] Bit Offset : 00
+[0DFh 0223 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0E0h 0224 8] Address : 0000000000000620
+
+[0E8h 0232 12] GPE1 Block : [Generic Address Structure]
+[0E8h 0232 1] Space ID : 00 [SystemMemory]
+[0E9h 0233 1] Bit Width : 00
+[0EAh 0234 1] Bit Offset : 00
+[0EBh 0235 1] Encoded Access Width : 00 [Undefined/Legacy]
+[0ECh 0236 8] Address : 0000000000000000

...

APIC:

+/*
+ * Intel ACPI Component Architecture
+ * AML/ASL+ Disassembler version 20200925 (64-bit version)
+ * Copyright (c) 2000 - 2020 Intel Corporation
+ *
+ * Disassembly of /tmp/aml-2JP791, Wed Aug 23 21:51:31 2023
+ *
+ * ACPI Data Table [APIC]
+ *
+ * Format: [HexOffset DecimalOffset ByteLength] FieldName : FieldValue
+ */
+
+[000h 0000 4] Signature : "APIC" [Multiple APIC Description Table (MADT)]
+[004h 0004 4] Table Length : 00000220
+[008h 0008 1] Revision : 03
+[009h 0009 1] Checksum : 63
+[00Ah 0010 6] Oem ID : "BOCHS "
+[010h 0016 8] Oem Table ID : "BXPC "
+[018h 0024 4] Oem Revision : 00000001
+[01Ch 0028 4] Asl Compiler ID : "BXPC"
+[020h 0032 4] Asl Compiler Revision : 00000001
+
+[024h 0036 4] Local Apic Address : FEE00000
+[028h 0040 4] Flags (decoded below) : 00000001
+ PC-AT Compatibility : 1
+
+[02Ch 0044 1] Subtable Type : 00 [Processor Local APIC]
+[02Dh 0045 1] Length : 08
+[02Eh 0046 1] Processor ID : 00
+[02Fh 0047 1] Local Apic ID : 00
+[030h 0048 4] Flags (decoded below) : 00000001
+ Processor Enabled : 1
+ Runtime Online Capable : 0
+
+[034h 0052 1] Subtable Type : 00 [Processor Local APIC]
+[035h 0053 1] Length : 08
+[036h 0054 1] Processor ID : 01
+[037h 0055 1] Local Apic ID : 01
+[038h 0056 4] Flags (decoded below) : 00000001
+ Processor Enabled : 1
+ Runtime Online Capable : 0

[snip]

+[1D4h 0468 1] Subtable Type : 00 [Processor Local APIC]
+[1D5h 0469 1] Length : 08
+[1D6h 0470 1] Processor ID : 35
+[1D7h 0471 1] Local Apic ID : 6A
+[1D8h 0472 4] Flags (decoded below) : 00000000
+ Processor Enabled : 0
+ Runtime Online Capable : 0
+
+[1DCh 0476 1] Subtable Type : 01 [I/O APIC]
+[1DDh 0477 1] Length : 0C
+[1DEh 0478 1] I/O Apic ID : 00
+[1DFh 0479 1] Reserved : 00
+[1E0h 0480 4] Address : FEC00000
+[1E4h 0484 4] Interrupt : 00000000
+
+[1E8h 0488 1] Subtable Type : 02 [Interrupt Source Override]
+[1E9h 0489 1] Length : 0A
+[1EAh 0490 1] Bus : 00
+[1EBh 0491 1] Source : 00
+[1ECh 0492 4] Interrupt : 00000002
+[1F0h 0496 2] Flags (decoded below) : 0000
+ Polarity : 0
+ Trigger Mode : 0
+
+[1F2h 0498 1] Subtable Type : 02 [Interrupt Source Override]
+[1F3h 0499 1] Length : 0A
+[1F4h 0500 1] Bus : 00
+[1F5h 0501 1] Source : 05
+[1F6h 0502 4] Interrupt : 00000005
+[1FAh 0506 2] Flags (decoded below) : 000D
+ Polarity : 1
+ Trigger Mode : 3
+
+[1FCh 0508 1] Subtable Type : 02 [Interrupt Source Override]
+[1FDh 0509 1] Length : 0A
+[1FEh 0510 1] Bus : 00
+[1FFh 0511 1] Source : 09
+[200h 0512 4] Interrupt : 00000009
+[204h 0516 2] Flags (decoded below) : 000D
+ Polarity : 1
+ Trigger Mode : 3
+
+[206h 0518 1] Subtable Type : 02 [Interrupt Source Override]
+[207h 0519 1] Length : 0A
+[208h 0520 1] Bus : 00
+[209h 0521 1] Source : 0A
+[20Ah 0522 4] Interrupt : 0000000A
+[20Eh 0526 2] Flags (decoded below) : 000D
+ Polarity : 1
+ Trigger Mode : 3
+
+[210h 0528 1] Subtable Type : 02 [Interrupt Source Override]
+[211h 0529 1] Length : 0A
+[212h 0530 1] Bus : 00
+[213h 0531 1] Source : 0B
+[214h 0532 4] Interrupt : 0000000B
+[218h 0536 2] Flags (decoded below) : 000D
+ Polarity : 1
+ Trigger Mode : 3
+
+[21Ah 0538 1] Subtable Type : 04 [Local APIC NMI]
+[21Bh 0539 1] Length : 06
+[21Ch 0540 1] Processor ID : FF
+[21Dh 0541 2] Flags (decoded below) : 0000
+ Polarity : 0
+ Trigger Mode : 0
+[21Fh 0543 1] Interrupt Input LINT : 01

...

DSDT:

+/*
+ * Intel ACPI Component Architecture
+ * AML/ASL+ Disassembler version 20200925 (64-bit version)
+ * Copyright (c) 2000 - 2020 Intel Corporation
+ *
+ * Disassembling to symbolic ASL+ operators
+ *
+ * Disassembly of /tmp/aml-00O791, Wed Aug 23 21:51:31 2023
+ *
+ * Original Table Header:
+ * Signature "DSDT"
+ * Length 0x00003271 (12913)
+ * Revision 0x01 **** 32-bit table (V1), no 64-bit math support
+ * Checksum 0xAF
+ * OEM ID "BOCHS "
+ * OEM Table ID "BXPC "
+ * OEM Revision 0x00000001 (1)
+ * Compiler ID "BXPC"
+ * Compiler Version 0x00000001 (1)
+ */
+DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPC ", 0x00000001)
+{
+ Scope (\)
+ {
+ OperationRegion (DBG, SystemIO, 0x0402, One)
+ Field (DBG, ByteAcc, NoLock, Preserve)
+ {
+ DBGB, 8
+ }
+
+ Method (DBUG, 1, NotSerialized)
+ {
+ ToHexString (Arg0, Local0)
+ ToBuffer (Local0, Local0)
+ Local1 = (SizeOf (Local0) - One)
+ Local2 = Zero
+ While ((Local2 < Local1))
+ {
+ DBGB = DerefOf (Local0 [Local2])
+ Local2++
+ }
+
+ DBGB = 0x0A
+ }
+ }

[snip]

+ Processor (C000, 0x00, 0x00000000, 0x00)
+ {
+ Method (_STA, 0, Serialized) // _STA: Status
+ {
+ Return (CSTA (Zero))
+ }
+
+ Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry
+ {
+ 0x00, 0x08, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00 // ........
+ })
+ Method (_OST, 3, Serialized) // _OST: OSPM Status Indication
+ {
+ COST (Zero, Arg0, Arg1, Arg2)
+ }
+ }
+
+ Processor (C001, 0x01, 0x00000000, 0x00)
+ {
+ Method (_STA, 0, Serialized) // _STA: Status
+ {
+ Return (CSTA (One))
+ }
+
+ Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry
+ {
+ 0x00, 0x08, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00 // ........
+ })
+ Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9
+ {
+ CEJ0 (One)
+ }
+
+ Method (_OST, 3, Serialized) // _OST: OSPM Status Indication
+ {
+ COST (One, Arg0, Arg1, Arg2)
+ }
+ }

[snip]

+ Processor (C035, 0x35, 0x00000000, 0x00)
+ {
+ Method (_STA, 0, Serialized) // _STA: Status
+ {
+ Return (CSTA (0x35))
+ }
+
+ Name (_MAT, Buffer (0x08) // _MAT: Multiple APIC Table Entry
+ {
+ 0x00, 0x08, 0x35, 0x6A, 0x01, 0x00, 0x00, 0x00 // ..5j....
+ })
+ Method (_EJ0, 1, NotSerialized) // _EJx: Eject Device, x=0-9
+ {
+ CEJ0 (0x35)
+ }
+
+ Method (_OST, 3, Serialized) // _OST: OSPM Status Indication
+ {
+ COST (0x35, Arg0, Arg1, Arg2)
+ }
+ }

...

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231023094635.1588282-14-zhao1.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

7ee18dce23-Oct-2023 Zhao Liu <zhao1.liu@intel.com>

tests: bios-tables-test: Add test for smbios type4 thread count

This tests the commit 7298fd7de5551 ("hw/smbios: Fix thread count in
type4").

In smbios_build_type_4_table() (hw/smbios/smbios.c), if

tests: bios-tables-test: Add test for smbios type4 thread count

This tests the commit 7298fd7de5551 ("hw/smbios: Fix thread count in
type4").

In smbios_build_type_4_table() (hw/smbios/smbios.c), if the number of
threads in the socket is not more than 255, then smbios type4 table
encodes threads per socket into the thread count field.

So for the topology in this case, there're the following considerations:
1. threads per socket should be not more than 255 to ensure we could
cover the thread count field.
2. The original bug was that threads per socket was miscalculated, so
now we should configure as many topology levels as possible (multiple
sockets & dies, no module since x86 hasn't supported it) to cover
more general topology scenarios, to ensure that the threads per
socket encoded in the thread count field is correct.
3. For the more general topology, we should also add "cpus" (presented
threads for machine) and "maxcpus" (total threads for machine) to
make sure that configuring unpluged CPUs in smp (cpus < maxcpus)
does not affect the correctness of threads per socket for thread
count field.

Based on these considerations, select the topology as the follow:

-smp cpus=15,maxcpus=54,sockets=2,dies=3,cores=3,threads=3

The expected thread count = threads per socket = threads (3) * cores (3)
* dies (3) = 27.

Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231023094635.1588282-13-zhao1.liu@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

show more ...

12345678910>>...50