From 0705b7f108d6a27ba2d14ffb9eeecf4e25f6e86b7e442dca73c23e5ffaff5d80 Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Wed, 22 Apr 2020 17:49:55 +0000 Subject: [PATCH] Accepting request 796317 from home:bfrogers:branches:Virtualization - Minor tweaks to patches and support doc - Add gcc10-maybe-uninitialized.patch in order to fix boo#1169728. OBS-URL: https://build.opensuse.org/request/show/796317 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=543 --- bundles.tar.xz | 4 +- gcc10-maybe-uninitialized.patch | 30 ++++ ...ios-s390x-Save-iplb-location-in-lowc.patch | 2 +- qemu.changes | 11 ++ qemu.spec | 160 +++++++++--------- supported.x86.txt | 17 +- 6 files changed, 134 insertions(+), 90 deletions(-) create mode 100644 gcc10-maybe-uninitialized.patch diff --git a/bundles.tar.xz b/bundles.tar.xz index b3e2e2f..df16580 100644 --- a/bundles.tar.xz +++ b/bundles.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f7fba468b339538a09628a5a0b4521cd094b49037c1c7be7148a8c54330876ba -size 150040 +oid sha256:0b749677c0f64b90dcc12394d2fa25dd94a3e278a26fa16939c3a641f18c3b7b +size 153360 diff --git a/gcc10-maybe-uninitialized.patch b/gcc10-maybe-uninitialized.patch new file mode 100644 index 0000000..27f1095 --- /dev/null +++ b/gcc10-maybe-uninitialized.patch @@ -0,0 +1,30 @@ +From: Bruce Rogers +Date: Wed, 22 Apr 2020 08:50:55 -0600 +Subject: gcc10: maybe-uninitialized +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +References: boo#1169728 + +gcc 10 needs some help to understand that indeed cpu_irqs[0] does get +initialized in all cases. In this case an assert is sufficient. + +Reported-by: Martin Liška +Signed-off-by: Bruce Rogers +--- + hw/openrisc/openrisc_sim.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/hw/openrisc/openrisc_sim.c b/hw/openrisc/openrisc_sim.c +index 79e70493fc77e50556a4a92a4231..bc4b71059ff6d922e3cdc83bfc79 100644 +--- a/hw/openrisc/openrisc_sim.c ++++ b/hw/openrisc/openrisc_sim.c +@@ -134,6 +134,7 @@ static void openrisc_sim_init(MachineState *machine) + int n; + unsigned int smp_cpus = machine->smp.cpus; + ++ assert(smp_cpus >= 1 && smp_cpus <= 2); + for (n = 0; n < smp_cpus; n++) { + cpu = OPENRISC_CPU(cpu_create(machine->cpu_type)); + if (cpu == NULL) { diff --git a/pc-bios-s390x-Save-iplb-location-in-lowc.patch b/pc-bios-s390x-Save-iplb-location-in-lowc.patch index 4f957a2..6514eab 100644 --- a/pc-bios-s390x-Save-iplb-location-in-lowc.patch +++ b/pc-bios-s390x-Save-iplb-location-in-lowc.patch @@ -2,6 +2,7 @@ From: Janosch Frank Date: Wed, 4 Mar 2020 06:42:31 -0500 Subject: pc-bios: s390x: Save iplb location in lowcore +Git-commit: 9bfc04f9ef6802fff0fc77130ff345a541783363 References: bsc#1163140, bsc#1167075 The POP states that for a list directed IPL the IPLB is stored into @@ -23,7 +24,6 @@ Message-Id: <20200304114231.23493-19-frankja@linux.ibm.com> Reviewed-by: Christian Borntraeger Reviewed-by: David Hildenbrand Signed-off-by: Christian Borntraeger -(cherry picked from commit 9bfc04f9ef6802fff0fc77130ff345a541783363) Signed-off-by: Liang Yan Signed-off-by: Bruce Rogers --- diff --git a/qemu.changes b/qemu.changes index 304d8a3..77eb77f 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Apr 22 15:23:15 UTC 2020 - Bruce Rogers + +- Minor tweaks to patches and support doc + +------------------------------------------------------------------- +Tue Apr 21 13:24:59 UTC 2020 - Martin Liška + +- Add gcc10-maybe-uninitialized.patch in order to fix + boo#1169728. + ------------------------------------------------------------------- Fri Apr 17 19:23:38 UTC 2020 - Bruce Rogers diff --git a/qemu.spec b/qemu.spec index 7bd2a9e..a70e7f0 100644 --- a/qemu.spec +++ b/qemu.spec @@ -198,85 +198,85 @@ Patch00067: virtio-crypto-do-delete-ctrl_vq-in-virti.patch Patch00068: virtio-pmem-do-delete-rq_vq-in-virtio_pm.patch Patch00069: vhost-user-blk-delete-virtioqueues-in-un.patch Patch00070: hw-arm-cubieboard-use-ARM-Cortex-A8-as-t.patch -Patch00071: iotests-Fix-nonportable-use-of-od-endian.patch -Patch00072: block-qcow2-threads-fix-qcow2_decompress.patch -Patch00073: job-refactor-progress-to-separate-object.patch -Patch00074: block-block-copy-fix-progress-calculatio.patch -Patch00075: block-io-fix-bdrv_co_do_copy_on_readv.patch -Patch00076: scsi-qemu-pr-helper-Fix-out-of-bounds-ac.patch -Patch00077: target-ppc-Fix-rlwinm-on-ppc64.patch -Patch00078: compat-disable-edid-on-correct-virtio-gp.patch -Patch00079: ppc-ppc405_boards-Remove-unnecessary-NUL.patch -Patch00080: block-Avoid-memleak-on-qcow2-image-info-.patch -Patch00081: block-bdrv_set_backing_bs-fix-use-after-.patch -Patch00082: hmp-vnc-Fix-info-vnc-list-leak.patch -Patch00083: migration-colo-fix-use-after-free-of-loc.patch -Patch00084: migration-ram-fix-use-after-free-of-loca.patch -Patch00085: qcow2-List-autoclear-bit-names-in-header.patch -Patch00086: sheepdog-Consistently-set-bdrv_has_zero_.patch -Patch00087: target-arm-Fix-PAuth-sbox-functions.patch -Patch00088: tcg-i386-Fix-INDEX_op_dup2_vec.patch -Patch00089: net-tulip-check-frame-size-and-r-w-data-.patch -Patch00090: target-i386-do-not-set-unsupported-VMX-s.patch -Patch00091: spapr-Fix-failure-path-for-attempting-to.patch -Patch00092: xen-block-Fix-double-qlist-remove-and-re.patch -Patch00093: vpc-Don-t-round-up-already-aligned-BAT-s.patch -Patch00094: target-xtensa-fix-pasto-in-pfwait.r-opco.patch -Patch00095: aio-wait-delegate-polling-of-main-AioCon.patch -Patch00096: async-use-explicit-memory-barriers.patch -Patch00097: tcg-mips-mips-sync-encode-error.patch -Patch00098: vhost-user-gpu-Release-memory-returned-b.patch -Patch00099: XXX-dont-dump-core-on-sigabort.patch -Patch00100: qemu-binfmt-conf-Modify-default-path.patch -Patch00101: qemu-cvs-gettimeofday.patch -Patch00102: qemu-cvs-ioctl_debug.patch -Patch00103: qemu-cvs-ioctl_nodirection.patch -Patch00104: linux-user-add-binfmt-wrapper-for-argv-0.patch -Patch00105: PPC-KVM-Disable-mmu-notifier-check.patch -Patch00106: linux-user-binfmt-support-host-binaries.patch -Patch00107: linux-user-Fake-proc-cpuinfo.patch -Patch00108: linux-user-use-target_ulong.patch -Patch00109: Make-char-muxer-more-robust-wrt-small-FI.patch -Patch00110: linux-user-lseek-explicitly-cast-non-set.patch -Patch00111: AIO-Reduce-number-of-threads-for-32bit-h.patch -Patch00112: xen_disk-Add-suse-specific-flush-disable.patch -Patch00113: qemu-bridge-helper-reduce-security-profi.patch -Patch00114: qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch -Patch00115: linux-user-properly-test-for-infinite-ti.patch -Patch00116: roms-Makefile-pass-a-packaging-timestamp.patch -Patch00117: Raise-soft-address-space-limit-to-hard-l.patch -Patch00118: increase-x86_64-physical-bits-to-42.patch -Patch00119: vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch -Patch00120: i8254-Fix-migration-from-SLE11-SP2.patch -Patch00121: acpi_piix4-Fix-migration-from-SLE11-SP2.patch -Patch00122: Switch-order-of-libraries-for-mpath-supp.patch -Patch00123: Make-installed-scripts-explicitly-python.patch -Patch00124: hw-smbios-handle-both-file-formats-regar.patch -Patch00125: xen-add-block-resize-support-for-xen-dis.patch -Patch00126: tests-qemu-iotests-Triple-timeout-of-i-o.patch -Patch00127: tests-Fix-block-tests-to-be-compatible-w.patch -Patch00128: xen-ignore-live-parameter-from-xen-save-.patch -Patch00129: Conditionalize-ui-bitmap-installation-be.patch -Patch00130: tests-change-error-message-in-test-162.patch -Patch00131: hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch -Patch00132: hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch -Patch00133: hw-intc-exynos4210_gic-provide-more-room.patch -Patch00134: configure-only-populate-roms-if-softmmu.patch -Patch00135: pc-bios-s390-ccw-net-avoid-warning-about.patch -Patch00136: roms-change-cross-compiler-naming-to-be-.patch -Patch00137: tests-Disable-some-block-tests-for-now.patch -Patch00138: test-add-mapping-from-arch-of-i686-to-qe.patch -Patch00139: roms-Makefile-enable-cross-compile-for-b.patch -Patch00140: hw-i386-disable-smbus-migration-for-xenf.patch -Patch00141: s390x-Don-t-do-a-normal-reset-on-the-ini.patch -Patch00142: s390x-Move-reset-normal-to-shared-reset-.patch -Patch00143: s390x-Move-initial-reset.patch -Patch00144: s390x-Move-clear-reset.patch -Patch00145: s390x-kvm-Make-kvm_sclp_service_call-voi.patch -Patch00146: s390x-ipl-Consolidate-iplb-validity-chec.patch -Patch00147: s390x-Beautify-diag308-handling.patch -Patch00148: s390x-Add-missing-vcpu-reset-functions.patch -Patch00149: pc-bios-s390x-Save-iplb-location-in-lowc.patch +Patch00071: pc-bios-s390x-Save-iplb-location-in-lowc.patch +Patch00072: iotests-Fix-nonportable-use-of-od-endian.patch +Patch00073: block-qcow2-threads-fix-qcow2_decompress.patch +Patch00074: job-refactor-progress-to-separate-object.patch +Patch00075: block-block-copy-fix-progress-calculatio.patch +Patch00076: block-io-fix-bdrv_co_do_copy_on_readv.patch +Patch00077: scsi-qemu-pr-helper-Fix-out-of-bounds-ac.patch +Patch00078: target-ppc-Fix-rlwinm-on-ppc64.patch +Patch00079: compat-disable-edid-on-correct-virtio-gp.patch +Patch00080: ppc-ppc405_boards-Remove-unnecessary-NUL.patch +Patch00081: block-Avoid-memleak-on-qcow2-image-info-.patch +Patch00082: block-bdrv_set_backing_bs-fix-use-after-.patch +Patch00083: hmp-vnc-Fix-info-vnc-list-leak.patch +Patch00084: migration-colo-fix-use-after-free-of-loc.patch +Patch00085: migration-ram-fix-use-after-free-of-loca.patch +Patch00086: qcow2-List-autoclear-bit-names-in-header.patch +Patch00087: sheepdog-Consistently-set-bdrv_has_zero_.patch +Patch00088: target-arm-Fix-PAuth-sbox-functions.patch +Patch00089: tcg-i386-Fix-INDEX_op_dup2_vec.patch +Patch00090: net-tulip-check-frame-size-and-r-w-data-.patch +Patch00091: target-i386-do-not-set-unsupported-VMX-s.patch +Patch00092: spapr-Fix-failure-path-for-attempting-to.patch +Patch00093: xen-block-Fix-double-qlist-remove-and-re.patch +Patch00094: vpc-Don-t-round-up-already-aligned-BAT-s.patch +Patch00095: target-xtensa-fix-pasto-in-pfwait.r-opco.patch +Patch00096: aio-wait-delegate-polling-of-main-AioCon.patch +Patch00097: async-use-explicit-memory-barriers.patch +Patch00098: tcg-mips-mips-sync-encode-error.patch +Patch00099: vhost-user-gpu-Release-memory-returned-b.patch +Patch00100: XXX-dont-dump-core-on-sigabort.patch +Patch00101: qemu-binfmt-conf-Modify-default-path.patch +Patch00102: qemu-cvs-gettimeofday.patch +Patch00103: qemu-cvs-ioctl_debug.patch +Patch00104: qemu-cvs-ioctl_nodirection.patch +Patch00105: linux-user-add-binfmt-wrapper-for-argv-0.patch +Patch00106: PPC-KVM-Disable-mmu-notifier-check.patch +Patch00107: linux-user-binfmt-support-host-binaries.patch +Patch00108: linux-user-Fake-proc-cpuinfo.patch +Patch00109: linux-user-use-target_ulong.patch +Patch00110: Make-char-muxer-more-robust-wrt-small-FI.patch +Patch00111: linux-user-lseek-explicitly-cast-non-set.patch +Patch00112: AIO-Reduce-number-of-threads-for-32bit-h.patch +Patch00113: xen_disk-Add-suse-specific-flush-disable.patch +Patch00114: qemu-bridge-helper-reduce-security-profi.patch +Patch00115: qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch +Patch00116: linux-user-properly-test-for-infinite-ti.patch +Patch00117: roms-Makefile-pass-a-packaging-timestamp.patch +Patch00118: Raise-soft-address-space-limit-to-hard-l.patch +Patch00119: increase-x86_64-physical-bits-to-42.patch +Patch00120: vga-Raise-VRAM-to-16-MiB-for-pc-0.15-and.patch +Patch00121: i8254-Fix-migration-from-SLE11-SP2.patch +Patch00122: acpi_piix4-Fix-migration-from-SLE11-SP2.patch +Patch00123: Switch-order-of-libraries-for-mpath-supp.patch +Patch00124: Make-installed-scripts-explicitly-python.patch +Patch00125: hw-smbios-handle-both-file-formats-regar.patch +Patch00126: xen-add-block-resize-support-for-xen-dis.patch +Patch00127: tests-qemu-iotests-Triple-timeout-of-i-o.patch +Patch00128: tests-Fix-block-tests-to-be-compatible-w.patch +Patch00129: xen-ignore-live-parameter-from-xen-save-.patch +Patch00130: Conditionalize-ui-bitmap-installation-be.patch +Patch00131: tests-change-error-message-in-test-162.patch +Patch00132: hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch +Patch00133: hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch +Patch00134: hw-intc-exynos4210_gic-provide-more-room.patch +Patch00135: configure-only-populate-roms-if-softmmu.patch +Patch00136: pc-bios-s390-ccw-net-avoid-warning-about.patch +Patch00137: roms-change-cross-compiler-naming-to-be-.patch +Patch00138: tests-Disable-some-block-tests-for-now.patch +Patch00139: test-add-mapping-from-arch-of-i686-to-qe.patch +Patch00140: roms-Makefile-enable-cross-compile-for-b.patch +Patch00141: hw-i386-disable-smbus-migration-for-xenf.patch +Patch00142: s390x-Don-t-do-a-normal-reset-on-the-ini.patch +Patch00143: s390x-Move-reset-normal-to-shared-reset-.patch +Patch00144: s390x-Move-initial-reset.patch +Patch00145: s390x-Move-clear-reset.patch +Patch00146: s390x-kvm-Make-kvm_sclp_service_call-voi.patch +Patch00147: s390x-ipl-Consolidate-iplb-validity-chec.patch +Patch00148: s390x-Beautify-diag308-handling.patch +Patch00149: s390x-Add-missing-vcpu-reset-functions.patch Patch00150: s390-sclp-improve-special-wait-psw-logic.patch Patch00151: s390x-Move-diagnose-308-subcodes-and-rcs.patch Patch00152: vhost-correctly-turn-on-VIRTIO_F_IOMMU_P.patch @@ -296,6 +296,7 @@ Patch00165: s390x-protvirt-Handle-SIGP-store-status-.patch Patch00166: s390x-Add-unpack-facility-feature-to-GA1.patch Patch00167: s390x-s390-virtio-ccw-Fix-build-on-syste.patch Patch00168: configure-remove-pkgversion-from-CONFIG_.patch +Patch00169: gcc10-maybe-uninitialized.patch # Patches applied in roms/seabios/: Patch01000: seabios-use-python2-explicitly-as-needed.patch Patch01001: seabios-switch-to-python3-as-needed.patch @@ -1180,6 +1181,7 @@ This package provides a service file for starting and stopping KSM. %patch00166 -p1 %patch00167 -p1 %patch00168 -p1 +%patch00169 -p1 %patch01000 -p1 %patch01001 -p1 %patch01002 -p1 diff --git a/supported.x86.txt b/supported.x86.txt index 6f46095..9f0052e 100644 --- a/supported.x86.txt +++ b/supported.x86.txt @@ -243,7 +243,7 @@ Deprecated, Superseded, Modified and Dropped Features -bt -no-kvm-pit -- The previously unsupported machine types pc-0.13, pc-0.14, and pc-0.15 are now +- The previously unsupported machine types pc-0.13 and pc-0.14 are now deprecated. - The case of specified sockets, cores, and threads not matching the vcpu count @@ -799,16 +799,17 @@ QEMU Command-Line and Monitor Syntax and Support -M [isapc|microvm|pc-0.13|pc-1.0|pc-1.1|pc-1.2|pc-1.3|pc-i440fx-1.5| pc-i440fx-1.6|pc-i440fx-2.1|pc-i440fx-2.2|pc-i440fx-2.4|pc-i440fx-2.5| pc-i440fx-2.7|pc-i440fx-2.8|pc-i440fx-2.10|pc-i440fx-2.12|pc-i440fx-3.0| - pc-1440fx-4.0|pc-q35-1.4|pc-q35-1.5|pc-q35-1.6|pc-q35-1.7|pc-q35-2.0| - pc-q35-2.1|pc-q35-2.2|pc-q35-2.3|pc-q35-2.4|pc-q35-2.5|pc-q35-2.7| - pc-q35-2.8|pc-q35-2.10|pc-q35-2.12|pc-q35-3.0|pc-q35-4.0|pc-q35-4.1] + pc-i440fx-4.0|pc-i440fx-4.1|pc-q35-1.4|pc-q35-1.5|pc-q35-1.6|pc-q35-1.7| + pc-q35-2.0|pc-q35-2.1|pc-q35-2.2|pc-q35-2.3|pc-q35-2.4|pc-q35-2.5| + pc-q35-2.7|pc-q35-2.8|pc-q35-2.10|pc-q35-2.12|pc-q35-3.0|pc-q35-4.0| + pc-q35-4.1] -machine [isapc|microvm|pc-0.13|pc-1.0|pc-1.1|pc-1.2|pc-1.3|pc-i440fx-1.5| pc-i440fx-1.6|pc-i440fx-2.1|pc-i440fx-2.2|pc-i440fx-2.4| pc-i440fx-2.5|pc-i440fx-2.7|pc-i440fx-2.8|pc-i440fx-2.10| - pc-i440fx-2.12|pc-i440fx-3.0|pc-i440fx-4.0|pc-q35-1.4|pc-q35-1.5| - pc-q35-1.6|pc-q35-1.7|pc-q35-2.0|pc-q35-2.1|pc-q35-2.2|pc-q35-2.3| - pc-q35-2.4|pc-q35-2.5|pc-q35-2.7|pc-q35-2.8|pc-q35-2.10|pc-q35-2.12| - pc-q35-3.0|pc-q35-4.0|pc-q35-4.1] + pc-i440fx-2.12|pc-i440fx-3.0|pc-i440fx-4.0|pc-i440fx-4.1|pc-q35-1.4| + pc-q35-1.5|pc-q35-1.6|pc-q35-1.7|pc-q35-2.0|pc-q35-2.1|pc-q35-2.2| + pc-q35-2.3|pc-q35-2.4|pc-q35-2.5|pc-q35-2.7|pc-q35-2.8|pc-q35-2.10| + pc-q35-2.12|pc-q35-3.0|pc-q35-4.0|pc-q35-4.1] -mtdblock file -net [dump|socket|vde] ... -netdev [dump|hubport|l2tpv3|socket|vde] ...