Merge qemu from Debian unstable for mantic

Bug #2018103 reported by Bryce Harrington
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Fix Released
Undecided
Sergio Durigan Junior

Bug Description

Upstream: tbd
Debian: 1:7.2+dfsg-5 1:8.0+dfsg-4
Ubuntu: 1:7.2+dfsg-5ubuntu2

Debian new has 1:8.0+dfsg-4, which may be available for merge soon.

If it turns out this needs a sync rather than a merge, please change the tag 'needs-merge' to 'needs-sync', and (optionally) update the title as desired.

### New Debian Changes ###

qemu (1:7.2+dfsg-5) unstable; urgency=medium

  * d/qemu-guest-agent.udev: fix missing comma
    (Christian Schneider <email address hidden>, Closes: #1031838)
  * remove qemu-make-debian-root.
    Ths script debian/qemu-make-debian-root has been broken for ages.
    In 2023, it creates /etc/fstab with a reference to /dev/hda1, and
    edits /etc/inittab which does not exist. And no one noticed, - so
    it's safe to assume it is not used anymore. Just remove it.
  * re-pick qemu-stable patches from master (the same patch contents):
    master/tests-tcg-i386-Introduce-and-use-reg_t-consistently.patch
    master/target-i386-Fix-BEXTR-instruction.patch
    master/target-i386-Fix-C-flag-for-BLSI-BLSMSK-BLSR.patch
    master/target-i386-fix-ADOX-followed-by-ADCX.patch
  * 20 more changes picked from upstream/master:
    master/target-i386-Fix-BZHI-instruction.patch
    master/block-iscsi-fix-double-free-on-BUSY-or-similar-status.patch
    master/hw-smbios-fix-field-corruption-in-type-4-table.patch
    master/Revert-x86-do-not-re-randomize-RNG-seed-on-snapshot-.patch
    master/Revert-x86-re-initialize-RNG-seed-when-selecting-ker.patch
    master/Revert-x86-reinitialize-RNG-seed-on-system-reboot.patch
    master/Revert-x86-use-typedef-for-SetupData-struct.patch
    master/Revert-x86-return-modified-setup_data-only-if-read-a.patch
    master/Revert-hw-i386-pass-RNG-seed-via-setup_data-entry.patch
    master/vhost-user-gpio-Configure-vhost_dev-when-connecting.patch
    master/vhost-user-i2c-Back-up-vqs-before-cleaning-up-vhost_.patch
    master/vhost-user-rng-Back-up-vqs-before-cleaning-up-vhost_.patch
    master/virtio-rng-pci-fix-migration-compat-for-vectors.patch
    master/virtio-rng-pci-fix-transitional-migration-compat-for.patch
    master/hw-timer-hpet-Fix-expiration-time-overflow.patch
    master/vdpa-stop-all-svq-on-device-deletion.patch
    master/vhost-avoid-a-potential-use-of-an-uninitialized-vari.patch
    master/libvhost-user-check-for-NULL-when-allocating-a-virtq.patch
    master/chardev-char-socket-set-s-listener-NULL-in-char_sock.patch
    master/intel-iommu-fail-MAP-notifier-without-caching-mode.patch
    master/intel-iommu-fail-DEVIOTLB_UNMAP-without-dt-mode.patch

 -- Michael Tokarev <email address hidden> Sun, 05 Mar 2023 20:09:04 +0300

qemu (1:7.2+dfsg-4) unstable; urgency=medium

  * block-fix-detect-zeroes-with-BDRV_REQ_REGISTERED_BUF.patch:
    re-pick now from master (the same patch, moved to master/).
  * revert x86-don-t-let-decompressed-kernel-image-clobber-setu.patch
    Closes: ##1031682 .
    This turned out to be wrong move, breaking more stuff than fixing.
    Upstream is going to revert it too.

 -- Michael Tokarev <email address hidden> Mon, 20 Feb 2023 21:00:18 +0300

qemu (1:7.2+dfsg-3) unstable; urgency=medium

  [ Paride Legovini ]
  * Disable LTO on non-amd64 builds (LP: #1921664)

  [ Michael Tokarev ]
  * target-arm-Fix-physical-address-resolution-for-Stage2.patch:
    re-fetch now from master branch
  * 4 more patches picked from master:
    x86-don-t-let-decompressed-kernel-image-clobber-setu.patch
    migration-ram-Fix-error-handling-in-ram_write_tracki.patch
    migration-ram-Fix-populate_read_range.patch
    qcow2-Fix-theoretical-corruption-in-store_bitmap-err.patch
  * 5 fixes picked from current pullreqs:
    block-fix-detect-zeroes-with-BDRV_REQ_REGISTERED_BUF.patch
    tests_tcg_i386-introduce-and-use-reg_t-consistently.patch
    target_i386-fix-BEXTR-instruction.patch
    target_i386-fix-C-flag-for-BLSI-BLSMSK-BLSR.patch
    target_i386-fix-ADOX-followed-by-ADCX.patch
  * disable dwz on certain architectures for older dwz
    (FTBFS on bullseye, #968670)

 -- Michael Tokarev <email address hidden> Fri, 10 Feb 2023 14:29:12 +0300

qemu (1:7.2+dfsg-2) unstable; urgency=medium

  * d/rules: add -ffile-prefix-map when building skiboot
  * d/control: provide qemu-kvm in qemu-system-misc on s390x
    (Closes: #1029309)
  * d/control: drop dependency of qemu-guest-agent on lsb-base
  * Picked patches from qemu master branch tagged for qemu-stable
    up to commit deabea6e88 (2023-02-02):
    target-sh4-Mask-restore-of-env-flags-from-tb-flags.patch
    vhost-fix-vq-dirty-bitmap-syncing-when-vIOMMU-is-ena.patch
    virtio-mem-Fix-the-bitmap-index-of-the-section-offse.patch
    virtio-mem-Fix-the-iterator-variable-in-a-vmem-rdl_l.patch
    target-arm-fix-handling-of-HLT-semihosting-in-system.patch
    meson-accept-relative-symlinks-in-meson-introspect-i.patch
    target-riscv-Set-pc_succ_insn-for-rvc-illegal-insn.patch
    acpi-cpuhp-fix-guest-visible-maximum-access-size-to-.patch
    hw-nvme-fix-missing-endian-conversions-for-doorbell-.patch
    hw-nvme-fix-missing-cq-eventidx-update.patch
    configure-fix-GLIB_VERSION-for-cross-compilation.patch
    target-arm-Fix-sve_probe_page.patch
    target-arm-allow-writes-to-SCR_EL3.HXEn-bit-when-FEA.patch
    target-arm-Fix-in_debug-path-in-S1_ptw_translate.patch
  * Also: target-arm-Fix-physical-address-resolution-for-Stage.patch

 -- Michael Tokarev <email address hidden> Thu, 02 Feb 2023 21:17:10 +0300

### Old Ubuntu Delta ###

qemu (1:7.2+dfsg-5ubuntu2) lunar; urgency=medium

  * Fix FTBFS with glibc >= 2.36. (LP: #2015418)
    - d/p/fix-ftbfs-glibc-*.patch: Revert now-unnecessary
      upstream commits that were working around a glibc issue.

 -- Sergio Durigan Junior <email address hidden> Wed, 05 Apr 2023 20:10:13 -0400

qemu (1:7.2+dfsg-5ubuntu1) lunar; urgency=medium

  * Re-merge with Debian unstable to pick up stabilization fixes
    remaining changes:
    - qemu-kvm to systemd unit
      - d/qemu-kvm-init: script for QEMU KVM preparation modules, ksm,
        hugepages and architecture specifics
      - d/qemu-system-common.qemu-kvm.service: systemd unit to call
        qemu-kvm-init
      - d/qemu-system-common.install: install helper script
      - d/qemu-system-common.qemu-kvm.default: defaults for
        /etc/default/qemu-kvm
      - d/rules: call dh_installinit and dh_installsystemd for qemu-kvm
    - Distribution specific machine type
      (LP: 1304107 1621042 1776189 1761372 1761372 1776189)
      - d/p/ubuntu/define-ubuntu-machine-types.patch: define distro machine
        types containing release versioned machine attributes
      - d/qemu-system-x86.NEWS Info on fixed machine type defintions
        for host-phys-bits=true
      - Add an info about -hpb machine type in debian/qemu-system-x86.NEWS
      - ubuntu-q35 alias added to auto-select the most recent q35 ubuntu type
    - Enable nesting by default
      - d/p/ubuntu/enable-svm-by-default.patch: Enable nested svm by default
        in qemu64 on amd
        [ No more strictly needed, but required for backward compatibility ]
    - tolerate ipxe size change on migrations to >=18.04 (LP: 1713490)
      - d/p/ubuntu/pre-bionic-256k-ipxe-efi-roms.patch: old machine types
        reference 256k path
      - d/control-in: depend on ipxe-qemu-256k-compat-efi-roms to be able to
        handle incoming migrations from former releases.
    - d/qemu-system-x86.README.Debian: add info about updated nesting changes
    - Ease the use of module retention on upgrades (LP 1913421)
      - debian/qemu-block-extra.postinst: enable mount unit on install/upgrade
    - d/control-in: switch qemu-system-x86-xen to qemu-system-xen as this
      landed in Debian but under a different name.
    - Remaining GCC-12 FTBFS (LP 1988710 + LP 1921664)
      + d/p/u/qboot-Disable-LTO-for-ELF-binary-build-step.patch:
        fix qboot FTBFS with LTO
    - d/control-in: libnfs is in main since focal, enable direct nfs
      storage support (LP 1988704)
    - d/control-in: libsndio is in universe in ubuntu

 -- Christian Ehrhardt <email address hidden> Tue, 07 Mar 2023 08:50:45 +0100

Related branches

Bryce Harrington (bryce)
Changed in qemu (Ubuntu):
milestone: none → ubuntu-23.06
Changed in qemu (Ubuntu):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Changed in qemu (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu - 1:8.0.2+dfsg-2ubuntu1

---------------
qemu (1:8.0.2+dfsg-2ubuntu1) mantic; urgency=medium

  * Merge with Debian unstable (LP: #2018103). Remaining changes:
    - qemu-kvm to systemd unit
      - d/qemu-kvm-init: script for QEMU KVM preparation modules, ksm,
        hugepages and architecture specifics
      - d/qemu-system-common.qemu-kvm.service: systemd unit to call
        qemu-kvm-init
      - d/qemu-system-common.install: install helper script
      - d/qemu-system-common.qemu-kvm.default: defaults for
        /etc/default/qemu-kvm
      - d/rules: call dh_installinit and dh_installsystemd for qemu-kvm
    - Distribution specific machine type
      (LP 1304107 1621042 1776189 1761372 1761372 1776189)
      - d/p/ubuntu/define-ubuntu-machine-types.patch: define distro machine
        types containing release versioned machine attributes
      - Add an info about -hpb machine type in debian/qemu-system-x86.NEWS
      - ubuntu-q35 alias added to auto-select the most recent q35 ubuntu type
    - Enable nesting by default
      - d/p/ubuntu/enable-svm-by-default.patch: Enable nested svm by default
        in qemu64 on amd
        [ No more strictly needed, but required for backward compatibility ]
    - tolerate ipxe size change on migrations to >=18.04 (LP 1713490)
      - d/p/ubuntu/pre-bionic-256k-ipxe-efi-roms.patch: old machine types
        reference 256k path
      - d/control-in: depend on ipxe-qemu-256k-compat-efi-roms to be able to
        handle incoming migrations from former releases.
    - Ease the use of module retention on upgrades (LP 1913421)
      - debian/qemu-block-extra.postinst: enable mount unit on install/upgrade
    - Remaining GCC-12 FTBFS (LP 1988710 + LP 1921664)
      + d/p/u/qboot-Disable-LTO-for-ELF-binary-build-step.patch:
        fix qboot FTBFS with LTO
  * Drop changes:
    - d/control-in: libnfs is in main since focal, enable direct nfs
      storage support (LP 1988704)
      [ Adopted by Debian. ]
    - d/control-in: libsndio is in universe in ubuntu
      [ Adopted by Debian. ]
    - Fix FTBFS with glibc >= 2.36. (LP #2015418)
      + d/p/fix-ftbfs-glibc-*.patch: Revert now-unnecessary
        upstream commits that were working around a glibc issue.
      [ Incorporated upstream. ]
    - d/qemu-system-x86.README.Debian: add info about updated nesting changes
      [ Debian linked the qemu-system-x86 documentation with the
        qemu-system-common package, rendering this README file not
        applicable. ]
    - d/p/u/allow-repeating-hot-unplug-requests.patch: Allow repeating
      hot-unplug requests by making ACPI PCI able to requeue them.
      (LP #2018733)
      [ Applied upstream. ]

 -- Sergio Durigan Junior <email address hidden> Mon, 19 Jun 2023 15:45:09 -0400

Changed in qemu (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.