History log of /openbmc/qemu/system/ (Results 176 – 200 of 233)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
58b1057003-Jan-2024 Steve Sistare <steven.sistare@oracle.com>

migration: preserve suspended for snapshot

Restoring a snapshot can break a suspended guest. Snapshots suffer from
the same suspended-state issues that affect live migration, plus they must
handle

migration: preserve suspended for snapshot

Restoring a snapshot can break a suspended guest. Snapshots suffer from
the same suspended-state issues that affect live migration, plus they must
handle an additional problematic scenario, which is that a running vm must
remain running if it loads a suspended snapshot.

To save, the existing vm_stop call now completely stops the suspended
state. Finish with vm_resume to leave the vm in the state it had prior
to the save, correctly restoring the suspended state.

To load, if the snapshot is not suspended, then vm_stop + vm_resume
correctly handles all states, and leaves the vm in the state it had prior
to the load. However, if the snapshot is suspended, restoration is
trickier. First, call vm_resume to restore the state to suspended so the
current state matches the saved state. Then, if the pre-load state is
running, call wakeup to resume running.

Prior to these changes, the vm_stop to RUN_STATE_SAVE_VM and
RUN_STATE_RESTORE_VM did not change runstate if the current state was
suspended, but now it does, so allow these transitions.

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

show more ...

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

cpus: vm_resume

Define the vm_resume helper, for use in subsequent patches.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.ker

cpus: vm_resume

Define the vm_resume helper, for use in subsequent patches.

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

show more ...

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

cpus: stop vm in suspended runstate

Currently, a vm in the suspended state is not completely stopped. The VCPUs
have been paused, but the cpu clock still runs, and runstate notifiers for
the transi

cpus: stop vm in suspended runstate

Currently, a vm in the suspended state is not completely stopped. The VCPUs
have been paused, but the cpu clock still runs, and runstate notifiers for
the transition to stopped have not been called. This causes problems for
live migration. Stale cpu timers_state is saved to the migration stream,
causing time errors in the guest when it wakes from suspend, and state that
would have been modified by runstate notifiers is wrong.

Modify vm_stop to completely stop the vm if the current state is suspended,
transition to RUN_STATE_PAUSED, and remember that the machine was suspended.
Modify vm_start to restore the suspended state.

This affects all callers of vm_stop and vm_start, notably, the qapi stop and
cont commands:

old behavior:
RUN_STATE_SUSPENDED --> stop --> RUN_STATE_SUSPENDED

new behavior:
RUN_STATE_SUSPENDED --> stop --> RUN_STATE_PAUSED
RUN_STATE_PAUSED --> cont --> RUN_STATE_SUSPENDED

For example:

(qemu) info status
VM status: paused (suspended)

(qemu) stop
(qemu) info status
VM status: paused

(qemu) system_wakeup
Error: Unable to wake up: guest is not in suspended state

(qemu) cont
(qemu) info status
VM status: paused (suspended)

(qemu) system_wakeup
(qemu) info status
VM status: running

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

show more ...

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

cpus: vm_was_suspended

Add a state variable to remember if a vm previously transitioned into a
suspended state.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peter

cpus: vm_was_suspended

Add a state variable to remember if a vm previously transitioned into a
suspended state.

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

show more ...


/openbmc/qemu/.mailmap
/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/kvm/trace-events
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/export/export.c
/openbmc/qemu/block/export/vhost-user-blk-server.c
/openbmc/qemu/block/graph-lock.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/monitor/bitmap-qmp-cmds.c
/openbmc/qemu/block/monitor/block-hmp-cmds.c
/openbmc/qemu/block/qapi-sysemu.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/write-threshold.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/docs/devel/multiple-iothreads.txt
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.h
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/display/virtio-gpu-base.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vdpa-dev.c
/openbmc/qemu/hw/virtio/vhost-backend.c
/openbmc/qemu/hw/virtio/vhost-user-rng.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/include/block/aio-wait.h
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block-common.h
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/graph-lock.h
/openbmc/qemu/include/block/snapshot.h
/openbmc/qemu/include/hw/loongarch/virt.h
/openbmc/qemu/include/hw/qdev-properties-system.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/virtio/vhost-backend.h
/openbmc/qemu/include/hw/virtio/vhost-vdpa.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/qapi/string-output-visitor.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/sysemu/runstate.h
/openbmc/qemu/include/ui/rect.h
/openbmc/qemu/job.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/dirtyrate.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qapi/virtio.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/replay/replay-debugging.c
/openbmc/qemu/scripts/block-coroutine-wrapper.py
cpus.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/tests/qemu-iotests/202
/openbmc/qemu/tests/qemu-iotests/203
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/tsan/suppressions.tsan
/openbmc/qemu/tests/unit/test-aio.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
/openbmc/qemu/tests/unit/test-block-iothread.c
/openbmc/qemu/tests/unit/test-blockjob.c
/openbmc/qemu/tests/unit/test-replication.c
/openbmc/qemu/trace/meson.build
/openbmc/qemu/util/async.c
/openbmc/qemu/util/vhost-user-server.c
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 ...


/openbmc/qemu/accel/tcg/meson.build
/openbmc/qemu/backends/meson.build
/openbmc/qemu/block/meson.build
/openbmc/qemu/bsd-user/meson.build
/openbmc/qemu/chardev/meson.build
/openbmc/qemu/configure
/openbmc/qemu/contrib/ivshmem-client/meson.build
/openbmc/qemu/contrib/ivshmem-server/meson.build
/openbmc/qemu/contrib/vhost-user-blk/meson.build
/openbmc/qemu/contrib/vhost-user-input/meson.build
/openbmc/qemu/contrib/vhost-user-scsi/meson.build
/openbmc/qemu/docs/devel/build-system.rst
/openbmc/qemu/docs/devel/kconfig.rst
/openbmc/qemu/fsdev/meson.build
/openbmc/qemu/gdbstub/meson.build
/openbmc/qemu/hw/9pfs/meson.build
/openbmc/qemu/hw/acpi/meson.build
/openbmc/qemu/hw/cxl/meson.build
/openbmc/qemu/hw/display/meson.build
/openbmc/qemu/hw/mem/meson.build
/openbmc/qemu/hw/mips/meson.build
/openbmc/qemu/hw/net/meson.build
/openbmc/qemu/hw/pci-bridge/meson.build
/openbmc/qemu/hw/pci/meson.build
/openbmc/qemu/hw/ppc/meson.build
/openbmc/qemu/hw/remote/meson.build
/openbmc/qemu/hw/smbios/meson.build
/openbmc/qemu/hw/usb/meson.build
/openbmc/qemu/hw/virtio/meson.build
/openbmc/qemu/meson.build
/openbmc/qemu/net/can/meson.build
/openbmc/qemu/net/meson.build
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/qga/meson.build
/openbmc/qemu/scsi/meson.build
/openbmc/qemu/storage-daemon/meson.build
meson.build
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/mips/meson.build
/openbmc/qemu/tcg/meson.build
/openbmc/qemu/tests/fp/meson.build
/openbmc/qemu/tests/meson.build
/openbmc/qemu/tests/plugin/meson.build
/openbmc/qemu/tests/qemu-iotests/meson.build
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/ui/dbus-display1.xml
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/meson.build
53e8868d26-May-2023 Paolo Bonzini <pbonzini@redhat.com>

meson: remove OS definitions from config_targetos

CONFIG_DARWIN, CONFIG_LINUX and CONFIG_BSD are used in some rules, but
only CONFIG_LINUX has substantial use. Convert them all to if...endif.

Sign

meson: remove OS definitions from config_targetos

CONFIG_DARWIN, CONFIG_LINUX and CONFIG_BSD are used in some rules, but
only CONFIG_LINUX has substantial use. Convert them all to if...endif.

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

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/Makefile
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/tcg/meson.build
/openbmc/qemu/backends/Kconfig
/openbmc/qemu/backends/iommufd.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/backends/trace-events
/openbmc/qemu/block/meson.build
/openbmc/qemu/configure
/openbmc/qemu/docs/devel/index-internals.rst
/openbmc/qemu/docs/devel/vfio-iommufd.rst
/openbmc/qemu/docs/system/arm/xlnx-versal-virt.rst
/openbmc/qemu/docs/system/invocation.rst
/openbmc/qemu/docs/system/qemu-manpage.rst
/openbmc/qemu/fsdev/meson.build
/openbmc/qemu/hw/9pfs/meson.build
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/display/meson.build
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/i386/sgx-stub.c
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/misc/imx7_snvs.c
/openbmc/qemu/hw/misc/mips_itu.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/meson.build
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_pci_vfio.c
/openbmc/qemu/hw/s390x/Kconfig
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/usb/meson.build
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/helpers.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/misc/imx7_snvs.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cframe-reg.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cfu.h
/openbmc/qemu/include/hw/misc/xlnx-versal-crl.h
/openbmc/qemu/include/hw/nvram/xlnx-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-versal-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-zynqmp-efuse.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/qemu/chardev_open.h
/openbmc/qemu/include/sysemu/iommufd.h
/openbmc/qemu/include/sysemu/qtest.h
/openbmc/qemu/meson.build
/openbmc/qemu/meson_options.txt
/openbmc/qemu/net/can/meson.build
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qga/meson.build
/openbmc/qemu/qom/object.c
/openbmc/qemu/scripts/analyze-migration.py
/openbmc/qemu/scsi/meson.build
meson.build
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/tcg/op_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/tcg/cc_helper.c
/openbmc/qemu/target/i386/tcg/decode-new.c.inc
/openbmc/qemu/target/i386/tcg/decode-new.h
/openbmc/qemu/target/i386/tcg/emit.c.inc
/openbmc/qemu/target/i386/tcg/excp_helper.c
/openbmc/qemu/target/i386/tcg/fpu_helper.c
/openbmc/qemu/target/i386/tcg/helper-tcg.h
/openbmc/qemu/target/i386/tcg/int_helper.c
/openbmc/qemu/target/i386/tcg/misc_helper.c
/openbmc/qemu/target/i386/tcg/seg_helper.c
/openbmc/qemu/target/i386/tcg/translate.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/tests/bench/meson.build
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/npcm7xx_pwm-test.c
/openbmc/qemu/tests/tcg/i386/Makefile.target
/openbmc/qemu/tests/tcg/i386/test-flags.c
/openbmc/qemu/tests/unit/test-io-task.c
/openbmc/qemu/tests/unit/test-qmp-event.c
/openbmc/qemu/ui/meson.build
/openbmc/qemu/util/chardev_open.c
/openbmc/qemu/util/meson.build
72ecb4a920-Dec-2023 Richard Henderson <richard.henderson@linaro.org>

system: Constify VMState

Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

system: Constify VMState

Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-68-richard.henderson@linaro.org>

show more ...


/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/accel/kvm/trace-events
/openbmc/qemu/audio/audio.c
/openbmc/qemu/backends/dbus-vmstate.c
/openbmc/qemu/backends/tpm/tpm_emulator.c
/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/copy-before-write.c
/openbmc/qemu/block/export/export.c
/openbmc/qemu/block/export/vhost-user-blk-server.c
/openbmc/qemu/block/graph-lock.c
/openbmc/qemu/block/io.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/monitor/bitmap-qmp-cmds.c
/openbmc/qemu/block/monitor/block-hmp-cmds.c
/openbmc/qemu/block/qapi-sysemu.c
/openbmc/qemu/block/qapi.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/raw-format.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/block/write-threshold.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/cpu-target.c
/openbmc/qemu/docs/devel/multiple-iothreads.txt
/openbmc/qemu/docs/tools/qemu-img.rst
/openbmc/qemu/hw/9pfs/virtio-9p-device.c
/openbmc/qemu/hw/acpi/cpu.c
/openbmc/qemu/hw/acpi/cpu_hotplug.c
/openbmc/qemu/hw/acpi/erst.c
/openbmc/qemu/hw/acpi/generic_event_device.c
/openbmc/qemu/hw/acpi/ich9.c
/openbmc/qemu/hw/acpi/ich9_tco.c
/openbmc/qemu/hw/acpi/memory_hotplug.c
/openbmc/qemu/hw/acpi/pcihp.c
/openbmc/qemu/hw/acpi/piix4.c
/openbmc/qemu/hw/acpi/vmgenid.c
/openbmc/qemu/hw/adc/aspeed_adc.c
/openbmc/qemu/hw/adc/max111x.c
/openbmc/qemu/hw/adc/npcm7xx_adc.c
/openbmc/qemu/hw/adc/stm32f2xx_adc.c
/openbmc/qemu/hw/adc/zynq-xadc.c
/openbmc/qemu/hw/arm/armsse.c
/openbmc/qemu/hw/arm/armv7m.c
/openbmc/qemu/hw/arm/highbank.c
/openbmc/qemu/hw/arm/integratorcp.c
/openbmc/qemu/hw/arm/musicpal.c
/openbmc/qemu/hw/arm/pxa2xx.c
/openbmc/qemu/hw/arm/pxa2xx_gpio.c
/openbmc/qemu/hw/arm/pxa2xx_pic.c
/openbmc/qemu/hw/arm/smmuv3.c
/openbmc/qemu/hw/arm/spitz.c
/openbmc/qemu/hw/arm/stellaris.c
/openbmc/qemu/hw/arm/strongarm.c
/openbmc/qemu/hw/arm/versatilepb.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/z2.c
/openbmc/qemu/hw/audio/ac97.c
/openbmc/qemu/hw/audio/asc.c
/openbmc/qemu/hw/audio/cs4231.c
/openbmc/qemu/hw/audio/cs4231a.c
/openbmc/qemu/hw/audio/es1370.c
/openbmc/qemu/hw/audio/gus.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/intel-hda.c
/openbmc/qemu/hw/audio/lm4549.c
/openbmc/qemu/hw/audio/marvell_88w8618.c
/openbmc/qemu/hw/audio/pcspk.c
/openbmc/qemu/hw/audio/pl041.c
/openbmc/qemu/hw/audio/sb16.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/audio/wm8750.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.c
/openbmc/qemu/hw/block/dataplane/virtio-blk.h
/openbmc/qemu/hw/block/dataplane/xen-block.c
/openbmc/qemu/hw/block/ecc.c
/openbmc/qemu/hw/block/fdc-isa.c
/openbmc/qemu/hw/block/fdc-sysbus.c
/openbmc/qemu/hw/block/fdc.c
/openbmc/qemu/hw/block/m25p80.c
/openbmc/qemu/hw/block/nand.c
/openbmc/qemu/hw/block/onenand.c
/openbmc/qemu/hw/block/pflash_cfi01.c
/openbmc/qemu/hw/block/swim.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/char/bcm2835_aux.c
/openbmc/qemu/hw/char/cadence_uart.c
/openbmc/qemu/hw/char/cmsdk-apb-uart.c
/openbmc/qemu/hw/char/digic-uart.c
/openbmc/qemu/hw/char/escc.c
/openbmc/qemu/hw/char/exynos4210_uart.c
/openbmc/qemu/hw/char/goldfish_tty.c
/openbmc/qemu/hw/char/ibex_uart.c
/openbmc/qemu/hw/char/imx_serial.c
/openbmc/qemu/hw/char/ipoctal232.c
/openbmc/qemu/hw/char/mchp_pfsoc_mmuart.c
/openbmc/qemu/hw/char/nrf51_uart.c
/openbmc/qemu/hw/char/parallel.c
/openbmc/qemu/hw/char/pl011.c
/openbmc/qemu/hw/char/renesas_sci.c
/openbmc/qemu/hw/char/sclpconsole-lm.c
/openbmc/qemu/hw/char/sclpconsole.c
/openbmc/qemu/hw/char/serial-isa.c
/openbmc/qemu/hw/char/serial-pci-multi.c
/openbmc/qemu/hw/char/serial-pci.c
/openbmc/qemu/hw/char/serial.c
/openbmc/qemu/hw/char/sifive_uart.c
/openbmc/qemu/hw/char/spapr_vty.c
/openbmc/qemu/hw/char/virtio-serial-bus.c
/openbmc/qemu/hw/core/clock-vmstate.c
/openbmc/qemu/hw/core/or-irq.c
/openbmc/qemu/hw/core/ptimer.c
/openbmc/qemu/hw/core/qdev-properties-system.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/display/artist.c
/openbmc/qemu/hw/display/bcm2835_fb.c
/openbmc/qemu/hw/display/bochs-display.c
/openbmc/qemu/hw/display/cg3.c
/openbmc/qemu/hw/display/cirrus_vga.c
/openbmc/qemu/hw/display/dpcd.c
/openbmc/qemu/hw/display/exynos4210_fimd.c
/openbmc/qemu/hw/display/g364fb.c
/openbmc/qemu/hw/display/i2c-ddc.c
/openbmc/qemu/hw/display/jazz_led.c
/openbmc/qemu/hw/display/macfb.c
/openbmc/qemu/hw/display/pl110.c
/openbmc/qemu/hw/display/pxa2xx_lcd.c
/openbmc/qemu/hw/display/qxl.c
/openbmc/qemu/hw/display/ramfb-standalone.c
/openbmc/qemu/hw/display/ramfb.c
/openbmc/qemu/hw/display/sii9022.c
/openbmc/qemu/hw/display/sm501.c
/openbmc/qemu/hw/display/ssd0303.c
/openbmc/qemu/hw/display/ssd0323.c
/openbmc/qemu/hw/display/tcx.c
/openbmc/qemu/hw/display/vga-pci.c
/openbmc/qemu/hw/display/vga.c
/openbmc/qemu/hw/display/virtio-gpu-base.c
/openbmc/qemu/hw/display/virtio-gpu.c
/openbmc/qemu/hw/display/virtio-vga.c
/openbmc/qemu/hw/display/vmware_vga.c
/openbmc/qemu/hw/display/xlnx_dp.c
/openbmc/qemu/hw/dma/bcm2835_dma.c
/openbmc/qemu/hw/dma/i82374.c
/openbmc/qemu/hw/dma/i8257.c
/openbmc/qemu/hw/dma/pl080.c
/openbmc/qemu/hw/dma/pl330.c
/openbmc/qemu/hw/dma/pxa2xx_dma.c
/openbmc/qemu/hw/dma/rc4030.c
/openbmc/qemu/hw/dma/sparc32_dma.c
/openbmc/qemu/hw/dma/xlnx-zdma.c
/openbmc/qemu/hw/dma/xlnx-zynq-devcfg.c
/openbmc/qemu/hw/dma/xlnx_csu_dma.c
/openbmc/qemu/hw/dma/xlnx_dpdma.c
/openbmc/qemu/hw/gpio/aspeed_gpio.c
/openbmc/qemu/hw/gpio/bcm2835_gpio.c
/openbmc/qemu/hw/gpio/gpio_key.c
/openbmc/qemu/hw/gpio/imx_gpio.c
/openbmc/qemu/hw/gpio/max7310.c
/openbmc/qemu/hw/gpio/mpc8xxx.c
/openbmc/qemu/hw/gpio/npcm7xx_gpio.c
/openbmc/qemu/hw/gpio/nrf51_gpio.c
/openbmc/qemu/hw/gpio/pl061.c
/openbmc/qemu/hw/gpio/sifive_gpio.c
/openbmc/qemu/hw/gpio/zaurus.c
/openbmc/qemu/hw/hyperv/vmbus.c
/openbmc/qemu/hw/i2c/allwinner-i2c.c
/openbmc/qemu/hw/i2c/aspeed_i2c.c
/openbmc/qemu/hw/i2c/core.c
/openbmc/qemu/hw/i2c/exynos4210_i2c.c
/openbmc/qemu/hw/i2c/imx_i2c.c
/openbmc/qemu/hw/i2c/microbit_i2c.c
/openbmc/qemu/hw/i2c/mpc_i2c.c
/openbmc/qemu/hw/i2c/npcm7xx_smbus.c
/openbmc/qemu/hw/i2c/pm_smbus.c
/openbmc/qemu/hw/i2c/pmbus_device.c
/openbmc/qemu/hw/i2c/smbus_eeprom.c
/openbmc/qemu/hw/i2c/smbus_ich9.c
/openbmc/qemu/hw/i2c/smbus_slave.c
/openbmc/qemu/hw/i386/acpi-build.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/i386/kvm/clock.c
/openbmc/qemu/hw/i386/kvm/xen_evtchn.c
/openbmc/qemu/hw/i386/kvm/xen_gnttab.c
/openbmc/qemu/hw/i386/kvm/xen_overlay.c
/openbmc/qemu/hw/i386/kvm/xen_xenstore.c
/openbmc/qemu/hw/i386/kvmvapic.c
/openbmc/qemu/hw/i386/port92.c
/openbmc/qemu/hw/i386/vmmouse.c
/openbmc/qemu/hw/i386/xen/xen_platform.c
/openbmc/qemu/hw/i386/xen/xen_pvdevice.c
/openbmc/qemu/hw/ide/ahci-allwinner.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/ich.c
/openbmc/qemu/hw/ide/isa.c
/openbmc/qemu/hw/ide/macio.c
/openbmc/qemu/hw/ide/microdrive.c
/openbmc/qemu/hw/ide/mmio.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/input/adb-kbd.c
/openbmc/qemu/hw/input/adb-mouse.c
/openbmc/qemu/hw/input/adb.c
/openbmc/qemu/hw/input/ads7846.c
/openbmc/qemu/hw/input/hid.c
/openbmc/qemu/hw/input/lasips2.c
/openbmc/qemu/hw/input/lm832x.c
/openbmc/qemu/hw/input/pckbd.c
/openbmc/qemu/hw/input/pl050.c
/openbmc/qemu/hw/input/ps2.c
/openbmc/qemu/hw/input/pxa2xx_keypad.c
/openbmc/qemu/hw/input/stellaris_gamepad.c
/openbmc/qemu/hw/input/tsc2005.c
/openbmc/qemu/hw/input/tsc210x.c
/openbmc/qemu/hw/input/virtio-input.c
/openbmc/qemu/hw/intc/allwinner-a10-pic.c
/openbmc/qemu/hw/intc/apic_common.c
/openbmc/qemu/hw/intc/arm_gic_common.c
/openbmc/qemu/hw/intc/arm_gicv3_common.c
/openbmc/qemu/hw/intc/arm_gicv3_its_common.c
/openbmc/qemu/hw/intc/armv7m_nvic.c
/openbmc/qemu/hw/intc/aspeed_vic.c
/openbmc/qemu/hw/intc/bcm2835_ic.c
/openbmc/qemu/hw/intc/bcm2836_control.c
/openbmc/qemu/hw/intc/exynos4210_combiner.c
/openbmc/qemu/hw/intc/goldfish_pic.c
/openbmc/qemu/hw/intc/heathrow_pic.c
/openbmc/qemu/hw/intc/i8259_common.c
/openbmc/qemu/hw/intc/imx_avic.c
/openbmc/qemu/hw/intc/imx_gpcv2.c
/openbmc/qemu/hw/intc/ioapic_common.c
/openbmc/qemu/hw/intc/loongarch_extioi.c
/openbmc/qemu/hw/intc/loongarch_ipi.c
/openbmc/qemu/hw/intc/loongarch_pch_pic.c
/openbmc/qemu/hw/intc/m68k_irqc.c
/openbmc/qemu/hw/intc/nios2_vic.c
/openbmc/qemu/hw/intc/ompic.c
/openbmc/qemu/hw/intc/openpic.c
/openbmc/qemu/hw/intc/pl190.c
/openbmc/qemu/hw/intc/ppc-uic.c
/openbmc/qemu/hw/intc/riscv_aclint.c
/openbmc/qemu/hw/intc/riscv_aplic.c
/openbmc/qemu/hw/intc/riscv_imsic.c
/openbmc/qemu/hw/intc/rx_icu.c
/openbmc/qemu/hw/intc/s390_flic.c
/openbmc/qemu/hw/intc/s390_flic_kvm.c
/openbmc/qemu/hw/intc/sifive_plic.c
/openbmc/qemu/hw/intc/slavio_intctl.c
/openbmc/qemu/hw/intc/spapr_xive.c
/openbmc/qemu/hw/intc/xics.c
/openbmc/qemu/hw/intc/xive.c
/openbmc/qemu/hw/intc/xlnx-pmu-iomod-intc.c
/openbmc/qemu/hw/intc/xlnx-zynqmp-ipi.c
/openbmc/qemu/hw/ipack/ipack.c
/openbmc/qemu/hw/ipack/tpci200.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_extern.c
/openbmc/qemu/hw/ipmi/ipmi_bmc_sim.c
/openbmc/qemu/hw/ipmi/ipmi_bt.c
/openbmc/qemu/hw/ipmi/ipmi_kcs.c
/openbmc/qemu/hw/ipmi/isa_ipmi_bt.c
/openbmc/qemu/hw/ipmi/isa_ipmi_kcs.c
/openbmc/qemu/hw/ipmi/pci_ipmi_bt.c
/openbmc/qemu/hw/ipmi/pci_ipmi_kcs.c
/openbmc/qemu/hw/ipmi/smbus_ipmi.c
/openbmc/qemu/hw/isa/apm.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/isa/lpc_ich9.c
/openbmc/qemu/hw/isa/pc87312.c
/openbmc/qemu/hw/isa/piix.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/loongarch/acpi-build.c
/openbmc/qemu/hw/m68k/next-cube.c
/openbmc/qemu/hw/m68k/q800-glue.c
/openbmc/qemu/hw/misc/a9scu.c
/openbmc/qemu/hw/misc/allwinner-a10-ccm.c
/openbmc/qemu/hw/misc/allwinner-a10-dramc.c
/openbmc/qemu/hw/misc/allwinner-cpucfg.c
/openbmc/qemu/hw/misc/allwinner-h3-ccu.c
/openbmc/qemu/hw/misc/allwinner-h3-dramc.c
/openbmc/qemu/hw/misc/allwinner-h3-sysctrl.c
/openbmc/qemu/hw/misc/allwinner-r40-ccu.c
/openbmc/qemu/hw/misc/allwinner-r40-dramc.c
/openbmc/qemu/hw/misc/allwinner-sid.c
/openbmc/qemu/hw/misc/allwinner-sramc.c
/openbmc/qemu/hw/misc/arm_l2x0.c
/openbmc/qemu/hw/misc/arm_sysctl.c
/openbmc/qemu/hw/misc/armsse-cpu-pwrctrl.c
/openbmc/qemu/hw/misc/armsse-mhu.c
/openbmc/qemu/hw/misc/aspeed_hace.c
/openbmc/qemu/hw/misc/aspeed_i3c.c
/openbmc/qemu/hw/misc/aspeed_lpc.c
/openbmc/qemu/hw/misc/aspeed_sbc.c
/openbmc/qemu/hw/misc/aspeed_scu.c
/openbmc/qemu/hw/misc/aspeed_sdmc.c
/openbmc/qemu/hw/misc/aspeed_xdma.c
/openbmc/qemu/hw/misc/axp2xx.c
/openbmc/qemu/hw/misc/bcm2835_cprman.c
/openbmc/qemu/hw/misc/bcm2835_mbox.c
/openbmc/qemu/hw/misc/bcm2835_mphi.c
/openbmc/qemu/hw/misc/bcm2835_powermgt.c
/openbmc/qemu/hw/misc/bcm2835_property.c
/openbmc/qemu/hw/misc/bcm2835_rng.c
/openbmc/qemu/hw/misc/bcm2835_thermal.c
/openbmc/qemu/hw/misc/djmemc.c
/openbmc/qemu/hw/misc/eccmemctl.c
/openbmc/qemu/hw/misc/exynos4210_clk.c
/openbmc/qemu/hw/misc/exynos4210_pmu.c
/openbmc/qemu/hw/misc/exynos4210_rng.c
/openbmc/qemu/hw/misc/imx25_ccm.c
/openbmc/qemu/hw/misc/imx31_ccm.c
/openbmc/qemu/hw/misc/imx6_ccm.c
/openbmc/qemu/hw/misc/imx6_src.c
/openbmc/qemu/hw/misc/imx6ul_ccm.c
/openbmc/qemu/hw/misc/imx7_ccm.c
/openbmc/qemu/hw/misc/imx7_snvs.c
/openbmc/qemu/hw/misc/imx7_src.c
/openbmc/qemu/hw/misc/imx_rngc.c
/openbmc/qemu/hw/misc/iosb.c
/openbmc/qemu/hw/misc/iotkit-secctl.c
/openbmc/qemu/hw/misc/iotkit-sysctl.c
/openbmc/qemu/hw/misc/ivshmem.c
/openbmc/qemu/hw/misc/lasi.c
/openbmc/qemu/hw/misc/led.c
/openbmc/qemu/hw/misc/mac_via.c
/openbmc/qemu/hw/misc/macio/cuda.c
/openbmc/qemu/hw/misc/macio/gpio.c
/openbmc/qemu/hw/misc/macio/mac_dbdma.c
/openbmc/qemu/hw/misc/macio/macio.c
/openbmc/qemu/hw/misc/macio/pmu.c
/openbmc/qemu/hw/misc/mips_cmgcr.c
/openbmc/qemu/hw/misc/mips_cpc.c
/openbmc/qemu/hw/misc/mos6522.c
/openbmc/qemu/hw/misc/mps2-fpgaio.c
/openbmc/qemu/hw/misc/mps2-scc.c
/openbmc/qemu/hw/misc/msf2-sysreg.c
/openbmc/qemu/hw/misc/mst_fpga.c
/openbmc/qemu/hw/misc/npcm7xx_clk.c
/openbmc/qemu/hw/misc/npcm7xx_gcr.c
/openbmc/qemu/hw/misc/npcm7xx_mft.c
/openbmc/qemu/hw/misc/npcm7xx_pwm.c
/openbmc/qemu/hw/misc/npcm7xx_rng.c
/openbmc/qemu/hw/misc/nrf51_rng.c
/openbmc/qemu/hw/misc/pca9552.c
/openbmc/qemu/hw/misc/pvpanic-pci.c
/openbmc/qemu/hw/misc/slavio_misc.c
/openbmc/qemu/hw/misc/stm32f4xx_exti.c
/openbmc/qemu/hw/misc/stm32f4xx_syscfg.c
/openbmc/qemu/hw/misc/tz-mpc.c
/openbmc/qemu/hw/misc/tz-msc.c
/openbmc/qemu/hw/misc/tz-ppc.c
/openbmc/qemu/hw/misc/virt_ctrl.c
/openbmc/qemu/hw/misc/vmcoreinfo.c
/openbmc/qemu/hw/misc/xlnx-versal-cframe-reg.c
/openbmc/qemu/hw/misc/xlnx-versal-cfu.c
/openbmc/qemu/hw/misc/xlnx-versal-crl.c
/openbmc/qemu/hw/misc/xlnx-versal-pmc-iou-slcr.c
/openbmc/qemu/hw/misc/xlnx-versal-trng.c
/openbmc/qemu/hw/misc/xlnx-versal-xramc.c
/openbmc/qemu/hw/misc/xlnx-zynqmp-apu-ctrl.c
/openbmc/qemu/hw/misc/xlnx-zynqmp-crf.c
/openbmc/qemu/hw/misc/zynq_slcr.c
/openbmc/qemu/hw/net/allwinner-sun8i-emac.c
/openbmc/qemu/hw/net/allwinner_emac.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/can/can_kvaser_pci.c
/openbmc/qemu/hw/net/can/can_mioe3680_pci.c
/openbmc/qemu/hw/net/can/can_pcm3680_pci.c
/openbmc/qemu/hw/net/can/can_sja1000.c
/openbmc/qemu/hw/net/can/ctucan_core.c
/openbmc/qemu/hw/net/can/ctucan_pci.c
/openbmc/qemu/hw/net/can/xlnx-versal-canfd.c
/openbmc/qemu/hw/net/can/xlnx-zynqmp-can.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/igb.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/lance.c
/openbmc/qemu/hw/net/lasi_i82596.c
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/net/msf2-emac.c
/openbmc/qemu/hw/net/mv88w8618_eth.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/net/ne2000-pci.c
/openbmc/qemu/hw/net/ne2000.c
/openbmc/qemu/hw/net/npcm7xx_emc.c
/openbmc/qemu/hw/net/pcnet-pci.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/smc91c111.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/net/stellaris_enet.c
/openbmc/qemu/hw/net/sungem.c
/openbmc/qemu/hw/net/sunhme.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/net/xgmac.c
/openbmc/qemu/hw/nvram/ds1225y.c
/openbmc/qemu/hw/nvram/eeprom93xx.c
/openbmc/qemu/hw/nvram/fw_cfg.c
/openbmc/qemu/hw/nvram/mac_nvram.c
/openbmc/qemu/hw/nvram/npcm7xx_otp.c
/openbmc/qemu/hw/nvram/nrf51_nvm.c
/openbmc/qemu/hw/nvram/spapr_nvram.c
/openbmc/qemu/hw/nvram/xlnx-bbram.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/openbmc/qemu/hw/nvram/xlnx-zynqmp-efuse.c
/openbmc/qemu/hw/openrisc/cputimer.c
/openbmc/qemu/hw/pci-bridge/gen_pcie_root_port.c
/openbmc/qemu/hw/pci-bridge/i82801b11.c
/openbmc/qemu/hw/pci-bridge/ioh3420.c
/openbmc/qemu/hw/pci-bridge/pci_bridge_dev.c
/openbmc/qemu/hw/pci-bridge/pcie_pci_bridge.c
/openbmc/qemu/hw/pci-bridge/xio3130_downstream.c
/openbmc/qemu/hw/pci-bridge/xio3130_upstream.c
/openbmc/qemu/hw/pci-host/astro.c
/openbmc/qemu/hw/pci-host/bonito.c
/openbmc/qemu/hw/pci-host/designware.c
/openbmc/qemu/hw/pci-host/dino.c
/openbmc/qemu/hw/pci-host/gpex.c
/openbmc/qemu/hw/pci-host/gt64120.c
/openbmc/qemu/hw/pci-host/i440fx.c
/openbmc/qemu/hw/pci-host/ppce500.c
/openbmc/qemu/hw/pci-host/q35.c
/openbmc/qemu/hw/pci-host/raven.c
/openbmc/qemu/hw/pci-host/versatile.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pci.c
/openbmc/qemu/hw/pci/pci_host.c
/openbmc/qemu/hw/pci/pcie_aer.c
/openbmc/qemu/hw/pci/shpc.c
/openbmc/qemu/hw/ppc/ppc.c
/openbmc/qemu/hw/ppc/ppc4xx_pci.c
/openbmc/qemu/hw/ppc/prep_systemio.c
/openbmc/qemu/hw/ppc/rs6000_mc.c
/openbmc/qemu/hw/ppc/spapr.c
/openbmc/qemu/hw/ppc/spapr_caps.c
/openbmc/qemu/hw/ppc/spapr_cpu_core.c
/openbmc/qemu/hw/ppc/spapr_drc.c
/openbmc/qemu/hw/ppc/spapr_iommu.c
/openbmc/qemu/hw/ppc/spapr_nvdimm.c
/openbmc/qemu/hw/ppc/spapr_ovec.c
/openbmc/qemu/hw/ppc/spapr_pci.c
/openbmc/qemu/hw/ppc/spapr_rtc.c
/openbmc/qemu/hw/ppc/spapr_vio.c
/openbmc/qemu/hw/riscv/virt-acpi-build.c
/openbmc/qemu/hw/rtc/allwinner-rtc.c
/openbmc/qemu/hw/rtc/aspeed_rtc.c
/openbmc/qemu/hw/rtc/ds1338.c
/openbmc/qemu/hw/rtc/exynos4210_rtc.c
/openbmc/qemu/hw/rtc/goldfish_rtc.c
/openbmc/qemu/hw/rtc/ls7a_rtc.c
/openbmc/qemu/hw/rtc/m48t59.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/rtc/pl031.c
/openbmc/qemu/hw/rtc/twl92230.c
/openbmc/qemu/hw/rtc/xlnx-zynqmp-rtc.c
/openbmc/qemu/hw/s390x/ccw-device.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/event-facility.c
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/s390x/sclpquiesce.c
/openbmc/qemu/hw/s390x/virtio-ccw.c
/openbmc/qemu/hw/scsi/esp-pci.c
/openbmc/qemu/hw/scsi/esp.c
/openbmc/qemu/hw/scsi/lsi53c895a.c
/openbmc/qemu/hw/scsi/megasas.c
/openbmc/qemu/hw/scsi/mptsas.c
/openbmc/qemu/hw/scsi/scsi-bus.c
/openbmc/qemu/hw/scsi/scsi-disk.c
/openbmc/qemu/hw/scsi/spapr_vscsi.c
/openbmc/qemu/hw/scsi/vhost-scsi.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/scsi/virtio-scsi.c
/openbmc/qemu/hw/scsi/vmw_pvscsi.c
/openbmc/qemu/hw/sd/allwinner-sdhost.c
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/cadence_sdhci.c
/openbmc/qemu/hw/sd/npcm7xx_sdhci.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sensor/adm1266.c
/openbmc/qemu/hw/sensor/adm1272.c
/openbmc/qemu/hw/sensor/dps310.c
/openbmc/qemu/hw/sensor/emc141x.c
/openbmc/qemu/hw/sensor/lsm303dlhc_mag.c
/openbmc/qemu/hw/sensor/max31785.c
/openbmc/qemu/hw/sensor/max34451.c
/openbmc/qemu/hw/sensor/tmp105.c
/openbmc/qemu/hw/sensor/tmp421.c
/openbmc/qemu/hw/sparc/sun4m_iommu.c
/openbmc/qemu/hw/ssi/aspeed_smc.c
/openbmc/qemu/hw/ssi/ibex_spi_host.c
/openbmc/qemu/hw/ssi/imx_spi.c
/openbmc/qemu/hw/ssi/mss-spi.c
/openbmc/qemu/hw/ssi/npcm7xx_fiu.c
/openbmc/qemu/hw/ssi/npcm_pspi.c
/openbmc/qemu/hw/ssi/pl022.c
/openbmc/qemu/hw/ssi/ssi.c
/openbmc/qemu/hw/ssi/stm32f2xx_spi.c
/openbmc/qemu/hw/ssi/xilinx_spi.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/ssi/xlnx-versal-ospi.c
/openbmc/qemu/hw/timer/a9gtimer.c
/openbmc/qemu/hw/timer/allwinner-a10-pit.c
/openbmc/qemu/hw/timer/arm_mptimer.c
/openbmc/qemu/hw/timer/arm_timer.c
/openbmc/qemu/hw/timer/armv7m_systick.c
/openbmc/qemu/hw/timer/aspeed_timer.c
/openbmc/qemu/hw/timer/bcm2835_systmr.c
/openbmc/qemu/hw/timer/cadence_ttc.c
/openbmc/qemu/hw/timer/cmsdk-apb-dualtimer.c
/openbmc/qemu/hw/timer/cmsdk-apb-timer.c
/openbmc/qemu/hw/timer/digic-timer.c
/openbmc/qemu/hw/timer/etraxfs_timer.c
/openbmc/qemu/hw/timer/exynos4210_mct.c
/openbmc/qemu/hw/timer/exynos4210_pwm.c
/openbmc/qemu/hw/timer/hpet.c
/openbmc/qemu/hw/timer/i8254_common.c
/openbmc/qemu/hw/timer/ibex_timer.c
/openbmc/qemu/hw/timer/imx_epit.c
/openbmc/qemu/hw/timer/imx_gpt.c
/openbmc/qemu/hw/timer/mss-timer.c
/openbmc/qemu/hw/timer/npcm7xx_timer.c
/openbmc/qemu/hw/timer/nrf51_timer.c
/openbmc/qemu/hw/timer/pxa2xx_timer.c
/openbmc/qemu/hw/timer/renesas_cmt.c
/openbmc/qemu/hw/timer/renesas_tmr.c
/openbmc/qemu/hw/timer/sifive_pwm.c
/openbmc/qemu/hw/timer/slavio_timer.c
/openbmc/qemu/hw/timer/sse-counter.c
/openbmc/qemu/hw/timer/sse-timer.c
/openbmc/qemu/hw/timer/stellaris-gptm.c
/openbmc/qemu/hw/timer/stm32f2xx_timer.c
/openbmc/qemu/hw/tpm/tpm_crb.c
/openbmc/qemu/hw/tpm/tpm_spapr.c
/openbmc/qemu/hw/tpm/tpm_tis_common.c
/openbmc/qemu/hw/tpm/tpm_tis_i2c.c
/openbmc/qemu/hw/tpm/tpm_tis_isa.c
/openbmc/qemu/hw/tpm/tpm_tis_sysbus.c
/openbmc/qemu/hw/usb/bus.c
/openbmc/qemu/hw/usb/ccid-card-passthru.c
/openbmc/qemu/hw/usb/dev-hid.c
/openbmc/qemu/hw/usb/dev-hub.c
/openbmc/qemu/hw/usb/dev-mtp.c
/openbmc/qemu/hw/usb/dev-smartcard-reader.c
/openbmc/qemu/hw/usb/dev-storage.c
/openbmc/qemu/hw/usb/dev-uas.c
/openbmc/qemu/hw/usb/hcd-dwc2.c
/openbmc/qemu/hw/usb/hcd-dwc3.c
/openbmc/qemu/hw/usb/hcd-ehci-pci.c
/openbmc/qemu/hw/usb/hcd-ehci-sysbus.c
/openbmc/qemu/hw/usb/hcd-ehci.c
/openbmc/qemu/hw/usb/hcd-ohci-pci.c
/openbmc/qemu/hw/usb/hcd-ohci.c
/openbmc/qemu/hw/usb/hcd-uhci.c
/openbmc/qemu/hw/usb/hcd-xhci-pci.c
/openbmc/qemu/hw/usb/hcd-xhci-sysbus.c
/openbmc/qemu/hw/usb/hcd-xhci.c
/openbmc/qemu/hw/usb/host-libusb.c
/openbmc/qemu/hw/usb/imx-usb-phy.c
/openbmc/qemu/hw/usb/redirect.c
/openbmc/qemu/hw/usb/u2f-passthru.c
/openbmc/qemu/hw/usb/u2f.c
/openbmc/qemu/hw/usb/xlnx-versal-usb2-ctrl-regs.c
/openbmc/qemu/hw/vfio/display.c
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/virtio/trace-events
/openbmc/qemu/hw/virtio/vdpa-dev.c
/openbmc/qemu/hw/virtio/vhost-backend.c
/openbmc/qemu/hw/virtio/vhost-user-fs.c
/openbmc/qemu/hw/virtio/vhost-user-rng.c
/openbmc/qemu/hw/virtio/vhost-vdpa.c
/openbmc/qemu/hw/virtio/vhost-vsock.c
/openbmc/qemu/hw/virtio/virtio-balloon.c
/openbmc/qemu/hw/virtio/virtio-crypto.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-mem.c
/openbmc/qemu/hw/virtio/virtio-mmio.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio-rng.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/hw/watchdog/allwinner-wdt.c
/openbmc/qemu/hw/watchdog/cmsdk-apb-watchdog.c
/openbmc/qemu/hw/watchdog/sbsa_gwdt.c
/openbmc/qemu/hw/watchdog/spapr_watchdog.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/hw/watchdog/wdt_diag288.c
/openbmc/qemu/hw/watchdog/wdt_i6300esb.c
/openbmc/qemu/hw/watchdog/wdt_ib700.c
/openbmc/qemu/hw/watchdog/wdt_imx2.c
/openbmc/qemu/include/block/aio-wait.h
/openbmc/qemu/include/block/aio.h
/openbmc/qemu/include/block/block-common.h
/openbmc/qemu/include/block/block-global-state.h
/openbmc/qemu/include/block/block-io.h
/openbmc/qemu/include/block/block_int-common.h
/openbmc/qemu/include/block/graph-lock.h
/openbmc/qemu/include/block/snapshot.h
/openbmc/qemu/include/hw/loongarch/virt.h
/openbmc/qemu/include/hw/pci/shpc.h
/openbmc/qemu/include/hw/qdev-properties-system.h
/openbmc/qemu/include/hw/qdev-properties.h
/openbmc/qemu/include/hw/virtio/vhost-backend.h
/openbmc/qemu/include/hw/virtio/vhost-vdpa.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/hw/virtio/virtio-scsi.h
/openbmc/qemu/include/migration/vmstate.h
/openbmc/qemu/include/qapi/string-output-visitor.h
/openbmc/qemu/include/qemu/job.h
/openbmc/qemu/include/ui/rect.h
/openbmc/qemu/job.c
/openbmc/qemu/migration/block.c
/openbmc/qemu/migration/dirtyrate.c
/openbmc/qemu/migration/global_state.c
/openbmc/qemu/migration/migration-hmp-cmds.c
/openbmc/qemu/migration/savevm.c
/openbmc/qemu/migration/vmstate.c
/openbmc/qemu/net/colo-compare.c
/openbmc/qemu/net/vhost-vdpa.c
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qapi/virtio.json
/openbmc/qemu/qemu-img.c
/openbmc/qemu/qemu-io.c
/openbmc/qemu/qemu-nbd.c
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/replay/replay-debugging.c
/openbmc/qemu/scripts/block-coroutine-wrapper.py
cpu-timers.c
/openbmc/qemu/target/alpha/machine.c
/openbmc/qemu/target/arm/hvf/hvf.c
/openbmc/qemu/target/arm/machine.c
/openbmc/qemu/target/avr/machine.c
/openbmc/qemu/target/cris/machine.c
/openbmc/qemu/target/hppa/machine.c
/openbmc/qemu/target/i386/machine.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/machine.c
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/microblaze/machine.c
/openbmc/qemu/target/mips/sysemu/machine.c
/openbmc/qemu/target/openrisc/machine.c
/openbmc/qemu/target/ppc/machine.c
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/machine.c
/openbmc/qemu/target/s390x/machine.c
/openbmc/qemu/target/sparc/machine.c
/openbmc/qemu/tests/qemu-iotests/202
/openbmc/qemu/tests/qemu-iotests/203
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/tsan/suppressions.tsan
/openbmc/qemu/tests/unit/test-aio.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
/openbmc/qemu/tests/unit/test-block-iothread.c
/openbmc/qemu/tests/unit/test-blockjob.c
/openbmc/qemu/tests/unit/test-replication.c
/openbmc/qemu/trace/meson.build
/openbmc/qemu/util/async.c
/openbmc/qemu/util/vhost-user-server.c
10bcb0d905-Dec-2023 Stefan Hajnoczi <stefanha@redhat.com>

scsi: assert that callbacks run in the correct AioContext

Since the removal of AioContext locking, the correctness of the code
relies on running requests from a single AioContext at any given time.

scsi: assert that callbacks run in the correct AioContext

Since the removal of AioContext locking, the correctness of the code
relies on running requests from a single AioContext at any given time.

Add assertions that verify that callbacks are invoked in the correct
AioContext.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20231205182011.1976568-3-stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

e661a24704-Dec-2023 Stefan Hajnoczi <stefanha@redhat.com>

dma-helpers: don't lock AioContext in dma_blk_cb()

Commit abfcd2760b3e ("dma-helpers: prevent dma_blk_cb() vs
dma_aio_cancel() race") acquired the AioContext lock inside dma_blk_cb()
to avoid a race

dma-helpers: don't lock AioContext in dma_blk_cb()

Commit abfcd2760b3e ("dma-helpers: prevent dma_blk_cb() vs
dma_aio_cancel() race") acquired the AioContext lock inside dma_blk_cb()
to avoid a race with scsi_device_purge_requests() running in the main
loop thread.

The SCSI code no longer calls dma_aio_cancel() from the main loop thread
while I/O is running in the IOThread AioContext. Therefore it is no
longer necessary to take this lock to protect DMAAIOCB fields. The
->cb() function also does not require the lock because blk_aio_*() and
friends do not need the AioContext lock.

Both hw/ide/core.c and hw/ide/macio.c also call dma_blk_io() but don't
rely on it taking the AioContext lock, so this change is safe.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231204164259.1515217-5-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...

5a7f21ef01-Dec-2023 Kevin Wolf <kwolf@redhat.com>

vl: Improve error message for conflicting -incoming and -loadvm

Currently, the conflict between -incoming and -loadvm is only detected
when loading the snapshot fails because the image is still inac

vl: Improve error message for conflicting -incoming and -loadvm

Currently, the conflict between -incoming and -loadvm is only detected
when loading the snapshot fails because the image is still inactive for
the incoming migration. This results in a suboptimal error message:

$ ./qemu-system-x86_64 -hda /tmp/test.qcow2 -loadvm foo -incoming defer
qemu-system-x86_64: Device 'ide0-hd0' is writable but does not support snapshots

Catch the situation already in qemu_validate_options() to improve the
message:

$ ./qemu-system-x86_64 -hda /tmp/test.qcow2 -loadvm foo -incoming defer
qemu-system-x86_64: 'incoming' and 'loadvm' options are mutually exclusive

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231201142520.32255-3-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/kvm/kvm-all.c
/openbmc/qemu/backends/Kconfig
/openbmc/qemu/backends/iommufd.c
/openbmc/qemu/backends/meson.build
/openbmc/qemu/backends/trace-events
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/docs/devel/index-internals.rst
/openbmc/qemu/docs/devel/vfio-iommufd.rst
/openbmc/qemu/docs/system/arm/xlnx-versal-virt.rst
/openbmc/qemu/docs/system/invocation.rst
/openbmc/qemu/docs/system/qemu-manpage.rst
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/block/virtio-blk.c
/openbmc/qemu/hw/i386/Kconfig
/openbmc/qemu/hw/intc/arm_gicv3_its_kvm.c
/openbmc/qemu/hw/misc/imx7_snvs.c
/openbmc/qemu/hw/misc/mips_itu.c
/openbmc/qemu/hw/misc/trace-events
/openbmc/qemu/hw/ppc/Kconfig
/openbmc/qemu/hw/ppc/spapr_hcall.c
/openbmc/qemu/hw/ppc/spapr_pci_vfio.c
/openbmc/qemu/hw/s390x/Kconfig
/openbmc/qemu/hw/s390x/ipl.c
/openbmc/qemu/hw/vfio/ap.c
/openbmc/qemu/hw/vfio/ccw.c
/openbmc/qemu/hw/vfio/common.c
/openbmc/qemu/hw/vfio/container-base.c
/openbmc/qemu/hw/vfio/container.c
/openbmc/qemu/hw/vfio/helpers.c
/openbmc/qemu/hw/vfio/iommufd.c
/openbmc/qemu/hw/vfio/meson.build
/openbmc/qemu/hw/vfio/pci.c
/openbmc/qemu/hw/vfio/pci.h
/openbmc/qemu/hw/vfio/platform.c
/openbmc/qemu/hw/vfio/spapr.c
/openbmc/qemu/hw/vfio/trace-events
/openbmc/qemu/include/exec/memory.h
/openbmc/qemu/include/hw/misc/imx7_snvs.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cframe-reg.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cfu.h
/openbmc/qemu/include/hw/misc/xlnx-versal-crl.h
/openbmc/qemu/include/hw/nvram/xlnx-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-versal-efuse.h
/openbmc/qemu/include/hw/nvram/xlnx-zynqmp-efuse.h
/openbmc/qemu/include/hw/vfio/vfio-common.h
/openbmc/qemu/include/hw/vfio/vfio-container-base.h
/openbmc/qemu/include/hw/virtio/virtio-blk.h
/openbmc/qemu/include/qemu/chardev_open.h
/openbmc/qemu/include/sysemu/iommufd.h
/openbmc/qemu/include/sysemu/qtest.h
/openbmc/qemu/nbd/server.c
/openbmc/qemu/qapi/qom.json
/openbmc/qemu/qemu-options.hx
/openbmc/qemu/qom/object.c
/openbmc/qemu/scripts/analyze-migration.py
vl.c
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu64.c
/openbmc/qemu/target/arm/debug_helper.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/kvm.c
/openbmc/qemu/target/arm/kvm_arm.h
/openbmc/qemu/target/arm/meson.build
/openbmc/qemu/target/arm/tcg/op_helper.c
/openbmc/qemu/target/arm/tcg/translate-a64.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/npcm7xx_pwm-test.c
/openbmc/qemu/tests/unit/test-io-task.c
/openbmc/qemu/tests/unit/test-qmp-event.c
/openbmc/qemu/util/chardev_open.c
/openbmc/qemu/util/meson.build
65eac5bd12-Dec-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

system/qtest: Include missing 'hw/core/cpu.h' header

"hw/core/cpu.h" declares 'first_cpu'. Include it to avoid
when unrelated headers are refactored:

system/qtest.c:548:33: error: use of undeclar

system/qtest: Include missing 'hw/core/cpu.h' header

"hw/core/cpu.h" declares 'first_cpu'. Include it to avoid
when unrelated headers are refactored:

system/qtest.c:548:33: error: use of undeclared identifier 'first_cpu'
address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED,
^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231212113016.29808-2-philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>

show more ...

2b8fe81b16-Nov-2023 Patrick Venture <venture@google.com>

system/memory: use ldn_he_p/stn_he_p

Using direct pointer dereferencing can allow for unaligned accesses,
which was seen during execution with sanitizers enabled.

Cc: qemu-stable@nongnu.org
Reviewe

system/memory: use ldn_he_p/stn_he_p

Using direct pointer dereferencing can allow for unaligned accesses,
which was seen during execution with sanitizers enabled.

Cc: qemu-stable@nongnu.org
Reviewed-by: Chris Rauer <crauer@google.com>
Reviewed-by: Peter Foley <pefoley@google.com>
Signed-off-by: Patrick Venture <venture@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20231116163633.276671-1-venture@google.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/VERSION
/openbmc/qemu/block/export/vhost-user-blk-server.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/configure
/openbmc/qemu/docs/devel/s390-cpu-topology.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/gdbstub/internals.h
/openbmc/qemu/gdbstub/system.c
/openbmc/qemu/hw/acpi/erst.c
/openbmc/qemu/hw/audio/hda-codec.c
/openbmc/qemu/hw/audio/via-ac97.c
/openbmc/qemu/hw/audio/virtio-snd-pci.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/avr/atmega.c
/openbmc/qemu/hw/block/vhost-user-blk.c
/openbmc/qemu/hw/core/qdev-properties.c
/openbmc/qemu/hw/dma/xlnx_csu_dma.c
/openbmc/qemu/hw/i386/x86.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/input/stellaris_gamepad.c
/openbmc/qemu/hw/isa/vt82c686.c
/openbmc/qemu/hw/misc/mps2-scc.c
/openbmc/qemu/hw/net/can/xlnx-zynqmp-can.c
/openbmc/qemu/hw/nvram/xlnx-efuse.c
/openbmc/qemu/hw/nvram/xlnx-versal-efuse-ctrl.c
/openbmc/qemu/hw/pci/msix.c
/openbmc/qemu/hw/pci/pcie_sriov.c
/openbmc/qemu/hw/ppc/amigaone.c
/openbmc/qemu/hw/scsi/vhost-user-scsi.c
/openbmc/qemu/hw/ssi/xilinx_spips.c
/openbmc/qemu/hw/usb/vt82c686-uhci-pci.c
/openbmc/qemu/hw/virtio/vhost-user-gpio.c
/openbmc/qemu/hw/virtio/virtio-iommu-pci.c
/openbmc/qemu/hw/virtio/virtio-iommu.c
/openbmc/qemu/hw/virtio/virtio-pci.c
/openbmc/qemu/hw/virtio/virtio.c
/openbmc/qemu/include/hw/isa/vt82c686.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cframe-reg.h
/openbmc/qemu/include/hw/misc/xlnx-versal-cfu.h
/openbmc/qemu/include/hw/misc/xlnx-versal-pmc-iou-slcr.h
/openbmc/qemu/include/hw/ssi/xilinx_spips.h
/openbmc/qemu/include/hw/ssi/xlnx-versal-ospi.h
/openbmc/qemu/include/hw/virtio/virtio-pci.h
/openbmc/qemu/include/qemu/osdep.h
/openbmc/qemu/include/qemu/vhost-user-server.h
/openbmc/qemu/meson.build
/openbmc/qemu/migration/migration.c
/openbmc/qemu/migration/multifd.c
/openbmc/qemu/pc-bios/README
/openbmc/qemu/pc-bios/bios-256k.bin
/openbmc/qemu/pc-bios/bios-microvm.bin
/openbmc/qemu/pc-bios/bios.bin
/openbmc/qemu/pc-bios/slof.bin
/openbmc/qemu/pc-bios/vgabios-ati.bin
/openbmc/qemu/pc-bios/vgabios-bochs-display.bin
/openbmc/qemu/pc-bios/vgabios-cirrus.bin
/openbmc/qemu/pc-bios/vgabios-qxl.bin
/openbmc/qemu/pc-bios/vgabios-ramfb.bin
/openbmc/qemu/pc-bios/vgabios-stdvga.bin
/openbmc/qemu/pc-bios/vgabios-virtio.bin
/openbmc/qemu/pc-bios/vgabios-vmware.bin
/openbmc/qemu/pc-bios/vgabios.bin
/openbmc/qemu/qapi/string-output-visitor.c
/openbmc/qemu/qga/meson.build
/openbmc/qemu/roms/SLOF
/openbmc/qemu/roms/seabios
/openbmc/qemu/scripts/coverity-scan/run-coverity-scan
memory.c
/openbmc/qemu/target/arm/helper.c
/openbmc/qemu/target/arm/syndrome.h
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/hexagon/idef-parser/prepare
/openbmc/qemu/tests/avocado/boot_linux.py
/openbmc/qemu/tests/avocado/boot_linux_console.py
/openbmc/qemu/tests/avocado/intel_iommu.py
/openbmc/qemu/tests/avocado/linux_initrd.py
/openbmc/qemu/tests/avocado/machine_aarch64_sbsaref.py
/openbmc/qemu/tests/avocado/machine_aspeed.py
/openbmc/qemu/tests/avocado/machine_mips_malta.py
/openbmc/qemu/tests/avocado/machine_rx_gdbsim.py
/openbmc/qemu/tests/avocado/machine_s390_ccw_virtio.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/avocado/smmu.py
/openbmc/qemu/tests/avocado/tuxrun_baselines.py
/openbmc/qemu/tests/qemu-iotests/059
/openbmc/qemu/tests/qemu-iotests/059.out
/openbmc/qemu/tests/qemu-iotests/testenv.py
/openbmc/qemu/tests/qtest/bios-tables-test.c
/openbmc/qemu/tests/qtest/netdev-socket.c
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/aarch64/system/vtimer.c
/openbmc/qemu/util/vhost-user-server.c
cd91136320-Nov-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

system: Use &error_abort in memory_region_init_ram_[device_]ptr()

If an unexpected error condition happens, we have to abort
(&fatal_error is meant for expected errors).

Suggested-by: Paolo Bonzini

system: Use &error_abort in memory_region_init_ram_[device_]ptr()

If an unexpected error condition happens, we have to abort
(&fatal_error is meant for expected errors).

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20231120133112.82447-1-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...

adff55b505-Oct-2023 Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>

coverity: physmem: use simple assertions instead of modelling

Unfortunately Coverity doesn't follow the logic aroung "len" and "l"
variables in stacks finishing with flatview_{read,write}_continue()

coverity: physmem: use simple assertions instead of modelling

Unfortunately Coverity doesn't follow the logic aroung "len" and "l"
variables in stacks finishing with flatview_{read,write}_continue() and
generate a lot of OVERRUN false-positives. When small buffer (2 or 4
bytes) is passed to mem read/write path, Coverity assumes the worst
case of sz=8 in stn_he_p()/ldn_he_p() (defined in
include/qemu/bswap.h), and reports buffer overrun.

To silence these false-positives we have model functions, which hide
real logic from Coverity.

However, it turned out that these new two assertions are enough to
quiet Coverity.

Assertions are better than hiding the logic, so let's drop the
modelling and move to assertions for memory r/w call stacks.

After patch, the sequence

cov-make-library --output-file /tmp/master.xmldb \
scripts/coverity-scan/model.c
cov-build --dir ~/covtmp/master make -j9
cov-analyze --user-model-file /tmp/master.xmldb \
--dir ~/covtmp/master --all --strip-path "$(pwd)
cov-format-errors --dir ~/covtmp/master \
--html-output ~/covtmp/master_html_report

Generate for me the same big set of CIDs excepept for 6 disappeared (so
it becomes even better).

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Acked-by: David Hildenbrand <david@redhat.com>
Message-ID: <20231005140326.332830-1-vsementsov@yandex-team.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

show more ...


/openbmc/qemu/.gitlab-ci.d/buildtest.yml
/openbmc/qemu/.gitlab-ci.d/cirrus.yml
/openbmc/qemu/.gitlab-ci.d/cirrus/macos-13.vars
/openbmc/qemu/.gitlab-ci.d/container-cross.yml
/openbmc/qemu/.gitlab-ci.d/containers.yml
/openbmc/qemu/.gitlab-ci.d/crossbuilds.yml
/openbmc/qemu/VERSION
/openbmc/qemu/configure
/openbmc/qemu/contrib/plugins/Makefile
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/about/emulation.rst
/openbmc/qemu/docs/system/gdb.rst
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/nios2/10m50_devboard.c
/openbmc/qemu/hw/nios2/generic_nommu.c
/openbmc/qemu/hw/riscv/sifive_e.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/linux-user/elfload.c
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/pc-bios/hppa-firmware.img
/openbmc/qemu/plugins/meson.build
/openbmc/qemu/roms/seabios-hppa
/openbmc/qemu/scripts/coverity-scan/model.c
physmem.c
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/docker/Makefile.include
/openbmc/qemu/tests/docker/dockerfiles/debian-i686-cross.docker
/openbmc/qemu/tests/docker/dockerfiles/debian.docker
/openbmc/qemu/tests/lcitool/refresh
/openbmc/qemu/tests/plugin/meson.build
/openbmc/qemu/tests/tcg/aarch64/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/arm/Makefile.softmmu-target
/openbmc/qemu/tests/tcg/arm/system/boot.S
/openbmc/qemu/tests/tcg/arm/system/kernel.ld
/openbmc/qemu/tests/tcg/arm/system/semiconsole.c
/openbmc/qemu/tests/tcg/arm/system/test-armv6m-undef.S
/openbmc/qemu/tests/tcg/arm/system/test-armv6m-undef.ld
/openbmc/qemu/tests/tcg/multiarch/gdbstub/registers.py
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/s390x/Makefile.target
63ceac2021-Nov-2023 Stefan Hajnoczi <stefanha@redhat.com>

Merge tag 'pull-xenfv-20231121' of git://git.infradead.org/users/dwmw2/qemu into staging

Xen fixes for 8.2-rc1

• Disable default serial when xen-console is used
• Fix Coverity warning in xen-bloc

Merge tag 'pull-xenfv-20231121' of git://git.infradead.org/users/dwmw2/qemu into staging

Xen fixes for 8.2-rc1

• Disable default serial when xen-console is used
• Fix Coverity warning in xen-block

# -----BEGIN PGP SIGNATURE-----
#
# iQJIBAABCAAyFiEEvgfZ/VSAmrLEsP9fY3Ys2mfi81kFAmVcmrAUHGR3bXcyQGlu
# ZnJhZGVhZC5vcmcACgkQY3Ys2mfi81njqg/8DFr03kVfwRujIZXDROoq40vjgdOF
# MoGgowDNapliXiecVcHzdvFXgRxwr9bhpX5eDEtfgROoH8mbPPd4YZJHdPNM0Yc3
# 0hoSWrIYocsYRAIoozXrtsNw8ep2vSEPNv5+CIVYkkie/mLs02cy43q09cJDzABx
# DvmSfC5o5JCs/x3qPLM6ydhnTaUipuPt1wnG9xaJLWgm/U9pK6Ba9w1eNGn8EE7m
# ekzpv9lYfCd/KbPogtXAEd7nkCOi/lKQVJmU7auXFi8FKwZNoKOYl3cTVln/EFmT
# az3qLSHgOZwElNQEYn0mBa/RgAQ2K9X7n12TgxG30VSUmajxJnl/eKy4ISyaAmwY
# vNVhdsXQICqM4OYaD2j8RiXX5YNtIC+MBb7nlUN7invKXE9ZylHbXvOstkUCjQ34
# x9CMVIibPoWk7XGUX+r7KUSwSQnpelVbqBWltkmgNjYuUIShDT6r5cOrYdM2orii
# UYOqPJqchbEDNoGwJK45EOSn8Ss5geAWuM7dFL0AuwZAbcKAqGG6vihPnDJyhnWA
# EPv2/5h2Vi24fqeWz3W+hckm8LXrc2Ow8A0rY3WAz7CvmBTgYCPx4d4kdTU6Gysn
# i8DRoKMhZS9WvHPPxY1v8+ysG1UCCNFe4qH0Wgv+ubSbr5GaK2igWIBQ5bXnuYL8
# R4Ef5pPLpa2jiF4=
# =cWon
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 21 Nov 2023 06:55:28 EST
# gpg: using RSA key BE07D9FD54809AB2C4B0FF5F63762CDA67E2F359
# gpg: issuer "dwmw2@infradead.org"
# gpg: Good signature from "David Woodhouse <dwmw2@infradead.org>" [unknown]
# gpg: aka "David Woodhouse <dwmw2@exim.org>" [unknown]
# gpg: aka "David Woodhouse <david@woodhou.se>" [unknown]
# gpg: aka "David Woodhouse <dwmw2@kernel.org>" [unknown]
# gpg: WARNING: The key's User ID is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: BE07 D9FD 5480 9AB2 C4B0 FF5F 6376 2CDA 67E2 F359

* tag 'pull-xenfv-20231121' of git://git.infradead.org/users/dwmw2/qemu:
hw/xen: clean up xen_block_find_free_vdev() to avoid Coverity false positive
vl: disable default serial when xen-console is enabled

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/block.c
/openbmc/qemu/block/backup.c
/openbmc/qemu/block/blklogwrites.c
/openbmc/qemu/block/blkverify.c
/openbmc/qemu/block/block-backend.c
/openbmc/qemu/block/commit.c
/openbmc/qemu/block/graph-lock.c
/openbmc/qemu/block/mirror.c
/openbmc/qemu/block/qcow2.c
/openbmc/qemu/block/quorum.c
/openbmc/qemu/block/replication.c
/openbmc/qemu/block/snapshot.c
/openbmc/qemu/block/stream.c
/openbmc/qemu/block/vmdk.c
/openbmc/qemu/blockdev.c
/openbmc/qemu/blockjob.c
/openbmc/qemu/hw/arm/fsl-imx25.c
/openbmc/qemu/hw/arm/fsl-imx6.c
/openbmc/qemu/hw/arm/netduino2.c
/openbmc/qemu/hw/arm/netduinoplus2.c
/openbmc/qemu/hw/arm/olimex-stm32-h405.c
/openbmc/qemu/hw/arm/stm32f100_soc.c
/openbmc/qemu/hw/arm/stm32f205_soc.c
/openbmc/qemu/hw/arm/stm32f405_soc.c
/openbmc/qemu/hw/arm/stm32vldiscovery.c
/openbmc/qemu/hw/block/xen-block.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/ide/ahci.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/ide/ioport.c
/openbmc/qemu/hw/ide/pci.c
/openbmc/qemu/hw/ide/via.c
/openbmc/qemu/hw/intc/arm_gicv3_cpuif.c
/openbmc/qemu/hw/m68k/q800.c
/openbmc/qemu/hw/net/allwinner-sun8i-emac.c
/openbmc/qemu/hw/net/allwinner_emac.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/net/dp8393x.c
/openbmc/qemu/hw/net/e1000.c
/openbmc/qemu/hw/net/e1000e.c
/openbmc/qemu/hw/net/eepro100.c
/openbmc/qemu/hw/net/etraxfs_eth.c
/openbmc/qemu/hw/net/fsl_etsec/etsec.c
/openbmc/qemu/hw/net/ftgmac100.c
/openbmc/qemu/hw/net/i82596.c
/openbmc/qemu/hw/net/igb.c
/openbmc/qemu/hw/net/imx_fec.c
/openbmc/qemu/hw/net/lan9118.c
/openbmc/qemu/hw/net/mcf_fec.c
/openbmc/qemu/hw/net/mipsnet.c
/openbmc/qemu/hw/net/msf2-emac.c
/openbmc/qemu/hw/net/mv88w8618_eth.c
/openbmc/qemu/hw/net/ne2000-isa.c
/openbmc/qemu/hw/net/ne2000-pci.c
/openbmc/qemu/hw/net/npcm7xx_emc.c
/openbmc/qemu/hw/net/opencores_eth.c
/openbmc/qemu/hw/net/pcnet.c
/openbmc/qemu/hw/net/rocker/rocker_fp.c
/openbmc/qemu/hw/net/rtl8139.c
/openbmc/qemu/hw/net/smc91c111.c
/openbmc/qemu/hw/net/spapr_llan.c
/openbmc/qemu/hw/net/stellaris_enet.c
/openbmc/qemu/hw/net/sungem.c
/openbmc/qemu/hw/net/sunhme.c
/openbmc/qemu/hw/net/tulip.c
/openbmc/qemu/hw/net/virtio-net.c
/openbmc/qemu/hw/net/vmxnet3.c
/openbmc/qemu/hw/net/xen_nic.c
/openbmc/qemu/hw/net/xgmac.c
/openbmc/qemu/hw/net/xilinx_axienet.c
/openbmc/qemu/hw/net/xilinx_ethlite.c
/openbmc/qemu/hw/ppc/pnv.c
/openbmc/qemu/hw/ppc/pnv_i2c.c
/openbmc/qemu/hw/usb/dev-network.c
/openbmc/qemu/include/block/graph-lock.h
/openbmc/qemu/include/hw/arm/stm32f100_soc.h
/openbmc/qemu/include/hw/arm/stm32f205_soc.h
/openbmc/qemu/include/hw/arm/stm32f405_soc.h
/openbmc/qemu/include/hw/boards.h
/openbmc/qemu/include/hw/ide/internal.h
/openbmc/qemu/include/hw/ide/pci.h
/openbmc/qemu/include/net/net.h
/openbmc/qemu/include/ui/pixman-minimal.h
/openbmc/qemu/net/net.c
/openbmc/qemu/scripts/block-coroutine-wrapper.py
vl.c
/openbmc/qemu/target/arm/tcg/cpu64.c
/openbmc/qemu/target/arm/tcg/sme_helper.c
/openbmc/qemu/target/ppc/fpu_helper.c
/openbmc/qemu/tcg/loongarch64/tcg-target.c.inc
/openbmc/qemu/tests/qemu-iotests/tests/iothreads-stream
/openbmc/qemu/tests/qemu-iotests/tests/iothreads-stream.out
/openbmc/qemu/tests/tcg/ppc64/Makefile.target
/openbmc/qemu/tests/tcg/ppc64/vsx_f2i_nan.c
/openbmc/qemu/tests/unit/test-bdrv-drain.c
/openbmc/qemu/tests/unit/test-bdrv-graph-mod.c
87bfffdf09-Nov-2023 David Woodhouse <dwmw@amazon.co.uk>

vl: disable default serial when xen-console is enabled

If a Xen console is configured on the command line, do not add a default
serial port.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Revie

vl: disable default serial when xen-console is enabled

If a Xen console is configured on the command line, do not add a default
serial port.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Paul Durrant <paul@xen.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/bsd-user/bsd-mem.h
/openbmc/qemu/bsd-user/freebsd/os-proc.c
/openbmc/qemu/bsd-user/freebsd/os-stat.h
/openbmc/qemu/contrib/vhost-user-gpu/virgl.c
/openbmc/qemu/disas/hppa.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/cxl/cxl-component-utils.c
/openbmc/qemu/hw/cxl/cxl-mailbox-utils.c
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/block/ufs.h
/openbmc/qemu/include/hw/cxl/cxl_device.h
/openbmc/qemu/include/hw/hyperv/dynmem-proto.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/linux-user/ppc/vdso.S
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/xtensa/signal.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/pragma.json
vl.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/hflags.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/machine.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/tests/avocado/avocado_qemu/__init__.py
/openbmc/qemu/tests/avocado/cpu_queries.py
/openbmc/qemu/tests/avocado/empty_cpu_model.py
/openbmc/qemu/tests/avocado/intel_iommu.py
/openbmc/qemu/tests/avocado/mem-addr-space-check.py
/openbmc/qemu/tests/avocado/multiprocess.py
/openbmc/qemu/tests/avocado/pc_cpu_hotplug_props.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/avocado/version.py
/openbmc/qemu/tests/avocado/virtio-gpu.py
/openbmc/qemu/tests/avocado/x86_cpu_model_versions.py
/openbmc/qemu/tests/data/qobject/qdict.txt
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/ufs-test.c
/openbmc/qemu/util/filemonitor-inotify.c
/openbmc/qemu/util/range.c
ff2a5bed17-Nov-2023 Marc-André Lureau <marcandre.lureau@redhat.com>

vl: add missing display_remote++

We should also consider -display vnc= as setting up a remote display,
and not attempt to add another default one.

The display_remote++ in qemu_setup_display() isn't

vl: add missing display_remote++

We should also consider -display vnc= as setting up a remote display,
and not attempt to add another default one.

The display_remote++ in qemu_setup_display() isn't necessary at this
point, but is there for completeness and further usages of the variable.

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/1988
Fixes: commit 484629fc81 ("vl: simplify display_remote logic ")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>

show more ...

6956264817-Nov-2023 Marc-André Lureau <marcandre.lureau@redhat.com>

vl: revert behaviour for -display none

Commit 1bec1cc0d ("ui/console: allow to override the default VC") changed
the behaviour of the "-display none" option, so that it now creates a
QEMU monitor on

vl: revert behaviour for -display none

Commit 1bec1cc0d ("ui/console: allow to override the default VC") changed
the behaviour of the "-display none" option, so that it now creates a
QEMU monitor on the terminal. "-display none" should not be tangled up
with whether we create a monitor or a serial terminal; it should purely
and only disable the graphical window. Changing its behaviour like this
breaks command lines which, for example, use semihosting for their
output and don't want a graphical window, as they now get a monitor they
never asked for.

It also breaks the command line we document for Xen in
docs/system/i386/xen.html:

$ ./qemu-system-x86_64 --accel kvm,xen-version=0x40011,kernel-irqchip=split \
-display none -chardev stdio,mux=on,id=char0,signal=off -mon char0 \
-device xen-console,chardev=char0 -drive file=${GUEST_IMAGE},if=xen

qemu-system-x86_64: cannot use stdio by multiple character devices
qemu-system-x86_64: could not connect serial device to character backend
'stdio'

When qemu is compiled without PIXMAN, by default the serials aren't
muxed with the monitor anymore on stdio. The serials are redirected to
"null" instead, and the monitor isn't set up.

Fixes: commit 1bec1cc0d ("ui/console: allow to override the default VC")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/bsd-user/bsd-mem.h
/openbmc/qemu/bsd-user/freebsd/os-proc.c
/openbmc/qemu/bsd-user/freebsd/os-stat.h
/openbmc/qemu/contrib/vhost-user-gpu/virgl.c
/openbmc/qemu/disas/hppa.c
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/devel/migration.rst
/openbmc/qemu/docs/devel/testing.rst
/openbmc/qemu/docs/system/arm/emulation.rst
/openbmc/qemu/gdbstub/gdbstub.c
/openbmc/qemu/hw/audio/virtio-snd.c
/openbmc/qemu/hw/cxl/cxl-component-utils.c
/openbmc/qemu/hw/cxl/cxl-mailbox-utils.c
/openbmc/qemu/hw/mem/memory-device.c
/openbmc/qemu/hw/net/cadence_gem.c
/openbmc/qemu/hw/watchdog/wdt_aspeed.c
/openbmc/qemu/include/block/ufs.h
/openbmc/qemu/include/hw/cxl/cxl_device.h
/openbmc/qemu/include/hw/hyperv/dynmem-proto.h
/openbmc/qemu/include/hw/virtio/vhost.h
/openbmc/qemu/linux-user/ppc/vdso.S
/openbmc/qemu/linux-user/syscall.c
/openbmc/qemu/linux-user/xtensa/signal.c
/openbmc/qemu/migration/rdma.c
/openbmc/qemu/qapi/migration.json
/openbmc/qemu/qapi/pragma.json
vl.c
/openbmc/qemu/target/arm/tcg/helper-a64.c
/openbmc/qemu/target/arm/tcg/hflags.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/machine.c
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/tests/avocado/avocado_qemu/__init__.py
/openbmc/qemu/tests/avocado/cpu_queries.py
/openbmc/qemu/tests/avocado/empty_cpu_model.py
/openbmc/qemu/tests/avocado/intel_iommu.py
/openbmc/qemu/tests/avocado/mem-addr-space-check.py
/openbmc/qemu/tests/avocado/multiprocess.py
/openbmc/qemu/tests/avocado/pc_cpu_hotplug_props.py
/openbmc/qemu/tests/avocado/replay_kernel.py
/openbmc/qemu/tests/avocado/reverse_debugging.py
/openbmc/qemu/tests/avocado/version.py
/openbmc/qemu/tests/avocado/virtio-gpu.py
/openbmc/qemu/tests/avocado/x86_cpu_model_versions.py
/openbmc/qemu/tests/data/qobject/qdict.txt
/openbmc/qemu/tests/qtest/migration-test.c
/openbmc/qemu/tests/qtest/ufs-test.c
/openbmc/qemu/util/filemonitor-inotify.c
/openbmc/qemu/util/range.c
eeef44b331-Oct-2023 Markus Armbruster <armbru@redhat.com>

balloon: Fix a misleading error message

The error message

{"execute": "balloon", "arguments":{"value": -1}}
{"error": {"class": "GenericError", "desc": "Parameter 'target' expects a size"}}

balloon: Fix a misleading error message

The error message

{"execute": "balloon", "arguments":{"value": -1}}
{"error": {"class": "GenericError", "desc": "Parameter 'target' expects a size"}}

points to 'target' instead of 'value'. Fix:

{"error": {"class": "GenericError", "desc": "Parameter 'value' expects a size"}}

Root cause: qmp_balloon()'s parameter is named @target. Rename it to
@value to match the QAPI schema.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20231031111059.3407803-7-armbru@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Mario Casquero <mcasquer@redhat.com>

show more ...

cf9b579010-Nov-2023 Richard Henderson <richard.henderson@linaro.org>

accel/tcg: Remove CF_LAST_IO

In cpu_exec_step_atomic, we did not set CF_LAST_IO, which lead
to a loop with cpu_io_recompile.

But since 18a536f1f8 ("Always require can_do_io") we no longer
need a fl

accel/tcg: Remove CF_LAST_IO

In cpu_exec_step_atomic, we did not set CF_LAST_IO, which lead
to a loop with cpu_io_recompile.

But since 18a536f1f8 ("Always require can_do_io") we no longer
need a flag to indicate when the last insn should have can_do_io set,
so remove the flag entirely.

Reported-by: Clément Chigot <chigot@adacore.com>
Tested-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1961
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

show more ...


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

Merge tag 'misc-cpus-20231107' of https://github.com/philmd/qemu into staging

Misc hardware patch queue

HW emulation:
- PMBus fixes and tests (Titus)
- IDE fixes and tests (Fiona)
- New ADM1266 sen

Merge tag 'misc-cpus-20231107' of https://github.com/philmd/qemu into staging

Misc hardware patch queue

HW emulation:
- PMBus fixes and tests (Titus)
- IDE fixes and tests (Fiona)
- New ADM1266 sensor (Titus)
- Better error propagation in PCI-ISA i82378 (Philippe)
- Declare SD model QOM types using DEFINE_TYPES macro (Philippe)

Topology:
- Fix CPUState::nr_cores calculation (Zhuocheng Ding and Zhao Liu)

Monitor:
- Synchronize CPU state in 'info lapic' (Dongli Zhang)

QOM:
- Have 'cpu-qom.h' target-agnostic (Philippe)
- Move ArchCPUClass definition to each target's cpu.h (Philippe)
- Call object_class_is_abstract once in cpu_class_by_name (Philippe)

UI:
- Use correct key names in titles on MacOS / SDL2 (Adrian)

MIPS:
- Fix MSA BZ/BNZ and TX79 LQ/SQ opcodes (Philippe)

Nios2:
- Create IRQs *after* vCPU is realized (Philippe)

PPC:
- Restrict KVM objects to system emulation (Philippe)
- Move target-specific definitions out of 'cpu-qom.h' (Philippe)

S390X:
- Make hw/s390x/css.h and hw/s390x/sclp.h headers target agnostic (Philippe)

X86:
- HVF & KVM cleanups (Philippe)

Various targets:
- Use env_archcpu() to optimize (Philippe)

Misc:
- Few global variable shadowing removed (Philippe)
- Introduce cpu_exec_reset_hold and factor tcg_cpu_reset_hold out (Philippe)
- Remove few more 'softmmu' mentions (Philippe)
- Fix and cleanup in vl.c (Akihiko & Marc-André)
- Resource leak fix in dump (Zongmin Zhou)
- MAINTAINERS updates (Thomas, Daniel)

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmVKKmEACgkQ4+MsLN6t
# wN4xHQ//X/enH4C7K3VP/tSinDiwmXN2o61L9rjqSDQkBaCtktZx4c8qKSDL7V4S
# vwzmvvBn3biMXQwZNVJo9d0oz2qoaF9tI6Ao0XDHAan9ziagfG9YMqWhkCfj077Q
# jLdCqkUuMJBvQgXGB1a6UgCme8PQx7h0oqjbCNfB0ZBls24b5DiEjO87LE4OTbTi
# zKRhYEpZpGwIVcy+1dAsbaBpGFP06sr1doB9Wz4c06eSx7t0kFSPk6U4CyOPrGXh
# ynyCxPwngxIXmarY8gqPs3SBs7oXsH8Q/ZOHr1LbuXhwSuw/0zBQU9aF7Ir8RPan
# DB79JjPrtxTAhICKredWT79v9M18D2/1MpONgg4vtx5K2FzGYoAJULCHyfkHMRSM
# L6/H0ZQPHvf7w72k9EcSQIhd0wPlMqRmfy37/8xcLiw1h4l/USx48QeKaeFWeSEu
# DgwSk+R61HbrKvQz/U0tF98zUEyBaQXNrKmyzht0YE4peAtpbPNBeRHkd0GMae/Z
# HOmkt8QlFQ0T14qSK7mSHaSJTUzRvFGD01cbuCDxVsyCWWsesEikXBACZLG5RCRY
# Rn1WeX1H9eE3kKi9iueLnhzcF9yM5XqFE3f6RnDzY8nkg91lsTMSQgFcIpv6uGyp
# 3WOTNSC9SoFyI3x8pCWiKOGytPUb8xk+PnOA85wYvVmT+7j6wus=
# =OVdQ
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 07 Nov 2023 20:15:29 HKT
# gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" [full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE

* tag 'misc-cpus-20231107' of https://github.com/philmd/qemu: (75 commits)
dump: Add close fd on error return to avoid resource leak
ui/sdl2: use correct key names in win title on mac
MAINTAINERS: Add more guest-agent related files to the corresponding section
MAINTAINERS: Add include/hw/xtensa/mx_pic.h to the XTFPGA machine section
MAINTAINERS: update libvirt devel mailing list address
MAINTAINERS: Add the CAN documentation file to the CAN section
MAINTAINERS: Add include/hw/timer/tmu012.h to the SH4 R2D section
hw/sd: Declare QOM types using DEFINE_TYPES() macro
hw/i2c: pmbus: reset page register for out of range reads
hw/i2c: pmbus: immediately clear faults on request
tests/qtest: add tests for ADM1266
hw/sensor: add ADM1266 device model
hw/i2c: pmbus: add VCAP register
hw/i2c: pmbus: add fan support
hw/i2c: pmbus: add vout mode bitfields
hw/i2c: pmbus add support for block receive
tests/qtest: ahci-test: add test exposing reset issue with pending callback
hw/ide: reset: cancel async DMA operation before resetting state
hw/cpu: Update the comments of nr_cores and nr_dies
system/cpus: Fix CPUState.nr_cores' calculation
...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/stubs/tcg-stub.c
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/tcg-accel-ops.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/accel/tcg/user-exec-stub.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/cpu-common.c
/openbmc/qemu/cpu-target.c
/openbmc/qemu/dump/dump.c
/openbmc/qemu/hw/arm/Kconfig
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/i2c/pmbus_device.c
/openbmc/qemu/hw/ide/core.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/hw/sd/aspeed_sdhci.c
/openbmc/qemu/hw/sd/bcm2835_sdhost.c
/openbmc/qemu/hw/sd/cadence_sdhci.c
/openbmc/qemu/hw/sd/core.c
/openbmc/qemu/hw/sd/npcm7xx_sdhci.c
/openbmc/qemu/hw/sd/pl181.c
/openbmc/qemu/hw/sd/pxa2xx_mmci.c
/openbmc/qemu/hw/sd/sd.c
/openbmc/qemu/hw/sd/sdhci-pci.c
/openbmc/qemu/hw/sd/ssi-sd.c
/openbmc/qemu/hw/sensor/Kconfig
/openbmc/qemu/hw/sensor/adm1266.c
/openbmc/qemu/hw/sensor/meson.build
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/exec/tb-flush.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/i2c/pmbus_device.h
/openbmc/qemu/include/hw/i386/topology.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/sysemu/accel-ops.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/linux-user/main.c
/openbmc/qemu/plugins/core.c
cpus.c
vl.c
/openbmc/qemu/target/alpha/cpu-qom.h
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/avr/cpu-qom.h
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/cris/cpu-qom.h
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/hexagon/cpu-qom.h
/openbmc/qemu/target/hexagon/cpu.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hppa/cpu-qom.h
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/i386/cpu-qom.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86_emu.c
/openbmc/qemu/target/i386/hvf/x86_emu.h
/openbmc/qemu/target/i386/kvm/kvm-cpu.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/loongarch/cpu-qom.h
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/m68k/cpu-qom.h
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/microblaze/cpu-qom.h
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/mips/cpu-qom.h
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/tcg/msa.decode
/openbmc/qemu/target/mips/tcg/tx79.decode
/openbmc/qemu/target/nios2/cpu-qom.h
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/openrisc/cpu-qom.h
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/meson.build
/openbmc/qemu/target/riscv/cpu-qom.h
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/internals.h
/openbmc/qemu/target/rx/cpu-qom.h
/openbmc/qemu/target/rx/cpu.c
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/tcg/misc_helper.c
/openbmc/qemu/target/sh4/cpu-qom.h
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sparc/cpu-qom.h
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/tricore/cpu-qom.h
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/xtensa/cpu-qom.h
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/tests/qtest/adm1266-test.c
/openbmc/qemu/tests/qtest/ahci-test.c
/openbmc/qemu/tests/qtest/max34451-test.c
/openbmc/qemu/tests/qtest/meson.build
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-seccomp.c
/openbmc/qemu/tests/unit/test-x86-topo.c
/openbmc/qemu/tests/vm/ubuntu.aarch64
/openbmc/qemu/ui/sdl2.c
958ac3c424-Oct-2023 Zhuocheng Ding <zhuocheng.ding@intel.com>

system/cpus: Fix CPUState.nr_cores' calculation

From CPUState.nr_cores' comment, it represents "number of cores within
this CPU package".

After 003f230e37d7 ("machine: Tweak the order of topology m

system/cpus: Fix CPUState.nr_cores' calculation

From CPUState.nr_cores' comment, it represents "number of cores within
this CPU package".

After 003f230e37d7 ("machine: Tweak the order of topology members in
struct CpuTopology"), the meaning of smp.cores changed to "the number of
cores in one die", but this commit missed to change CPUState.nr_cores'
calculation, so that CPUState.nr_cores became wrong and now it
misses to consider numbers of clusters and dies.

At present, only i386 is using CPUState.nr_cores.

But as for i386, which supports die level, the uses of CPUState.nr_cores
are very confusing:

Early uses are based on the meaning of "cores per package" (before die
is introduced into i386), and later uses are based on "cores per die"
(after die's introduction).

This difference is due to that commit a94e1428991f ("target/i386: Add
CPUID.1F generation support for multi-dies PCMachine") misunderstood
that CPUState.nr_cores means "cores per die" when calculated
CPUID.1FH.01H:EBX. After that, the changes in i386 all followed this
wrong understanding.

With the influence of 003f230e37d7 and a94e1428991f, for i386 currently
the result of CPUState.nr_cores is "cores per die", thus the original
uses of CPUState.cores based on the meaning of "cores per package" are
wrong when multiple dies exist:
1. In cpu_x86_cpuid() of target/i386/cpu.c, CPUID.01H:EBX[bits 23:16] is
incorrect because it expects "cpus per package" but now the
result is "cpus per die".
2. In cpu_x86_cpuid() of target/i386/cpu.c, for all leaves of CPUID.04H:
EAX[bits 31:26] is incorrect because they expect "cpus per package"
but now the result is "cpus per die". The error not only impacts the
EAX calculation in cache_info_passthrough case, but also impacts other
cases of setting cache topology for Intel CPU according to cpu
topology (specifically, the incoming parameter "num_cores" expects
"cores per package" in encode_cache_cpuid4()).
3. In cpu_x86_cpuid() of target/i386/cpu.c, CPUID.0BH.01H:EBX[bits
15:00] is incorrect because the EBX of 0BH.01H (core level) expects
"cpus per package", which may be different with 1FH.01H (The reason
is 1FH can support more levels. For QEMU, 1FH also supports die,
1FH.01H:EBX[bits 15:00] expects "cpus per die").
4. In cpu_x86_cpuid() of target/i386/cpu.c, when CPUID.80000001H is
calculated, here "cpus per package" is expected to be checked, but in
fact, now it checks "cpus per die". Though "cpus per die" also works
for this code logic, this isn't consistent with AMD's APM.
5. In cpu_x86_cpuid() of target/i386/cpu.c, CPUID.80000008H:ECX expects
"cpus per package" but it obtains "cpus per die".
6. In simulate_rdmsr() of target/i386/hvf/x86_emu.c, in
kvm_rdmsr_core_thread_count() of target/i386/kvm/kvm.c, and in
helper_rdmsr() of target/i386/tcg/sysemu/misc_helper.c,
MSR_CORE_THREAD_COUNT expects "cpus per package" and "cores per
package", but in these functions, it obtains "cpus per die" and
"cores per die".

On the other hand, these uses are correct now (they are added in/after
a94e1428991f):
1. In cpu_x86_cpuid() of target/i386/cpu.c, topo_info.cores_per_die
meets the actual meaning of CPUState.nr_cores ("cores per die").
2. In cpu_x86_cpuid() of target/i386/cpu.c, vcpus_per_socket (in CPUID.
04H's calculation) considers number of dies, so it's correct.
3. In cpu_x86_cpuid() of target/i386/cpu.c, CPUID.1FH.01H:EBX[bits
15:00] needs "cpus per die" and it gets the correct result, and
CPUID.1FH.02H:EBX[bits 15:00] gets correct "cpus per package".

When CPUState.nr_cores is correctly changed to "cores per package" again
, the above errors will be fixed without extra work, but the "currently"
correct cases will go wrong and need special handling to pass correct
"cpus/cores per die" they want.

Fix CPUState.nr_cores' calculation to fit the original meaning "cores
per package", as well as changing calculation of topo_info.cores_per_die,
vcpus_per_socket and CPUID.1FH.

Fixes: a94e1428991f ("target/i386: Add CPUID.1F generation support for multi-dies PCMachine")
Fixes: 003f230e37d7 ("machine: Tweak the order of topology members in struct CpuTopology")
Signed-off-by: Zhuocheng Ding <zhuocheng.ding@intel.com>
Co-developed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Tested-by: Yongwei Ma <yongwei.ma@intel.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20231024090323.1859210-4-zhao1.liu@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/stubs/tcg-stub.c
/openbmc/qemu/accel/tcg/tcg-accel-ops.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/bsd-user/main.c
/openbmc/qemu/cpu-common.c
/openbmc/qemu/cpu-target.c
/openbmc/qemu/hw/core/cpu-common.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/isa/i82378.c
/openbmc/qemu/hw/ppc/e500.c
/openbmc/qemu/hw/s390x/css.c
/openbmc/qemu/hw/s390x/sclp.c
/openbmc/qemu/include/exec/cpu-common.h
/openbmc/qemu/include/hw/core/cpu.h
/openbmc/qemu/include/hw/i386/topology.h
/openbmc/qemu/include/hw/loader.h
/openbmc/qemu/include/hw/ppc/ppc.h
/openbmc/qemu/include/hw/s390x/css.h
/openbmc/qemu/include/hw/s390x/sclp.h
/openbmc/qemu/include/sysemu/kvm.h
/openbmc/qemu/linux-user/main.c
cpus.c
/openbmc/qemu/target/alpha/cpu-qom.h
/openbmc/qemu/target/alpha/cpu.c
/openbmc/qemu/target/alpha/cpu.h
/openbmc/qemu/target/arm/cpu-qom.h
/openbmc/qemu/target/arm/cpu.c
/openbmc/qemu/target/arm/cpu.h
/openbmc/qemu/target/arm/internals.h
/openbmc/qemu/target/avr/cpu-qom.h
/openbmc/qemu/target/avr/cpu.c
/openbmc/qemu/target/avr/cpu.h
/openbmc/qemu/target/cris/cpu-qom.h
/openbmc/qemu/target/cris/cpu.c
/openbmc/qemu/target/cris/cpu.h
/openbmc/qemu/target/hexagon/cpu-qom.h
/openbmc/qemu/target/hexagon/cpu.c
/openbmc/qemu/target/hexagon/cpu.h
/openbmc/qemu/target/hppa/cpu-qom.h
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/i386/cpu-qom.h
/openbmc/qemu/target/i386/cpu.c
/openbmc/qemu/target/i386/cpu.h
/openbmc/qemu/target/i386/hvf/hvf.c
/openbmc/qemu/target/i386/hvf/x86_emu.c
/openbmc/qemu/target/i386/hvf/x86_emu.h
/openbmc/qemu/target/i386/kvm/kvm-cpu.c
/openbmc/qemu/target/i386/monitor.c
/openbmc/qemu/target/loongarch/cpu-qom.h
/openbmc/qemu/target/loongarch/cpu.c
/openbmc/qemu/target/loongarch/cpu.h
/openbmc/qemu/target/m68k/cpu-qom.h
/openbmc/qemu/target/m68k/cpu.c
/openbmc/qemu/target/m68k/cpu.h
/openbmc/qemu/target/microblaze/cpu-qom.h
/openbmc/qemu/target/microblaze/cpu.h
/openbmc/qemu/target/mips/cpu-qom.h
/openbmc/qemu/target/mips/cpu.h
/openbmc/qemu/target/mips/tcg/msa.decode
/openbmc/qemu/target/mips/tcg/tx79.decode
/openbmc/qemu/target/nios2/cpu-qom.h
/openbmc/qemu/target/nios2/cpu.c
/openbmc/qemu/target/nios2/cpu.h
/openbmc/qemu/target/openrisc/cpu-qom.h
/openbmc/qemu/target/openrisc/cpu.c
/openbmc/qemu/target/openrisc/cpu.h
/openbmc/qemu/target/ppc/cpu-qom.h
/openbmc/qemu/target/ppc/cpu.h
/openbmc/qemu/target/ppc/excp_helper.c
/openbmc/qemu/target/ppc/internal.h
/openbmc/qemu/target/ppc/kvm.c
/openbmc/qemu/target/ppc/kvm_ppc.h
/openbmc/qemu/target/ppc/meson.build
/openbmc/qemu/target/riscv/cpu-qom.h
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/internals.h
/openbmc/qemu/target/rx/cpu-qom.h
/openbmc/qemu/target/rx/cpu.c
/openbmc/qemu/target/rx/cpu.h
/openbmc/qemu/target/s390x/cpu-qom.h
/openbmc/qemu/target/s390x/cpu.h
/openbmc/qemu/target/s390x/cpu_models.c
/openbmc/qemu/target/s390x/cpu_models.h
/openbmc/qemu/target/s390x/diag.c
/openbmc/qemu/target/s390x/kvm/kvm.c
/openbmc/qemu/target/s390x/tcg/misc_helper.c
/openbmc/qemu/target/sh4/cpu-qom.h
/openbmc/qemu/target/sh4/cpu.c
/openbmc/qemu/target/sh4/cpu.h
/openbmc/qemu/target/sparc/cpu-qom.h
/openbmc/qemu/target/sparc/cpu.h
/openbmc/qemu/target/tricore/cpu-qom.h
/openbmc/qemu/target/tricore/cpu.c
/openbmc/qemu/target/tricore/cpu.h
/openbmc/qemu/target/xtensa/cpu-qom.h
/openbmc/qemu/target/xtensa/cpu.c
/openbmc/qemu/target/xtensa/cpu.h
/openbmc/qemu/target/xtensa/op_helper.c
/openbmc/qemu/tests/unit/meson.build
/openbmc/qemu/tests/unit/test-x86-topo.c
1b5120d715-Sep-2023 Philippe Mathieu-Daudé <philmd@linaro.org>

accel: Introduce cpu_exec_reset_hold()

Introduce cpu_exec_reset_hold() which call an accelerator
specific AccelOpsClass::cpu_reset_hold() handler.

Define a stub on TCG user emulation, because CPU r

accel: Introduce cpu_exec_reset_hold()

Introduce cpu_exec_reset_hold() which call an accelerator
specific AccelOpsClass::cpu_reset_hold() handler.

Define a stub on TCG user emulation, because CPU reset is
irrelevant there.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230918104153.24433-3-philmd@linaro.org>

show more ...

1494a65230-Oct-2023 Marc-André Lureau <marcandre.lureau@redhat.com>

vl: constify default_list

It's not modified, let's make it const.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID:

vl: constify default_list

It's not modified, let's make it const.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231030101529.105266-1-marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...

e93d1e9922-Jul-2023 Akihiko Odaki <akihiko.odaki@daynix.com>

vl: Free machine list

Free machine list and make LeakSanitizer happy.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20

vl: Free machine list

Free machine list and make LeakSanitizer happy.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230722062641.18505-1-akihiko.odaki@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

show more ...


/openbmc/qemu/MAINTAINERS
/openbmc/qemu/accel/tcg/cputlb.c
/openbmc/qemu/accel/tcg/internal-common.h
/openbmc/qemu/accel/tcg/ldst_atomicity.c.inc
/openbmc/qemu/accel/tcg/monitor.c
/openbmc/qemu/accel/tcg/translate-all.c
/openbmc/qemu/block/file-posix.c
/openbmc/qemu/block/nvme.c
/openbmc/qemu/block/qcow2-cluster.c
/openbmc/qemu/configs/targets/hppa-linux-user.mak
/openbmc/qemu/disas/riscv.c
/openbmc/qemu/disas/riscv.h
/openbmc/qemu/docs/about/deprecated.rst
/openbmc/qemu/docs/system/arm/vexpress.rst
/openbmc/qemu/docs/system/riscv/virt.rst
/openbmc/qemu/host/include/loongarch64/host/atomic128-ldst.h
/openbmc/qemu/host/include/loongarch64/host/cpuinfo.h
/openbmc/qemu/host/include/loongarch64/host/load-extract-al16-al8.h
/openbmc/qemu/host/include/loongarch64/host/store-insert-al16.h
/openbmc/qemu/hw/arm/vexpress.c
/openbmc/qemu/hw/arm/virt-acpi-build.c
/openbmc/qemu/hw/arm/virt.c
/openbmc/qemu/hw/core/loader.c
/openbmc/qemu/hw/hppa/machine.c
/openbmc/qemu/hw/i386/intel_iommu.c
/openbmc/qemu/hw/pci-host/astro.c
/openbmc/qemu/hw/riscv/boot.c
/openbmc/qemu/hw/riscv/virt.c
/openbmc/qemu/hw/rtc/mc146818rtc.c
/openbmc/qemu/hw/ssi/ibex_spi_host.c
/openbmc/qemu/include/exec/cputlb.h
/openbmc/qemu/include/hw/elf_ops.h
/openbmc/qemu/include/tcg/tcg-op-common.h
/openbmc/qemu/include/tcg/tcg-opc.h
/openbmc/qemu/include/tcg/tcg-temp-internal.h
/openbmc/qemu/include/tcg/tcg.h
/openbmc/qemu/io/channel-socket.c
/openbmc/qemu/linux-user/hppa/cpu_loop.c
/openbmc/qemu/linux-user/hppa/signal.c
/openbmc/qemu/linux-user/hppa/target_elf.h
/openbmc/qemu/linux-user/riscv/target_elf.h
/openbmc/qemu/qapi/block-core.json
/openbmc/qemu/qapi/machine-target.json
/openbmc/qemu/qemu-options.hx
vl.c
/openbmc/qemu/target/arm/tcg/a64.decode
/openbmc/qemu/target/arm/tcg/translate.h
/openbmc/qemu/target/hppa/cpu-param.h
/openbmc/qemu/target/hppa/cpu-qom.h
/openbmc/qemu/target/hppa/cpu.c
/openbmc/qemu/target/hppa/cpu.h
/openbmc/qemu/target/hppa/gdbstub.c
/openbmc/qemu/target/hppa/helper.c
/openbmc/qemu/target/hppa/helper.h
/openbmc/qemu/target/hppa/insns.decode
/openbmc/qemu/target/hppa/int_helper.c
/openbmc/qemu/target/hppa/machine.c
/openbmc/qemu/target/hppa/mem_helper.c
/openbmc/qemu/target/hppa/op_helper.c
/openbmc/qemu/target/hppa/sys_helper.c
/openbmc/qemu/target/hppa/trace-events
/openbmc/qemu/target/hppa/translate.c
/openbmc/qemu/target/riscv/cpu.c
/openbmc/qemu/target/riscv/cpu.h
/openbmc/qemu/target/riscv/cpu_bits.h
/openbmc/qemu/target/riscv/cpu_cfg.h
/openbmc/qemu/target/riscv/cpu_helper.c
/openbmc/qemu/target/riscv/csr.c
/openbmc/qemu/target/riscv/gdbstub.c
/openbmc/qemu/target/riscv/insn_trans/trans_rvi.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvvk.c.inc
/openbmc/qemu/target/riscv/insn_trans/trans_rvzicbo.c.inc
/openbmc/qemu/target/riscv/kvm/kvm-cpu.c
/openbmc/qemu/target/riscv/machine.c
/openbmc/qemu/target/riscv/pmp.c
/openbmc/qemu/target/riscv/pmp.h
/openbmc/qemu/target/riscv/pmu.c
/openbmc/qemu/target/riscv/pmu.h
/openbmc/qemu/target/riscv/riscv-qmp-cmds.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.c
/openbmc/qemu/target/riscv/tcg/tcg-cpu.h
/openbmc/qemu/tcg/aarch64/tcg-target.h
/openbmc/qemu/tcg/arm/tcg-target.h
/openbmc/qemu/tcg/i386/tcg-target.h
/openbmc/qemu/tcg/loongarch64/tcg-target-con-set.h
/openbmc/qemu/tcg/loongarch64/tcg-target.c.inc
/openbmc/qemu/tcg/loongarch64/tcg-target.h
/openbmc/qemu/tcg/mips/tcg-target.c.inc
/openbmc/qemu/tcg/mips/tcg-target.h
/openbmc/qemu/tcg/optimize.c
/openbmc/qemu/tcg/ppc/tcg-target.h
/openbmc/qemu/tcg/riscv/tcg-target.h
/openbmc/qemu/tcg/s390x/tcg-target.h
/openbmc/qemu/tcg/sparc64/tcg-target.c.inc
/openbmc/qemu/tcg/sparc64/tcg-target.h
/openbmc/qemu/tcg/tcg-internal.h
/openbmc/qemu/tcg/tcg-op-gvec.c
/openbmc/qemu/tcg/tcg-op.c
/openbmc/qemu/tcg/tcg.c
/openbmc/qemu/tcg/tci.c
/openbmc/qemu/tcg/tci/tcg-target.h
/openbmc/qemu/tests/data/acpi/virt/DBG2
/openbmc/qemu/tests/data/acpi/virt/SPCR
/openbmc/qemu/util/cpuinfo-loongarch.c
/openbmc/qemu/util/filemonitor-inotify.c
/openbmc/qemu/util/meson.build

12345678910