Debian Patches

Status for qemu/1:7.2+dfsg-7+deb12u9

Patch Description Author Forwarded Bugs Origin Last update
seabios-hppa-use-consistent-date-and-remove-hostname.patch roms/seabios-hppa: Use consistent date and remove hostname.
Two issues break reproducibility; the time and hostname get embedded
in the resulting seabios binary.

Simply drop the hostname from the embedded version string, as it
shouldn't be needed in Debian package builds.

Use the SOURCE_DATE_EPOCH environment variable to set the build date
rather than the current time:

https://reproducible-builds.org/docs/source-date-epoch/
Vagrant Cascadian <vagrant@reproducible-builds.org> no 2020-06-21
slof-remove-user-and-host-from-release-version.patch roms/SLOF/Makefile.gen: Remove user and host from release version.
This version string ends up in the slof.bin, leading to
reproducibility issues.
Vagrant Cascadian <vagrant@reproducible-builds.org> no 2020-06-22
slof-ensure-ld-is-called-with-C-locale.patch slof/Makefile.gen: Ensure ld is called with the C locale.
The output of "ld -V" changes based on the environment's locale.
Vagrant Cascadian <vagrant@reproducible-builds.org> no 2020-06-22
spelling.diff [PATCH 2/3] hw/virtio/virtio.c: spelling: suppoted Michael Tokarev <mjt@tls.msk.ru> no 2022-11-05
openbios-spelling-endianess.patch diff --git a/roms/openbios/kernel/bootstrap.c b/roms/openbios/kernel/bootstrap.c
index b7658ab..fb4506e 100644
no
slof-spelling-seperator.patch diff --git a/roms/SLOF/lib/libnet/tftp.c b/roms/SLOF/lib/libnet/tftp.c
index 9a5817a..71ea6ae 100644
no
ignore-roms-dependency-in-qtest.patch roms as dependencies won't be available in packaged qemu Due to the removal of blobs the packaging will not have the roms
dependency set and would fail at configure stage with:
../../tests/qtest/meson.build:272:2: ERROR: Unknown variable "roms".
Switch it back to the former empty initializer.
Christian Ehrhardt <christian.ehrhardt@canonical.com> no 2022-01-05
v7.2.1.diff v7.2.1
This is a difference between upstream qemu v7.2.0
and upstream qemu v7.2.1.

VERSION | 2 +-
block/curl.c | 44 +++++--
block/io.c | 3 +
block/iscsi.c | 1 +
block/qcow2-bitmap.c | 5 +-
chardev/char-socket.c | 1 +
configure | 2 +-
hw/acpi/cpu_hotplug.c | 3 +
hw/core/machine.c | 3 +
hw/i386/intel_iommu.c | 15 +++
hw/i386/microvm.c | 2 +-
hw/i386/pc.c | 4 +-
hw/i386/pc_piix.c | 2 -
hw/i386/pc_q35.c | 2 -
hw/i386/x86.c | 88 +++----------
hw/nvme/ctrl.c | 32 ++++-
hw/nvram/fw_cfg.c | 12 +-
hw/smbios/smbios.c | 8 +-
hw/timer/hpet.c | 19 ++-
hw/virtio/vhost-shadow-virtqueue.c | 2 +-
hw/virtio/vhost-user-gpio.c | 10 +-
hw/virtio/vhost-user-i2c.c | 5 +-
hw/virtio/vhost-user-rng.c | 5 +-
hw/virtio/vhost-vdpa.c | 17 +--
hw/virtio/vhost.c | 84 ++++++++++---
hw/virtio/virtio-mem.c | 6 +-
include/hw/i386/pc.h | 3 -
include/hw/i386/x86.h | 3 +-
include/hw/nvram/fw_cfg.h | 22 ----
include/hw/virtio/vhost-user-gpio.h | 2 +-
meson.build | 2 +-
migration/ram.c | 9 +-
scripts/shaderinclude.pl | 16 ---
scripts/shaderinclude.py | 26 ++++
scripts/symlink-install-tree.py | 1 -
subprojects/libvhost-user/libvhost-user.c | 7 ++
target/arm/helper.c | 3 +
target/arm/ptw.c | 6 +-
target/arm/sve_helper.c | 14 ++-
target/arm/translate.c | 2 +-
target/i386/tcg/emit.c.inc | 59 +++++----
target/riscv/translate.c | 12 +-
target/sh4/cpu.c | 2 +-
tests/tcg/Makefile.target | 2 +
tests/tcg/i386/Makefile.target | 6 +-
tests/tcg/i386/test-i386-adcox.c | 75 ++++++++++++
tests/tcg/i386/test-i386-bmi2.c | 197 ++++++++++++++++--------------
tests/tcg/multiarch/linux/linux-test.c | 6 +-
tests/tcg/riscv64/Makefile.target | 6 +
tests/tcg/riscv64/test-noc.S | 32 +++++
50 files changed, 548 insertions(+), 342 deletions(-)

diff --git a/VERSION b/VERSION
index 0ee843cc60..b26a34e470 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2023-04-05
v7.2.2.diff v7.2.2
This is a difference between upstream qemu v7.2.1
and upstream qemu v7.2.2.

VERSION | 2 +-
block/vhdx-log.c | 2 +-
hw/arm/boot.c | 5 ++++-
hw/net/vmxnet3.c | 2 +-
hw/nvme/ctrl.c | 3 +++
hw/rdma/vmw/pvrdma_cmd.c | 6 ++++++
include/qemu/osdep.h | 2 +-
io/channel-tls.c | 3 +++
linux-user/fd-trans.c | 10 ++++++---
linux-user/fd-trans.h | 1 +
linux-user/generic/target_resource.h | 4 ++--
linux-user/syscall.c | 21 ++++++++++++------
qga/commands.c | 5 ++---
qga/installer/qemu-ga.wxs | 1 +
qga/vss-win32/install.cpp | 2 +-
target/arm/cpu.h | 3 +++
target/s390x/arch_dump.c | 2 +-
target/s390x/cpu.h | 1 +
target/s390x/s390x-internal.h | 3 ++-
target/s390x/tcg/insn-data.h.inc | 4 ++--
target/s390x/tcg/mem_helper.c | 1 +
target/s390x/tcg/translate.c | 41 ++++++++++++++++++++++++++++--------
ui/gtk.c | 4 +++-
util/fdmon-epoll.c | 25 ++++++++++++++++------
24 files changed, 112 insertions(+), 41 deletions(-)

diff --git a/VERSION b/VERSION
index b26a34e470..77f5bec5b2 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2023-04-29
v7.2.3.diff diff --git a/VERSION b/VERSION
index 77f5bec5b2..429dc57af3 100644
no
v7.2.4.diff diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index d21b4a1fd4..10886bb414 100644
no
v7.2.5.diff diff --git a/VERSION b/VERSION
index 2bbaead448..8aea167e72 100644
no
v7.2.6.diff v7.2.6
This is a difference between upstream qemu v7.2.5
and upstream qemu v7.2.6.
--
.gitlab-ci.d/check-dco.py | 6 +-
.gitlab-ci.d/static_checks.yml | 4 +-
VERSION | 2 +-
accel/kvm/kvm-all.c | 4 +-
backends/tpm/tpm_util.c | 11 +-
docs/about/license.rst | 2 +-
docs/devel/multiple-iothreads.txt | 7 +
docs/multi-thread-compression.txt | 12 +-
docs/rdma.txt | 2 +-
dump/dump.c | 4 +-
hw/9pfs/xen-9p-backend.c | 5 +-
hw/block/dataplane/virtio-blk.c | 3 +-
hw/block/dataplane/xen-block.c | 5 +-
hw/char/riscv_htif.c | 3 +-
hw/char/virtio-serial-bus.c | 3 +-
hw/core/machine-smp.c | 10 +
hw/display/qxl.c | 14 +-
hw/display/virtio-gpu.c | 6 +-
hw/i2c/aspeed_i2c.c | 36 +---
hw/ide/ahci.c | 113 ++++++++---
hw/ide/ahci_internal.h | 1 +
hw/ide/core.c | 6 +-
hw/intc/apic.c | 7 +
hw/intc/loongarch_ipi.c | 4 +
hw/intc/riscv_aclint.c | 11 +-
hw/mips/loongson3_virt.c | 2 -
hw/misc/bcm2835_property.c | 7 +
hw/misc/imx_rngc.c | 6 +-
hw/misc/macio/mac_dbdma.c | 2 +-
hw/net/virtio-net.c | 3 +-
hw/net/vmxnet3.c | 5 +-
hw/nvme/ctrl.c | 6 +-
hw/nvme/dif.c | 4 +-
hw/pci-host/raven.c | 7 +
hw/ppc/e500.c | 2 +-
hw/ppc/pnv_lpc.c | 3 +
hw/ppc/vof.c | 2 +
hw/riscv/virt.c | 2 +-
hw/s390x/s390-virtio-ccw.c | 1 +
hw/scsi/lsi53c895a.c | 7 +
hw/scsi/mptsas.c | 3 +-
hw/scsi/scsi-bus.c | 3 +-
hw/scsi/vmw_pvscsi.c | 3 +-
hw/smbios/smbios.c | 16 +-
hw/tpm/tpm_tis_sysbus.c | 1 -
hw/usb/dev-uas.c | 3 +-
hw/usb/hcd-dwc2.c | 3 +-
hw/usb/hcd-ehci.c | 3 +-
hw/usb/hcd-uhci.c | 2 +-
hw/usb/host-libusb.c | 6 +-
hw/usb/redirect.c | 6 +-
hw/usb/xen-usb.c | 3 +-
hw/virtio/virtio-balloon.c | 5 +-
hw/virtio/virtio-crypto.c | 3 +-
hw/virtio/virtio.c | 37 +++-
include/block/aio.h | 18 +-
include/exec/memory.h | 5 +
include/exec/user/abitypes.h | 13 +-
include/hw/boards.h | 2 +
include/hw/i2c/aspeed_i2c.h | 4 +-
include/hw/qdev-core.h | 7 +
include/hw/virtio/virtio-gpu-bswap.h | 3 +
include/qemu/main-loop.h | 7 +-
include/sysemu/kvm.h | 2 +
linux-user/elfload.c | 3 +-
linux-user/riscv/signal.c | 4 +-
migration/block.c | 11 +-
python/.gitignore | 4 +-
python/Makefile | 53 +++--
python/Pipfile | 13 --
python/Pipfile.lock | 347 ---------------------------------
python/README.rst | 3 -
python/setup.cfg | 4 +-
python/tests/minreqs.txt | 45 +++++
qemu-options.hx | 20 +-
scripts/checkpatch.pl | 8 +
softmmu/memory.c | 16 ++
target/arm/kvm.c | 7 +
target/arm/kvm64.c | 1 +
target/arm/sme_helper.c | 2 +-
target/arm/translate.c | 2 +-
target/i386/kvm/kvm.c | 5 +
target/mips/kvm.c | 2 +-
target/mips/kvm_mips.h | 9 -
target/ppc/cpu.c | 1 +
target/ppc/kvm.c | 5 +
target/riscv/kvm.c | 5 +
target/riscv/pmp.c | 4 +
target/s390x/kvm/kvm.c | 5 +
target/s390x/tcg/translate_vx.c.inc | 6 +-
target/s390x/tcg/vec_helper.c | 2 +-
target/s390x/tcg/vec_string_helper.c | 54 ++---
tests/docker/dockerfiles/python.docker | 1 -
tests/qemu-iotests/181 | 2 +-
tests/qtest/libqos/ahci.c | 106 +++++++---
tests/qtest/libqos/ahci.h | 8 +-
tests/qtest/test-hmp.c | 6 +-
tests/unit/ptimer-test-stubs.c | 3 +-
ui/console.c | 3 +
util/async.c | 20 +-
util/main-loop.c | 6 +-
util/trace-events | 1 +
102 files changed, 656 insertions(+), 639 deletions(-)

diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py
index 632c8bcce8..b929571eed 100755
Michael Tokarev <mjt@tls.msk.ru> not-needed 2023-09-21
v7.2.7.diff v7.2.7
This is a difference between upstream qemu v7.2.6
and upstream qemu v7.2.7.
--
VERSION | 2 +-
accel/tcg/tcg-accel-ops-mttcg.c | 9 +---
block/nvme.c | 7 +--
chardev/char-pty.c | 22 +++++++--
disas/riscv.c | 4 +-
hw/audio/es1370.c | 2 +-
hw/cxl/cxl-host.c | 12 ++---
hw/display/ati.c | 8 ++++
hw/display/ati_2d.c | 75 +++++++++++++++++++++---------
hw/display/ati_int.h | 1 +
hw/display/ramfb.c | 1 +
hw/i386/amd_iommu.c | 9 +---
hw/i386/amd_iommu.h | 2 -
hw/ide/core.c | 14 +++---
hw/input/lasips2.c | 10 ++++
hw/misc/led.c | 2 +-
hw/ppc/ppc.c | 97 +++++++++++++++++++++++---------------
hw/rdma/vmw/pvrdma_main.c | 16 ++++++-
hw/scsi/esp.c | 5 +-
hw/scsi/scsi-disk.c | 9 +++-
hw/sd/sdhci.c | 15 ++++--
include/qemu/host-utils.h | 21 ++++++++-
linux-user/hppa/signal.c | 8 ++--
linux-user/mips/cpu_loop.c | 4 +-
linux-user/sh4/signal.c | 8 ++++
linux-user/syscall.c | 43 -----------------
meson.build | 2 -
migration/migration.c | 9 +++-
pc-bios/optionrom/Makefile | 2 +-
qemu-img.c | 13 +++++-
scripts/analyze-migration.py | 6 +--
scripts/tracetool/__init__.py | 2 +-
target/arm/helper.c | 9 ++++
target/arm/internals.h | 1 -
target/arm/ptw.c | 89 ++++++++++++++++++++++++-----------
target/i386/tcg/decode-new.c.inc | 98 ++++++++++++++++++++++-----------------
target/i386/tcg/decode-new.h | 2 +-
target/i386/tcg/emit.c.inc | 30 ++++++++++--
target/mips/tcg/msa.decode | 4 +-
target/mips/tcg/tx79.decode | 2 +-
target/s390x/tcg/insn-data.h.inc | 2 +-
target/s390x/tcg/translate.c | 19 +++++++-
target/tricore/cpu.c | 6 +--
target/tricore/cpu.h | 2 +-
target/tricore/op_helper.c | 4 +-
tests/migration/s390x/Makefile | 4 +-
tests/qemu-iotests/024 | 57 +++++++++++++++++++++++
tests/qemu-iotests/024.out | 30 ++++++++++++
tests/qtest/ahci-test.c | 86 +++++++++++++++++++++++++++++++++-
tests/tcg/Makefile.target | 2 +-
tests/tcg/aarch64/Makefile.target | 2 +-
tests/tcg/arm/Makefile.target | 2 +-
tests/tcg/cris/Makefile.target | 2 +-
tests/tcg/hexagon/Makefile.target | 2 +-
tests/tcg/i386/Makefile.target | 2 +-
tests/tcg/i386/test-avx.py | 2 +-
tests/tcg/minilib/Makefile.target | 2 +-
tests/tcg/mips/Makefile.target | 2 +-
tests/tcg/mips/hello-mips.c | 4 +-
tests/tcg/s390x/Makefile.target | 1 +
tests/tcg/s390x/laalg.c | 27 +++++++++++
ui/gtk-egl.c | 14 +++---
ui/gtk.c | 10 ++++
ui/vnc.c | 6 +--
64 files changed, 686 insertions(+), 279 deletions(-)

diff --git a/VERSION b/VERSION
index ba6a7620d4..4afc54e7b7 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2023-11-21
v7.2.8.diff v7.2.8
This is a difference between upstream qemu v7.2.7
and upstream qemu v7.2.8.

VERSION | 2 +-
block/vmdk.c | 28 +++++++---
docs/devel/testing.rst | 4 +-
hw/acpi/erst.c | 10 ++++
hw/audio/hda-codec.c | 29 +++++++---
hw/ide/ahci.c | 27 ++++++++-
hw/mips/malta.c | 4 +-
hw/misc/mps2-scc.c | 8 +++
hw/net/allwinner-sun8i-emac.c | 3 +-
hw/net/allwinner_emac.c | 3 +-
hw/net/cadence_gem.c | 3 +-
hw/net/dp8393x.c | 3 +-
hw/net/e1000.c | 3 +-
hw/net/e1000e.c | 2 +-
hw/net/eepro100.c | 4 +-
hw/net/etraxfs_eth.c | 3 +-
hw/net/fsl_etsec/etsec.c | 3 +-
hw/net/ftgmac100.c | 3 +-
hw/net/i82596.c | 2 +-
hw/net/imx_fec.c | 2 +-
hw/net/lan9118.c | 3 +-
hw/net/mcf_fec.c | 3 +-
hw/net/mipsnet.c | 3 +-
hw/net/msf2-emac.c | 3 +-
hw/net/mv88w8618_eth.c | 3 +-
hw/net/ne2000-isa.c | 3 +-
hw/net/ne2000-pci.c | 3 +-
hw/net/npcm7xx_emc.c | 3 +-
hw/net/opencores_eth.c | 3 +-
hw/net/pcnet.c | 3 +-
hw/net/rocker/rocker_fp.c | 4 +-
hw/net/rtl8139.c | 3 +-
hw/net/smc91c111.c | 3 +-
hw/net/spapr_llan.c | 3 +-
hw/net/stellaris_enet.c | 3 +-
hw/net/sungem.c | 2 +-
hw/net/sunhme.c | 3 +-
hw/net/tulip.c | 3 +-
hw/net/virtio-net.c | 6 +-
hw/net/vmxnet3.c | 2 +-
hw/net/xen_nic.c | 3 +-
hw/net/xgmac.c | 3 +-
hw/net/xilinx_axienet.c | 3 +-
hw/net/xilinx_ethlite.c | 3 +-
hw/nvram/xlnx-efuse.c | 8 +++
hw/nvram/xlnx-versal-efuse-ctrl.c | 8 +++
hw/pci/msix.c | 1 +
hw/pci/pcie_sriov.c | 1 -
hw/usb/dev-network.c | 3 +-
hw/virtio/virtio-iommu-pci.c | 8 +++
hw/virtio/virtio-pci.c | 1 +
include/hw/virtio/virtio-pci.h | 1 +
include/net/net.h | 2 +
linux-user/elfload.c | 2 +-
net/net.c | 15 +++++
softmmu/memory.c | 32 +----------
target/arm/cpu.c | 10 ++++
target/arm/helper.c | 22 +++++++-
target/arm/sme_helper.c | 10 ++--
target/arm/syndrome.h | 6 +-
tests/avocado/cpu_queries.py | 2 +-
tests/avocado/empty_cpu_model.py | 2 +-
tests/avocado/pc_cpu_hotplug_props.py | 2 +-
tests/avocado/version.py | 2 +-
tests/avocado/x86_cpu_model_versions.py | 97 +++++++++++++++++----------------
tests/qemu-iotests/059 | 2 +
tests/qemu-iotests/059.out | 4 ++
ui/gtk-egl.c | 7 +++
ui/vnc-clipboard.c | 5 ++
69 files changed, 317 insertions(+), 156 deletions(-)

diff --git a/VERSION b/VERSION
index 4afc54e7b7..31554632ab 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2023-12-22
v7.2.9.diff v7.2.9
This is a difference between upstream qemu v7.2.9
and upstream qemu v7.2.9.

.gitlab-ci.d/buildtest.yml | 5 +-
.readthedocs.yml | 19 +-
VERSION | 2 +-
accel/tcg/cpu-exec.c | 4 +-
accel/tcg/tb-maint.c | 6 +-
accel/tcg/translate-all.c | 2 -
block/blklogwrites.c | 35 ++-
block/io.c | 10 +
block/snapshot.c | 4 +-
chardev/char.c | 2 +-
docs/requirements.txt | 2 +
hw/block/pflash_cfi01.c | 171 ++++++------
hw/block/pflash_cfi02.c | 2 +-
hw/block/trace-events | 7 +-
hw/intc/arm_gicv3_cpuif.c | 17 +-
hw/net/virtio-net.c | 13 +-
hw/scsi/esp-pci.c | 61 ++--
include/exec/exec-all.h | 6 -
include/hw/elf_ops.h | 2 +-
monitor/qmp.c | 17 --
qapi/qmp-dispatch.c | 24 +-
softmmu/vl.c | 4 +
target/i386/cpu.h | 9 +-
target/i386/tcg/tcg-cpu.c | 25 +-
target/i386/tcg/translate.c | 22 +-
target/riscv/csr.c | 14 +-
target/s390x/tcg/translate.c | 3 +-
target/xtensa/mmu_helper.c | 47 +++-
tests/qemu-iotests/060.out | 4 +-
tests/qemu-iotests/071.out | 4 +-
tests/qemu-iotests/081.out | 16 +-
tests/qemu-iotests/087.out | 12 +-
tests/qemu-iotests/108.out | 2 +-
tests/qemu-iotests/109 | 4 +-
tests/qemu-iotests/109.out | 78 +++---
tests/qemu-iotests/117.out | 2 +-
tests/qemu-iotests/120.out | 2 +-
tests/qemu-iotests/127.out | 2 +-
tests/qemu-iotests/140.out | 2 +-
tests/qemu-iotests/141 | 307 +++++++++------------
tests/qemu-iotests/141.out | 200 +++-----------
tests/qemu-iotests/143.out | 2 +-
tests/qemu-iotests/156.out | 2 +-
tests/qemu-iotests/176.out | 16 +-
tests/qemu-iotests/182.out | 2 +-
tests/qemu-iotests/183.out | 4 +-
tests/qemu-iotests/184.out | 32 +--
tests/qemu-iotests/185 | 6 +-
tests/qemu-iotests/185.out | 45 ++-
tests/qemu-iotests/191.out | 16 +-
tests/qemu-iotests/195.out | 16 +-
tests/qemu-iotests/223.out | 12 +-
tests/qemu-iotests/227.out | 32 +--
tests/qemu-iotests/247.out | 2 +-
tests/qemu-iotests/273.out | 8 +-
tests/qemu-iotests/308 | 4 +-
tests/qemu-iotests/308.out | 2 +-
tests/qemu-iotests/iotests.py | 7 +
tests/qemu-iotests/tests/qcow2-internal-snapshots | 170 ++++++++++++
.../tests/qcow2-internal-snapshots.out | 107 +++++++
tests/qemu-iotests/tests/qsd-jobs.out | 4 +-
tests/qtest/meson.build | 1 +
62 files changed, 979 insertions(+), 681 deletions(-)

diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index 10886bb414..7243b8079b 100644
not-needed 2024-01-29
v7.2.10.diff v7.2.10
This is a difference between upstream qemu v7.2.9
and upstream qemu v7.2.10.

.gitlab-ci.d/cirrus/build.yml | 2 +-
.gitlab-ci.d/windows.yml | 34 ------------------
VERSION | 2 +-
audio/meson.build | 3 +-
block/blkio.c | 2 +-
docs/interop/vhost-user.rst | 6 ++--
docs/system/keys.rst.inc | 13 +++----
hw/arm/smmu-common.c | 2 ++
hw/cxl/cxl-cdat.c | 11 ++++--
hw/cxl/cxl-component-utils.c | 2 +-
hw/i386/acpi-build.c | 2 +-
hw/i386/sgx-stub.c | 2 +-
hw/nvme/ctrl.c | 2 +-
hw/pci-host/designware.c | 2 ++
hw/rtc/pl031.c | 1 +
hw/smbios/smbios.c | 12 +++++++
hw/usb/bus.c | 5 +--
hw/virtio/virtio-iommu.c | 4 +--
linux-user/aarch64/target_prctl.h | 29 +++++++++-------
migration/migration.c | 2 ++
qemu-options.hx | 14 ++++++--
softmmu/vl.c | 24 +++++++------
target/arm/helper.c | 30 ++++++++++++++--
target/arm/sme_helper.c | 8 ++---
target/arm/sve_helper.c | 12 +++----
target/arm/syndrome.h | 8 +++++
target/arm/translate-sve.c | 16 ++++-----
target/i386/cpu.c | 6 ++--
target/i386/cpu.h | 6 ++++
target/i386/kvm/kvm.c | 3 +-
target/i386/tcg/sysemu/excp_helper.c | 45 +++++++++++-------------
target/i386/tcg/sysemu/misc_helper.c | 3 ++
target/i386/tcg/sysemu/svm_helper.c | 27 +++++++++++----
target/i386/tcg/translate.c | 11 +++---
target/ppc/translate/vsx-impl.c.inc | 2 +-
tests/data/acpi/q35/DSDT.cxl | Bin 9636 -> 9637 bytes
tests/qemu-iotests/144 | 12 ++++++-
tests/qemu-iotests/144.out | 2 +-
tests/qtest/display-vga-test.c | 65 ++++++++++++++---------------------
tests/unit/test-blockjob.c | 9 ++++-
tests/unit/test-util-sockets.c | 1 +
tests/unit/test-vmstate.c | 5 ++-
tests/vm/Makefile.include | 2 +-
tests/vm/basevm.py | 4 +--
tests/vm/openbsd | 9 ++---
ui/clipboard.c | 26 ++++++++++++--
ui/console.c | 2 +-
ui/meson.build | 6 ++--
ui/vnc.c | 5 +++
49 files changed, 299 insertions(+), 202 deletions(-)

diff --git a/.gitlab-ci.d/cirrus/build.yml b/.gitlab-ci.d/cirrus/build.yml
index 7ef6af8d33..d8cf08dc14 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2024-03-04
v7.2.11.diff v7.2.11
This is a difference between upstream qemu v7.2.10
and upstream qemu v7.2.11.


.gitlab-ci.d/cirrus.yml | 4 +-
VERSION | 2 +-
backends/cryptodev-builtin.c | 4 +-
hw/acpi/hmat.c | 6 +-
hw/block/nand.c | 55 +++++++----
hw/char/virtio-serial-bus.c | 3 +-
hw/core/machine.c | 1 +
hw/display/virtio-gpu.c | 6 +-
hw/intc/arm_gicv3_cpuif.c | 4 +-
hw/misc/applesmc.c | 1 +
hw/net/e1000e_core.c | 60 ++----------
hw/net/e1000e_core.h | 2 -
hw/net/lan9118.c | 28 +++++-
hw/net/pcnet.c | 2 +-
hw/net/virtio-net.c | 8 +-
hw/nvme/ctrl.c | 178 +++++++++++++++++++----------------
hw/nvme/nvme.h | 1 +
hw/pci/pcie_sriov.c | 8 ++
hw/ppc/spapr.c | 9 +-
hw/ppc/spapr_irq.c | 6 +-
hw/rtc/sun4v-rtc.c | 2 +-
hw/scsi/lsi53c895a.c | 60 +++++++++---
hw/scsi/scsi-generic.c | 1 -
hw/scsi/trace-events | 2 +
hw/sd/sdhci.c | 8 ++
hw/virtio/virtio-crypto.c | 4 +-
hw/virtio/virtio.c | 22 ++++-
include/hw/pci/pcie_sriov.h | 3 +
include/hw/ppc/spapr_irq.h | 14 ++-
include/hw/rtc/sun4v-rtc.h | 2 +-
include/hw/virtio/virtio.h | 7 ++
linux-user/syscall.c | 22 +++--
migration/block.c | 5 +-
monitor/misc.c | 2 +-
qemu-options.hx | 6 +-
scripts/make-release | 2 +-
softmmu/qdev-monitor.c | 23 +++--
target/arm/helper.c | 96 +++++++++++++++----
target/arm/translate-sme.c | 24 +++--
target/hppa/translate.c | 1 +
target/i386/cpu-param.h | 2 +-
target/i386/cpu.h | 50 +++++++---
target/i386/helper.c | 2 +-
target/i386/tcg/sysemu/excp_helper.c | 7 +-
target/loongarch/cpu.c | 72 +++++++-------
target/sh4/translate.c | 3 +
tcg/optimize.c | 19 ++--
tests/tcg/aarch64/Makefile.target | 12 ++-
tests/tcg/aarch64/sme-outprod1.c | 83 ++++++++++++++++
tests/tcg/aarch64/sysregs.c | 27 ++++--
tests/tcg/aarch64/test-2150.c | 12 +++
tests/tcg/aarch64/test-2248.c | 28 ++++++
tests/unit/meson.build | 8 +-
ui/cocoa.m | 7 ++
54 files changed, 708 insertions(+), 318 deletions(-)

diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml
index 634a73a742..c86487da5b 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2024-04-24
v7.2.12.diff v7.2.12
This is a difference between upstream qemu v7.2.11
and upstream qemu v7.2.12.


.gitlab-ci.d/cirrus.yml | 2 +
.gitlab-ci.d/edk2.yml | 85 -------------------
.gitlab-ci.d/edk2/Dockerfile | 27 ------
.gitlab-ci.d/opensbi.yml | 4 +-
.gitlab-ci.d/opensbi/Dockerfile | 1 +
.gitlab-ci.d/qemu-project.yml | 1 -
.gitlab-ci.d/windows.yml | 4 +-
MAINTAINERS | 2 -
VERSION | 2 +-
backends/cryptodev-builtin.c | 9 +-
disas/riscv.c | 65 ++++++++++++++-
hw/arm/npcm7xx.c | 3 +-
hw/dma/xlnx_dpdma.c | 20 ++---
hw/intc/arm_gic.c | 4 +-
hw/intc/riscv_aplic.c | 6 +-
hw/remote/vfio-user-obj.c | 4 +-
linux-user/syscall.c | 9 +-
nbd/client.c | 28 ++++++-
nbd/common.c | 11 ---
nbd/nbd-internal.h | 10 ---
nbd/server.c | 130 ++++++++++++++++++-----------
target/arm/cpu64.c | 6 +-
target/arm/hvf/hvf.c | 160 ++++++++++++++++++------------------
target/i386/kvm/hyperv.c | 2 +-
target/i386/tcg/decode-new.c.inc | 4 +-
target/i386/tcg/fpu_helper.c | 5 ++
target/i386/tcg/translate.c | 31 +++----
target/loongarch/cpu.c | 2 +-
tests/avocado/boot_linux_console.py | 40 ++++-----
tests/avocado/replay_kernel.py | 8 +-
ui/gtk-egl.c | 2 +-
ui/gtk-gl-area.c | 2 +-
ui/gtk.c | 28 +++++--
ui/sdl2.c | 1 +
34 files changed, 360 insertions(+), 358 deletions(-)

diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml
index c86487da5b..f6e97c47f1 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2024-06-09
v7.2.13.diff v7.2.13
This is a difference between upstream qemu v7.2.12
and upstream qemu v7.2.13.

.gitlab-ci.d/buildtest.yml | 34 ++++------
.gitlab-ci.d/container-core.yml | 4 +-
.gitlab-ci.d/container-cross.yml | 1 +
VERSION | 2 +-
block.c | 76 ++++++++++++++--------
block/qcow2.c | 17 ++++-
chardev/char-stdio.c | 4 ++
docs/devel/testing.rst | 6 ++
hw/display/vga.c | 7 ++
hw/net/virtio-net.c | 18 +++--
hw/virtio/virtio.c | 1 -
linux-user/syscall.c | 10 ++-
target/arm/vec_helper.c | 4 +-
target/i386/cpu.c | 6 +-
target/i386/tcg/translate.c | 2 +-
tcg/loongarch64/tcg-target.c.inc | 32 +++++----
.../dockerfiles/{centos8.docker => centos9.docker} | 11 ++--
tests/docker/dockerfiles/fedora-win32-cross.docker | 4 +-
tests/docker/dockerfiles/fedora-win64-cross.docker | 4 +-
tests/docker/dockerfiles/fedora.docker | 4 +-
tests/docker/dockerfiles/opensuse-leap.docker | 22 +++----
tests/docker/dockerfiles/ubuntu2004.docker | 2 +-
tests/lcitool/libvirt-ci | 2 +-
tests/lcitool/mappings.yml | 60 +++++++++++++++++
tests/lcitool/refresh | 8 +--
tests/lcitool/targets/centos-stream-8.yml | 3 +
tests/lcitool/targets/opensuse-leap-153.yml | 3 +
tests/qemu-iotests/061 | 6 +-
tests/qemu-iotests/061.out | 8 ++-
tests/qemu-iotests/244 | 19 +++++-
tests/qemu-iotests/270 | 14 +++-
tests/vm/centos | 4 +-
32 files changed, 270 insertions(+), 128 deletions(-)

diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index 7243b8079b..9b6da37582 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2024-07-16
v7.2.14.diff v7.2.14
This is a difference between upstream qemu v7.2.13
and upstream qemu v7.2.14.

.gitlab-ci.d/container-cross.yml | 6 -
.gitlab-ci.d/crossbuilds.yml | 14 -
.gitlab-ci.d/custom-runners.yml | 2 +-
...untu-20.04-s390x.yml => ubuntu-22.04-s390x.yml} | 28 +-
VERSION | 2 +-
block/blkio.c | 6 +-
block/monitor/block-hmp-cmds.c | 3 +-
block/vvfat.c | 27 +-
blockdev-nbd.c | 59 +-
chardev/char-win-stdio.c | 5 +
crypto/pbkdf-gcrypt.c | 2 +-
crypto/pbkdf-gnutls.c | 2 +-
crypto/pbkdf.c | 53 +-
crypto/tlscredspsk.c | 1 +
docs/sphinx/depfile.py | 2 +-
hw/arm/mps2-tz.c | 6 +-
hw/char/bcm2835_aux.c | 2 +-
hw/core/ptimer.c | 4 +-
hw/cxl/cxl-host.c | 3 +-
hw/display/vhost-user-gpu.c | 2 +-
hw/i386/amd_iommu.c | 8 +-
hw/i386/intel_iommu_internal.h | 2 +-
hw/i386/sgx.c | 6 +-
hw/intc/arm_gic.c | 11 +-
hw/intc/loongarch_ipi.c | 9 +-
hw/misc/bcm2835_property.c | 27 +-
hw/net/virtio-net.c | 31 +-
hw/nvme/ctrl.c | 1 +
hw/sd/sdhci.c | 1 +
hw/virtio/virtio.c | 64 +-
include/block/nbd.h | 18 +-
include/exec/ramlist.h | 1 +
include/hw/virtio/virtio.h | 27 +-
meson.build | 4 +
nbd/server.c | 46 +-
nbd/trace-events | 1 +
qapi/block-export.json | 4 +-
qapi/qom.json | 3 +-
qemu-nbd.c | 4 +-
softmmu/physmem.c | 35 +-
target/arm/helper-sme.h | 2 +-
target/arm/helper.c | 2 +-
target/arm/sme_helper.c | 49 +-
target/arm/translate-sme.c | 43 +-
target/arm/translate-sve.c | 18 +-
target/i386/tcg/decode-new.c.inc | 5 +-
target/rx/translate.c | 3 +-
tests/docker/dockerfiles/debian-armel-cross.docker | 170 -----
tests/lcitool/refresh | 5 -
tests/qemu-iotests/check | 2 +-
tests/qemu-iotests/fat16.py | 690 +++++++++++++++++++++
tests/qemu-iotests/testenv.py | 2 +-
tests/qemu-iotests/tests/vvfat | 485 +++++++++++++++
tests/qemu-iotests/tests/vvfat.out | 5 +
tests/unit/ptimer-test.c | 33 +
util/async.c | 2 +-
util/module.c | 2 +-
57 files changed, 1683 insertions(+), 367 deletions(-)

diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml
index 24343192ac..f4c8642f5a 100644
Michael Tokarev <mjt@tls.msk.ru> not-needed 2024-09-18
v7.2.15.diff v7.2.15
This is a difference between upstream qemu v7.2.14
and upstream qemu v7.2.15.

.gitlab-ci.d/check-dco.py | 5 +-
.gitlab-ci.d/check-patch.py | 5 +-
VERSION | 2 +-
accel/kvm/kvm-all.c | 88 +++++++++++++++++++++++++++++-------
accel/kvm/trace-events | 1 +
block/copy-before-write.c | 3 +-
block/raw-format.c | 4 +-
block/reqlist.c | 2 -
hw/9pfs/9p.c | 5 ++
hw/audio/hda-codec.c | 14 +++---
hw/intc/arm_gicv3_cpuif.c | 2 +-
hw/intc/riscv_aplic.c | 38 ++++++++++++++--
hw/intc/sifive_plic.c | 6 ++-
hw/nvme/ctrl.c | 21 +++++----
hw/scsi/scsi-bus.c | 36 +++++++++++++--
hw/usb/dev-hub.c | 1 +
include/hw/misc/mos6522.h | 2 +-
include/hw/scsi/scsi.h | 1 +
include/sysemu/kvm_int.h | 1 +
linux-user/elfload.c | 12 ++---
linux-user/flatload.c | 3 ++
linux-user/ppc/signal.c | 2 +-
linux-user/syscall.c | 20 ++++++--
net/colo-compare.c | 3 +-
net/tap-win32.c | 15 +++---
scripts/oss-fuzz/build.sh | 1 +
scripts/tracetool/__init__.py | 14 +++---
scripts/tracetool/format/log_stap.py | 2 +-
softmmu/physmem.c | 2 +-
target/arm/internals.h | 5 +-
target/arm/sve_helper.c | 4 --
target/arm/vec_helper.c | 9 +++-
target/i386/cpu.h | 1 +
target/i386/tcg/seg_helper.c | 2 +-
target/i386/tcg/sysemu/excp_helper.c | 19 ++++++--
target/ppc/translate.c | 3 +-
target/ppc/translate/vsx-impl.c.inc | 2 +-
target/riscv/cpu.c | 1 +
target/riscv/cpu.h | 5 +-
target/riscv/csr.c | 4 +-
target/riscv/vector_helper.c | 2 +-
tcg/tcg-op-gvec.c | 15 +++++-
tcg/tcg.c | 2 +-
tests/qtest/tpm-tests.c | 2 +-
44 files changed, 276 insertions(+), 111 deletions(-)

diff --git a/.gitlab-ci.d/check-dco.py b/.gitlab-ci.d/check-dco.py
index b929571eed..8780d73e31 100755
Michael Tokarev <mjt@tls.msk.ru> not-needed 2024-11-21
microvm-default-machine-type.patch set default machine type to be microvm if CONFIG_MICROVM is defined
diff --git a/hw/i386/microvm.c b/hw/i386/microvm.c
index def37e60f79..35b948ffb11 100644
Michael Tokarev <mjt@tls.msk.ru> no 2020-02-22
skip-meson-pc-bios.diff do not include pc-bios/meson.build from main build as we build all firmware separately
pc-bios/meson.build tries to link various firmware files to the build
directory, but we DFSG-removed them so the build fails to find them.
Just disable entering the subdir entirely since we buile all the
necessary firmware in d/rules anyway.

diff --git a/meson.build b/meson.build
Michael Tokarev <mjt@tls.msk.ru> no
linux-user-binfmt-P.diff [PATCH, HACK]: linux-user: handle binfmt-misc P flag as a separate exe name
A hackish way to distinguish the case when qemu-user binary is executed
using in-kernel binfmt-misc subsystem with P flag (preserve argv).
We register binfmt interpreter under name /usr/libexec/qemu-binfmt/qemu-foo-binfmt-P
(which is just a symlink to ../../bin/qemu-foo), and if run like that,
qemu-user binary will "know" it should interpret argv[1] & argv[2]
in a special way.

diff --git a/linux-user/main.c b/linux-user/main.c
index e44bdb17b8..587bd02db2 100644
Michael Tokarev <mjt@tls.msk.ru> no 2021-02-13
note-missing-module-pkg-name.diff Note missing module package name
Debian ships different modules in different packages.
By default qemu ignores the fact that it can not load
a module, pretending this module never existed.
Give a useful hint about the package where the module
in question resides.

This is a hack, but it makes qemu a bit more user-friendly.

diff --git a/util/module.c b/util/module.c
index 32e263163c..2f3e35f781 100644
Michael Tokarev <mjt@tls.msk.ru> no 2021-08-22
openbios-address-of-packet-member.patch diff --git a/roms/openbios/drivers/usbohci.c b/roms/openbios/drivers/usbohci.c
index 774164b..42788a2 100644
no
openbios-array-bounds.diff diff --git a/roms/openbios/drivers/usb.c b/roms/openbios/drivers/usb.c
index 88b7580..03f6ebb 100644
no
openbios-array-bounds-gcc12.patch openbios: do not error-out array-bounds warning
gcc-12.2 produces an apparently wrong warning for this file:

roms/openbios/arch/ppc/qemu/init.c:400:10: error: \
array subscript 0 is outside array bounds of ‘uint32_t[0]’ {aka ‘unsigned int[]’} \
[-Werror=array-bounds]
400 | *dsi = 0x48002002;
| =====^===========

Turn this particular -Werror back into warning. Gcc is apparently wrong here.

index e40385a70b..2e214aa079 100644
Michael Tokarev <mjt@tls.msk.ru> no 2022-09-02
openbios-use-source_date_epoch-in-makefile.patch roms/openbios: Use SOURCE_DATE_EPOCH in Makefile.
Embedding the build time breaks reproducibility. Instead, use the date
specified by the SOURCE_DATE_EPOCH environment variable:

https://reproducible-builds.org/docs/source-date-epoch/

This patch relies on features of GNU date, and will need further
changes for portability to other systems.
Vagrant Cascadian <vagrant@reproducible-builds.org> no 2020-06-21

All known versions for source package 'qemu'

Links