Debian Patches

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

Patch Description Author Forwarded Bugs Origin Last update
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
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
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
ui-clipboard-mark-type-as-not-available-when-no-data-CVE-2023-6683.patch ui/clipboard: mark type as not available when there is no data
With VNC, a client can send a non-extended VNC_MSG_CLIENT_CUT_TEXT
message with len=0. In qemu_clipboard_set_data(), the clipboard info
will be updated setting data to NULL (because g_memdup(data, size)
returns NULL when size is 0). If the client does not set the
VNC_ENCODING_CLIPBOARD_EXT feature when setting up the encodings, then
the 'request' callback for the clipboard peer is not initialized.
Later, because data is NULL, qemu_clipboard_request() can be reached
via vdagent_chr_write() and vdagent_clipboard_recv_request() and
there, the clipboard owner's 'request' callback will be attempted to
be called, but that is a NULL pointer.

In particular, this can happen when using the KRDC (22.12.3) VNC
client.

Another scenario leading to the same issue is with two clients (say
noVNC and KRDC):

The noVNC client sets the extension VNC_FEATURE_CLIPBOARD_EXT and
initializes its cbpeer.

The KRDC client does not, but triggers a vnc_client_cut_text() (note
it's not the _ext variant)). There, a new clipboard info with it as
the 'owner' is created and via qemu_clipboard_set_data() is called,
which in turn calls qemu_clipboard_update() with that info.

In qemu_clipboard_update(), the notifier for the noVNC client will be
called, i.e. vnc_clipboard_notify() and also set vs->cbinfo for the
noVNC client. The 'owner' in that clipboard info is the clipboard peer
for the KRDC client, which did not initialize the 'request' function.
That sounds correct to me, it is the owner of that clipboard info.

Then when noVNC sends a VNC_MSG_CLIENT_CUT_TEXT message (it did set
the VNC_FEATURE_CLIPBOARD_EXT feature correctly, so a check for it
passes), that clipboard info is passed to qemu_clipboard_request() and
the original segfault still happens.

Fix the issue by handling updates with size 0 differently. In
particular, mark in the clipboard info that the type is not available.

While at it, switch to g_memdup2(), because g_memdup() is deprecated.
Fiona Ebner <f.ebner@proxmox.com> invalid upstream, https://lists.nongnu.org/archive/html/qemu-devel/2024-01/msg04742.html 2024-01-24
revert-monitor-only-run-coroutine-commands-in-qemu_aio_context.patch [PATCH] Revert "monitor: only run coroutine commands in qemu_aio_context"

This reverts commit 8ec90598e922a604c222bdbc6289bed7279dced6.
Causes a regression at least in suspend-resume-hibernate cycle,
let's revert it to restore the status quo for now.
Michael Tokarev <mjt@tls.msk.ru> no 2024-02-06

All known versions for source package 'qemu'

Links