SHA256
1
0
forked from pool/qemu
Commit Graph

574 Commits

Author SHA256 Message Date
Li Zhang
46fbd3088c Accepting request 964640 from home:lizhang:branches:Virtualization
Fix some problems for testsuit building 
* Patches added:
  Fix-the-module-building-problem-for-s390.patch
  tests-qemu-iotests-040-Skip-TestCommitWi.patch
  tests-qemu-iotests-testrunner-Quote-case.patch

OBS-URL: https://build.opensuse.org/request/show/964640
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=697
2022-03-24 11:21:17 +00:00
367937cadb Accepting request 964331 from home:dfaggioli:experimental:Virtualization
- Fix virtiofs crashing with glibc >= 2.35, due to rseq syscall (bsc#1196924)
* Patches added:
  tools-virtiofsd-Add-rseq-syscall-to-the-.patch
- Avoid warnings caused by a GCC 12 bug, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 (bsc#1197018)
* Patches added:
  hw-i386-amd_iommu-Fix-maybe-uninitialize.patch
  Silence-GCC-12-spurious-warnings.patch
  Ignore-spurious-GCC-12-warning.patch

OBS-URL: https://build.opensuse.org/request/show/964331
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=696
2022-03-23 16:26:18 +00:00
Li Zhang
29a74282dc Accepting request 961858 from home:lizhang:branches:Virtualization
Fix bsc#1189702 CVE-2021-3713
* Patches added:
  hw-nvram-at24-return-0xff-if-1-byte-addr.patch

OBS-URL: https://build.opensuse.org/request/show/961858
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=694
2022-03-15 11:41:22 +00:00
c977c5d4a8 Accepting request 960206 from home:dfaggioli:experimental:Virtualization
- Fix RiscV firmware (opensbi) cross-build
* Patches added:
  Makefile-fix-build-with-binutils-2.38.patch
- qemu,kvm,xen: NULL pointer dereference issue in megasas-gen2 host
  bus adapter (bsc#1180432, CVE-2020-35503)
* Patches added:
  hw-scsi-megasas-check-for-NULL-frame-in-.patch

OBS-URL: https://build.opensuse.org/request/show/960206
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=692
2022-03-08 16:52:57 +00:00
0251d2a2c0 Accepting request 959502 from home:dfaggioli:experimental:Virtualization
- Build PPC firmwares from sources on non-PPC builds as well (bsc#1193545)
- Build RiscV firmwares on non-RiscV builds as well
- While there, refactor (and simplify!) the firmware building logic and code
  * Patches added:
     Makefile-define-endianess-for-cross-buil.patch
- Include vmxcap in the qemu-tools package (is being very useful for debugging bsc#1193364)
- The qemu package should require qemu-x86, qemu-arm, etc, as there's no point installing it without _any_ of them. Additionally, right now, the user does not get a working qemu, if recommended packages are disabled (e.g., on MicroOS or SLE Micro). bsc#1196087
- Give clearer instructions on how to modify the package patches from the output of update_git.sh (docs change only, no functional change)
- qemu,kvm: potential privilege escalation via virtiofsd (bsc#1195161, CVE-2022-0358)
  * Patches added:
     virtiofsd-Drop-membership-of-all-supplem.patch

OBS-URL: https://build.opensuse.org/request/show/959502
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=691
2022-03-04 18:04:00 +00:00
Li Zhang
5435e8a804 Accepting request 955876 from home:lizhang:branches:Virtualization
Backport patches related with iotest from upstream
* Patches added:
  block-backend-Retain-permissions-after-m.patch
  iotest-065-explicit-compression-type.patch
  iotest-214-explicit-compression-type.patch
  iotest-302-use-img_info_log-helper.patch
  iotest-303-explicit-compression-type.patch
  iotest-39-use-_qcow2_dump_header.patch
  iotests-60-more-accurate-set-dirty-bit-i.patch
  iotests-bash-tests-filter-compression-ty.patch
  iotests-common.rc-introduce-_qcow2_dump_.patch
  iotests-declare-lack-of-support-for-comp.patch
  iotests-drop-qemu_img_verbose-helper.patch
  iotests-massive-use-_qcow2_dump_header.patch
  iotests-MRCE-Write-data-to-source.patch
  iotests.py-filter-out-successful-output-.patch
  iotests.py-img_info_log-rename-imgopts-a.patch
  iotests.py-implement-unsupported_imgopts.patch
  iotests.py-qemu_img-create-support-IMGOP.patch
  iotests.py-rewrite-default-luks-support-.patch
  iotests-specify-some-unsupported_imgopts.patch
  qcow2-simple-case-support-for-downgradin.patch
  tests-qemu-iotests-Fix-051-for-binaries-.patch

OBS-URL: https://build.opensuse.org/request/show/955876
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=690
2022-02-18 14:14:04 +00:00
Li Zhang
1f84234188 Accepting request 955421 from home:lizhang:branches:Virtualization
-Backport patch from upstream, bsc#1194063 CVE-2021-4158
* Patches added:
  acpi-validate-hotplug-selector-on-access.patch
- Binary firmwares are built from sources by default (and not only on
  x86) and then "cross-imported" among builds for different arches. Of
  course this requires, additionally to these changes, a proper project
  setup (see prjconf). This fixes bsc#1193545.
  * Build x86 firmwares only on x86 builds (i.e., stop cross building
    them on ARM)
  * Build x86 firmwares only once (during x86_64 builds only), instead
    of twice (i.e., during both %ix86 and x86_64, as we're doing now))
  * Always build PPC firmwares (only on PPC builds)
  * Build PPC firmwares only once (during ppc64le builds only), instead
    of twice (i.e., during both ppc64 and ppc64le, as we're doing now))

OBS-URL: https://build.opensuse.org/request/show/955421
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=689
2022-02-16 16:43:06 +00:00
238d8f5000 Accepting request 955391 from Virtualization
- Revert ea85e8bcd33af3bc4e7700526cc24e6c, as Factory can't be configured appropiately for it

OBS-URL: https://build.opensuse.org/request/show/955391
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=688
2022-02-16 14:35:22 +00:00
773567aa73 Accepting request 952206 from home:dfaggioli:experimental2:Virtualization
- Binary firmwares are built from sources by default (and not only on
  x86) and then "cross-imported" among builds for different arches. Of
  course this requires, additionally to these changes, a proper project
  setup (see prjconf). This fixes bsc#1193545.
  * Build x86 firmwares only on x86 builds (i.e., stop cross building
    them on ARM)
  * Build x86 firmwares only once (during x86_64 builds only), instead
    of twice (i.e., during both %ix86 and x86_64, as we're doing now))
  * Always build PPC firmwares (only on PPC builds)
  * Build PPC firmwares only once (during ppc64le builds only), instead
    of twice (i.e., during both ppc64 and ppc64le, as we're doing now))

OBS-URL: https://build.opensuse.org/request/show/952206
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=687
2022-02-07 16:03:12 +00:00
Li Zhang
c709c87955 Accepting request 949703 from home:lizhang:branches:Virtualization
- Enable modules for testsuite

OBS-URL: https://build.opensuse.org/request/show/949703
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=686
2022-01-28 14:42:06 +00:00
Li Zhang
7000332fdb Accepting request 946953 from home:lizhang:branches:Virtualization
- Building fixes from upstream
* Patches added:
  meson-build-all-modules-by-default.patch

OBS-URL: https://build.opensuse.org/request/show/946953
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=685
2022-01-17 16:35:51 +00:00
7a4e3782fb Accepting request 945909 from home:dfaggioli:devel:Virtualization
- It's time to really start requiring -F when using -b in
  qemu-img for us as well. Users/customers have been warned
  in the relevant release notes (bsc#1190135)
* Patches dropped:
  Revert-qemu-img-Improve-error-for-rebase.patch
  Revert-qemu-img-Require-F-with-b-backing.patch

OBS-URL: https://build.opensuse.org/request/show/945909
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=684
2022-01-12 17:59:32 +00:00
6c651516cf Accepting request 942112 from home:dfaggioli:devel:Virtualization
- Fix testsuite failures by not using modules when building tests
  (and some other, also testsuite related, spec file problems)

OBS-URL: https://build.opensuse.org/request/show/942112
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=683
2021-12-22 13:19:53 +00:00
38f7ac0eef Accepting request 941797 from home:dfaggioli:devel:Virtualization
- [JIRA] (SLE-20965) Make QEMU guests more failsafe when resizing
  SCSI passthrough disks
  * Patches added:
    scsi-generic-replace-logical-block-count.patch

OBS-URL: https://build.opensuse.org/request/show/941797
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=682
2021-12-21 12:18:58 +00:00
e8c9119cb5 Accepting request 941047 from home:dfaggioli:devel:Virtualization
- Add an audio-oss sub-package
- Add some new (mostly documentation) files in the package
- Remove option --audio-drv-list because audio is detected by
  meson automatically in latest version. 
- Remove options --disable-jemalloc and --disable-tcmalloc
  which are changed in v6.2.0. 
- Update to v 6.2.0. For full release notese, see:
  * https://wiki.qemu.org/ChangeLog/6.2.
  Be sure to also check the following pages:
  * https://qemu-project.gitlab.io/qemu/about/removed-features.html
  * https://qemu-project.gitlab.io/qemu/about/deprecated.html
  Some notable changes:
  * virtio-mem: guest memory dumps are now fully supported, along
    with pre-copy/post-copy migration and background guest snapshots
  * QMP: support for nw DEVICE_UNPLUG_GUEST_ERROR to detect
    guest-reported hotplug failures
  * TCG: improvements to TCG plugin argument syntax, and multi-core
    support for cache plugin
  * 68k: improved support for Apple’s NuBus, including ability to
    load declaration ROMs, and slot IRQ support
  * ARM: macOS hosts with Apple Silicon CPUs now support ‘hvf’
    accelerator for AArch64 guests
  * ARM: emulation support for Fujitsu A64FX processor model
  * ARM: emulation support for kudo-mbc machine type
  * ARM: M-profile MVE extension is now supported for Cortex-M55
  * ARM: ‘virt’ machine now supports an emulated ITS (Interrupt
    Translation Service) and supports more than 123 CPUs in
    emulation mode
  * ARM: xlnx-zcu102 and xlnx-versal-virt machines now support
    BBRAM and eFUSE devices
  * PowerPC: improved POWER10 support for the ‘powernv’ machine type
  * PowerPC: initial support for POWER10 DD2.0 CPU model
  * PowerPC: support for FORM2 PAPR NUMA descriptions for ‘pseries’ machine type
  * RISC-V: support for Zb[abcs] instruction set extensions
  * RISC-V: support for vhost-user and numa mem options across all boards
  * RISC-V: SiFive PWM support
  * x86: support for new Snowridge-v4 CPU model
  * x86: guest support for Intel SGX
  * x86: AMD SEV guests now support measurement of kernel binary when doing
    direct kernel boot (not using a bootloader)
* Patches dropped:
  9pfs-fix-crash-in-v9fs_walk.patch
  block-introduce-max_hw_iov-for-use-in-sc.patch
  hmp-Unbreak-change-vnc.patch
  hw-acpi-ich9-Add-compat-prop-to-keep-HPC.patch
  hw-i386-acpi-build-Deny-control-on-PCIe-.patch
  i386-cpu-Remove-AVX_VNNI-feature-from-Co.patch
  net-vmxnet3-validate-configuration-value.patch
  pcie-rename-native-hotplug-to-x-native-h.patch
  plugins-do-not-limit-exported-symbols-if.patch
  plugins-execlog-removed-unintended-s-at-.patch
  qemu-nbd-Change-default-cache-mode-to-wr.patch
  qemu-sockets-fix-unix-socket-path-copy-a.patch
  target-arm-Don-t-skip-M-profile-reset-en.patch
  target-i386-add-missing-bits-to-CR4_RESE.patch
  tcg-arm-Fix-tcg_out_vec_op-function-sign.patch
  uas-add-stream-number-sanity-checks.patch
  vhost-vsock-fix-migration-issue-when-seq.patch
  virtio-balloon-don-t-start-free-page-hin.patch
  virtio-mem-pci-Fix-memory-leak-when-crea.patch
  virtio-net-fix-use-after-unmap-free-for-.patch

OBS-URL: https://build.opensuse.org/request/show/941047
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=681
2021-12-17 10:07:39 +00:00
7ada9507da Accepting request 940701 from home:dfaggioli:devel:Virtualization
- Reinstate Lin Ma's fixes for bsc#1192147 as they were
  submitted only to IBS.
* Patches added:
  hw-acpi-ich9-Add-compat-prop-to-keep-HPC.patch
  hw-i386-acpi-build-Deny-control-on-PCIe-.patch
  pcie-rename-native-hotplug-to-x-native-h.patch
- Rename the Guest Agent service to qemu-guest-agent, like in other
  distros, and upstream too (bsc#1185543)

OBS-URL: https://build.opensuse.org/request/show/940701
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=680
2021-12-15 11:09:40 +00:00
fd109a833e Accepting request 940281 from home:dirkmueller:Factory
- disable QOM cast debug outside the testsuite as the corresponding
  asserts show up occassionally as top #1 in perf(1) traces under
  heavy virtio load 
- enable LTO when we'd like to use LTO

OBS-URL: https://build.opensuse.org/request/show/940281
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=679
2021-12-14 12:19:24 +00:00
737e8e003d Accepting request 936343 from home:dfaggioli:devel:Virtualization
* Patches added (bsc#1186256):
  qemu-binfmt-conf.sh-allow-overriding-SUS.patch

OBS-URL: https://build.opensuse.org/request/show/936343
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=678
2021-12-07 22:24:44 +00:00
79eea0c530 Accepting request 936070 from home:Guillaume_G:branches:Virtualization
- cross-i386-binutils and cross-i386-gcc are not needed and were
  dropped from Factory - boo#1193424

OBS-URL: https://build.opensuse.org/request/show/936070
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=677
2021-12-06 21:11:16 +00:00
José Ricardo Ziviani
d55739b786 Accepting request 927617 from home:jziviani:branches:Virtualization
- qemu: virtio-net: heap use-after-free in virtio_net_receive_rcu
  (bsc#1189938 CVE-2021-3748)
  solved by virtio-net-fix-use-after-unmap-free-for-.patch
- kvm,qemu: out-of-bounds write in UAS (USB Attached SCSI) device emulation
  (bsc#1189702 CVE-2021-3713)
* Patches added:
  uas-add-stream-number-sanity-checks.patch

OBS-URL: https://build.opensuse.org/request/show/927617
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=676
2021-10-26 23:37:33 +00:00
Li Zhang
9cc71e44f4 Accepting request 924265 from home:lizhang:branches:Virtualization
- Stable fixes from upstream
* Patches added:
  block-introduce-max_hw_iov-for-use-in-sc.patch
  hmp-Unbreak-change-vnc.patch
  qemu-nbd-Change-default-cache-mode-to-wr.patch
  target-arm-Don-t-skip-M-profile-reset-en.patch
  vhost-vsock-fix-migration-issue-when-seq.patch
  virtio-mem-pci-Fix-memory-leak-when-crea.patch
  virtio-net-fix-use-after-unmap-free-for-.patch

OBS-URL: https://build.opensuse.org/request/show/924265
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=675
2021-10-08 16:10:31 +00:00
José Ricardo Ziviani
9a6945b9db Accepting request 919603 from home:jziviani:branches:Virtualization
- Fix testsuite dependencies (bsc#1190573)
* Patches added:
  modules-quick-fix-a-fundamental-error-in.patch

OBS-URL: https://build.opensuse.org/request/show/919603
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=674
2021-09-16 23:21:22 +00:00
José Ricardo Ziviani
7987d2bc69 Accepting request 919516 from home:jziviani:branches:Virtualization
- Fix testsuite dependencies
* Patches added:
  modules-quick-fix-a-fundamental-error-in.patch

OBS-URL: https://build.opensuse.org/request/show/919516
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=673
2021-09-16 12:19:38 +00:00
José Ricardo Ziviani
00b6d2ec43 Accepting request 919019 from home:jziviani:branches:Virtualization
- Replace patch to fix hardcoded binfmt handler
  (bsc#1186256)
* Patches dropped:
  qemu-binfmt-conf.sh-allow-overriding-SUS.patch
* Patches added:
  qemu-binfmt-conf.sh-should-use-F-as-shor.patch
- Stable fixes from upstream
* Patches added:
  9pfs-fix-crash-in-v9fs_walk.patch
  i386-cpu-Remove-AVX_VNNI-feature-from-Co.patch
  plugins-do-not-limit-exported-symbols-if.patch
  plugins-execlog-removed-unintended-s-at-.patch
  qemu-sockets-fix-unix-socket-path-copy-a.patch
  target-i386-add-missing-bits-to-CR4_RESE.patch
  virtio-balloon-don-t-start-free-page-hin.patch

OBS-URL: https://build.opensuse.org/request/show/919019
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=672
2021-09-14 22:18:25 +00:00
José Ricardo Ziviani
39abf6289b Accepting request 917618 from home:jziviani:branches:Virtualization
- Fix qemu build on ARMv7 (bsc#1190211)
* Patches added:
  tcg-arm-Fix-tcg_out_vec_op-function-sign.patch

OBS-URL: https://build.opensuse.org/request/show/917618
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=671
2021-09-08 19:07:04 +00:00
José Ricardo Ziviani
205d524e3a Accepting request 917591 from home:jziviani:branches:Virtualization
- Update supported file for ARM machines.

OBS-URL: https://build.opensuse.org/request/show/917591
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=670
2021-09-08 13:59:23 +00:00
José Ricardo Ziviani
ad2ff78115 Accepting request 917177 from home:jziviani:branches:Virtualization
- Keep qemu-img without backing format still deprecated
  (bsc#1190135)
* Patches added:
  Revert-qemu-img-Improve-error-for-rebase.patch
  Revert-qemu-img-Require-F-with-b-backing.patch
- Update the support files to reflect the deprecation.

OBS-URL: https://build.opensuse.org/request/show/917177
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=669
2021-09-06 22:19:57 +00:00
José Ricardo Ziviani
10c95bc3e4 Update link
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=668
2021-09-06 21:50:46 +00:00
José Ricardo Ziviani
f8ffe35847 Accepting request 915303 from home:jziviani:branches:Virtualization
- Update build dependencies versions: libgcrypt >= 1.8.0,
  gnutls >= 3.5.18, glib >= 2.56, libssh >= 0.8.7

OBS-URL: https://build.opensuse.org/request/show/915303
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=667
2021-08-31 16:18:58 +00:00
José Ricardo Ziviani
71af037cf1 Accepting request 914657 from home:jziviani:branches:Virtualization
- Fix hardcoded binfmt handler doesn't play well with containers
  (bsc#1186256)
* Patches added:
  qemu-binfmt-conf.sh-allow-overriding-SUS.patch

OBS-URL: https://build.opensuse.org/request/show/914657
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=666
2021-08-27 17:25:34 +00:00
José Ricardo Ziviani
7f46c79c5d Accepting request 914430 from home:jziviani:branches:Virtualization
- Update to v6.1: see https://wiki.qemu.org/ChangeLog/6.1
  For a full list of formely deprecated features that are removed,
  consult: https://qemu-project.gitlab.io/qemu/about/removed-features.html
  For a list of new deprecated features, consult:
  https://qemu-project.gitlab.io/qemu/about/deprecated.html
  Some noteworthy changes:
* Removed moxie CPU.
* Removed lm32 CPU.
* Removed unicore32 CPU.
* Removed 'info cpustats'.
* Added Aspeed machines: rainier-bmc, quanta-q7l1-bmc.
* Added npcm7xx machine: quanta-gbs-bmc.
* Model for Aspeed's Hash and Crypto Engine.
* SVE2 is now emulated, including bfloat16 support
* FEAT_I8MM, FEAT_TLBIOS, FEAT_TLBRANGE, FEAT_BF16, FEAT_AA32BF16, and
  FEAT_MTE3 are now emulated.
* Improved hot-unplug failures on PowerPC pseries machine.
* Implemented some POWER10 instructions in TCG.
* Added shakti_c RISC-V machine.
* Improved documentation for RISC-V machines.
* CPU models for gen16 have been added for s390x.
* New CPU model versions added with XSAVES enabled:
  Skylake-Client-v4, Skylake-Server-v5, Cascadelake-Server-v5,
  Cooperlake-v2, Icelake-Client-v3, Icelake-Server-v5, Denverton-v3,
  Snowridge-v3, Dhyana-v2
* Added ACPI based PCI hotplug support to Q35 machine. Enabled and
  used by default since pc-q35-6.1 machine type.
* Added support for the pca9546 and pca9548 I2C muxes.
* Added support for PMBus and several PMBus devices.
* Crypto subsystem:
  The preferred crypto backend driver now gnutls, with libgcrypt as the
  second choice, and nettle as third choice, with ordering driven mostly
  by performance of the ciphers.
* Misc doc improvements.
* Patches removed:
  block-nvme-Fix-VFIO_MAP_DMA-failed-No-sp.patch
  hmp-Fix-loadvm-to-resume-the-VM-on-succe.patch
  hw-block-nvme-align-with-existing-style.patch
  hw-block-nvme-consider-metadata-read-aio.patch
  hw-net-can-sja1000-fix-buff2frame_bas-an.patch
  hw-nvme-fix-missing-check-for-PMR-capabi.patch
  hw-nvme-fix-pin-based-interrupt-behavior.patch
  hw-pci-host-q35-Ignore-write-of-reserved.patch
  hw-rdma-Fix-possible-mremap-overflow-in-.patch
  hw-rx-rx-gdbsim-Do-not-accept-invalid-me.patch
  hw-usb-Do-not-build-USB-subsystem-if-not.patch
  hw-usb-host-stub-Remove-unused-header.patch
  linux-user-aarch64-Enable-hwcap-for-RND-.patch
  module-for-virtio-gpu-pre-load-module-to.patch
  monitor-qmp-fix-race-on-CHR_EVENT_CLOSED.patch
  pvrdma-Ensure-correct-input-on-ring-init.patch
  pvrdma-Fix-the-ring-init-error-flow-CVE-.patch
  qemu-config-load-modules-when-instantiat.patch
  qemu-config-parse-configuration-files-to.patch
  qemu-config-use-qemu_opts_from_qdict.patch
  runstate-Initialize-Error-to-NULL.patch
  sockets-update-SOCKET_ADDRESS_TYPE_FD-li.patch
  target-i386-Exit-tb-after-wrmsr.patch
  target-sh4-Return-error-if-CPUClass-get_.patch
  tcg-Allocate-sufficient-storage-in-temp_.patch
  tcg-arm-Fix-tcg_out_op-function-signatur.patch
  tcg-sparc-Fix-temp_allocate_frame-vs-spa.patch
  ui-Fix-memory-leak-in-qemu_xkeymap_mappi.patch
  usb-hid-avoid-dynamic-stack-allocation.patch
  usb-limit-combined-packets-to-1-MiB-CVE-.patch
  usb-mtp-avoid-dynamic-stack-allocation.patch
  usb-redir-avoid-dynamic-stack-allocation.patch
  usbredir-fix-free-call.patch
  vfio-ccw-Permit-missing-IRQs.patch
  vhost-user-blk-Check-that-num-queues-is-.patch
  vhost-user-blk-Don-t-reconnect-during-in.patch
  vhost-user-blk-Fail-gracefully-on-too-la.patch
  vhost-user-blk-Get-more-feature-flags-fr.patch
  vhost-user-blk-Make-sure-to-set-Error-on.patch
  vhost-user-gpu-abstract-vg_cleanup_mappi.patch
  vhost-user-gpu-fix-leak-in-virgl_cmd_res.patch
  vhost-user-gpu-fix-leak-in-virgl_resourc.patch
  vhost-user-gpu-fix-memory-disclosure-in-.patch
  vhost-user-gpu-fix-memory-leak-in-vg_res.patch
  vhost-user-gpu-fix-memory-leak-while-cal.patch
  vhost-user-gpu-fix-OOB-write-in-virgl_cm.patch
  vhost-user-gpu-fix-resource-leak-in-vg_r.patch
  vhost-vdpa-don-t-initialize-backend_feat.patch
  virtio-blk-Fix-rollback-path-in-virtio_b.patch
  virtio-Fail-if-iommu_platform-is-request.patch
  virtiofsd-Fix-side-effect-in-assert.patch
  vl-allow-not-specifying-size-in-m-when-u.patch
  vl-Fix-an-assert-failure-in-error-path.patch
  vl-plug-object-back-into-readconfig.patch
  vl-plumb-keyval-based-options-into-readc.patch
  x86-acpi-use-offset-instead-of-pointer-w.patch

OBS-URL: https://build.opensuse.org/request/show/914430
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=665
2021-08-26 17:37:40 +00:00
José Ricardo Ziviani
c57c3c69e6 Accepting request 911318 from home:jziviani:branches:Virtualization
- usb: unbounded stack allocation in usbredir
  (bsc#1186012, CVE-2021-3527)
  hw-usb-Do-not-build-USB-subsystem-if-not.patch
  hw-usb-host-stub-Remove-unused-header.patch
  usb-hid-avoid-dynamic-stack-allocation.patch
  usb-limit-combined-packets-to-1-MiB-CVE-.patch
  usb-mtp-avoid-dynamic-stack-allocation.patch
- usbredir: free call on invalid pointer in bufp_alloc
  (bsc#1189145, CVE-2021-3682)
  usbredir-fix-free-call.patch

OBS-URL: https://build.opensuse.org/request/show/911318
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=664
2021-08-10 20:38:06 +00:00
José Ricardo Ziviani
06c7333dfc Accepting request 910154 from home:jziviani:branches:Virtualization
- Add stable patches from upstream:
  block-nvme-Fix-VFIO_MAP_DMA-failed-No-sp.patch
  hw-net-can-sja1000-fix-buff2frame_bas-an.patch
  hw-pci-host-q35-Ignore-write-of-reserved.patch

OBS-URL: https://build.opensuse.org/request/show/910154
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=663
2021-08-04 12:54:54 +00:00
José Ricardo Ziviani
183c086c65 Accepting request 908021 from home:jziviani:branches:Virtualization
- Disabled skiboot building for PowerPC due to the following issue:
  https://github.com/open-power/skiboot/issues/265
- Fix possible mremap overflow in the pvrdma
  (CVE-2021-3582, bsc#1187499)
  hw-rdma-Fix-possible-mremap-overflow-in-.patch
- Ensure correct input on ring init
  (CVE-2021-3607, bsc#1187539)
  pvrdma-Ensure-correct-input-on-ring-init.patch
- Fix the ring init error flow
  (CVE-2021-3608, bsc#1187538)
  pvrdma-Fix-the-ring-init-error-flow-CVE-.patch

OBS-URL: https://build.opensuse.org/request/show/908021
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=662
2021-07-23 20:57:22 +00:00
José Ricardo Ziviani
7ff99ac35a Accepting request 903795 from home:jziviani:branches:Virtualization
- Fix qemu-supportconfig network-manager verification

OBS-URL: https://build.opensuse.org/request/show/903795
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=661
2021-07-03 02:10:16 +00:00
José Ricardo Ziviani
eb86ba78e5 Accepting request 903710 from home:jziviani:branches:Virtualization
- Fix stable issues found in upstream:
  hmp-Fix-loadvm-to-resume-the-VM-on-succe.patch
  hw-block-nvme-align-with-existing-style.patch
  hw-nvme-fix-missing-check-for-PMR-capabi.patch
  hw-nvme-fix-pin-based-interrupt-behavior.patch
  linux-user-aarch64-Enable-hwcap-for-RND-.patch
  qemu-config-load-modules-when-instantiat.patch
  qemu-config-parse-configuration-files-to.patch
  qemu-config-use-qemu_opts_from_qdict.patch
  runstate-Initialize-Error-to-NULL.patch
  target-i386-Exit-tb-after-wrmsr.patch
  tcg-Allocate-sufficient-storage-in-temp_.patch
  tcg-sparc-Fix-temp_allocate_frame-vs-spa.patch
  vhost-vdpa-don-t-initialize-backend_feat.patch
  vl-allow-not-specifying-size-in-m-when-u.patch
  vl-Fix-an-assert-failure-in-error-path.patch
  vl-plug-object-back-into-readconfig.patch
  vl-plumb-keyval-based-options-into-readc.patch
  x86-acpi-use-offset-instead-of-pointer-w.patch
- Update qemu-supportconfig plugin
- Fix an update-alternative warning when removing qemu-skiboot package
  bsc#1178678

OBS-URL: https://build.opensuse.org/request/show/903710
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=660
2021-07-02 12:49:06 +00:00
José Ricardo Ziviani
3a904253e8 Accepting request 901600 from home:jziviani:branches:Virtualization
- Use doc directive to build QEMU documentation

OBS-URL: https://build.opensuse.org/request/show/901600
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=659
2021-06-24 02:30:59 +00:00
José Ricardo Ziviani
82a8b144fb Accepting request 900339 from home:Akaricchi
Enable JACK audio plugin.

OBS-URL: https://build.opensuse.org/request/show/900339
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=658
2021-06-21 22:02:08 +00:00
José Ricardo Ziviani
6594b5746e Accepting request 900190 from home:jziviani:branches:Virtualization
Update bugs to correctly point to bsc#1186010

OBS-URL: https://build.opensuse.org/request/show/900190
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=656
2021-06-15 15:20:22 +00:00
José Ricardo Ziviani
3eae454a42 Accepting request 899990 from home:jziviani:branches:Virtualization
- Improve compatibility with gcc 11:
  target-sh4-Return-error-if-CPUClass-get_.patch
  tcg-arm-Fix-tcg_out_op-function-signatur.patch
- Enable zstd compression option to qcow2

OBS-URL: https://build.opensuse.org/request/show/899990
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=655
2021-06-14 20:25:17 +00:00
José Ricardo Ziviani
9e49deb609 Accepting request 898228 from home:jziviani:branches:Virtualization
- Fix out-of-bounds write in virgl_cmd_get_capset
  CVE-2021-3546 bsc#1185981
  vhost-user-gpu-abstract-vg_cleanup_mappi.patch
- Fix memory leaks found in the virtio vhost-user GPU device
  CVE-2021-3544
  vhost-user-gpu-fix-leak-in-virgl_cmd_res.patch
  vhost-user-gpu-fix-leak-in-virgl_resourc.patch
  vhost-user-gpu-fix-memory-disclosure-in-.patch
  vhost-user-gpu-fix-memory-leak-in-vg_res.patch
  vhost-user-gpu-fix-memory-leak-while-cal.patch
  vhost-user-gpu-fix-OOB-write-in-virgl_cm.patch
- Fix information disclosure due to uninitialized memory read
  CVE-2021-3545 bsc#1185990
  vhost-user-gpu-fix-resource-leak-in-vg_r.patch

OBS-URL: https://build.opensuse.org/request/show/898228
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=653
2021-06-08 00:27:26 +00:00
José Ricardo Ziviani
b32969ef5a Accepting request 897171 from home:dirkmueller:Factory
- disable sheepdog, it was dropped upstream (
  09ec85176e)
  and fails to build with gcc 11 on non-x86

OBS-URL: https://build.opensuse.org/request/show/897171
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=652
2021-06-03 13:27:45 +00:00
José Ricardo Ziviani
8360fa3a32 Accepting request 895224 from home:jziviani:branches:Virtualization
- Fix CVE-2021-3527 in usb/redir:
  usb-redir-avoid-dynamic-stack-allocation.patch
- Fix issues found upstream:
  hw-block-nvme-consider-metadata-read-aio.patch
  sockets-update-SOCKET_ADDRESS_TYPE_FD-li.patch
  vfio-ccw-Permit-missing-IRQs.patch
  vhost-user-blk-Check-that-num-queues-is-.patch
  vhost-user-blk-Don-t-reconnect-during-in.patch
  vhost-user-blk-Fail-gracefully-on-too-la.patch
  vhost-user-blk-Get-more-feature-flags-fr.patch
  vhost-user-blk-Make-sure-to-set-Error-on.patch
  virtio-blk-Fix-rollback-path-in-virtio_b.patch
  virtio-Fail-if-iommu_platform-is-request.patch
  virtiofsd-Fix-side-effect-in-assert.patch
  monitor-qmp-fix-race-on-CHR_EVENT_CLOSED.patch

OBS-URL: https://build.opensuse.org/request/show/895224
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=650
2021-05-25 03:20:35 +00:00
José Ricardo Ziviani
7992c7a2d8 Accepting request 893867 from home:jziviani:branches:Virtualization
- Don't need to use hardcoded versions of jquery.js, which is only used in documention files. This changes allows different jquery.js version in qemu.spec file.

OBS-URL: https://build.opensuse.org/request/show/893867
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=649
2021-05-18 01:50:17 +00:00
José Ricardo Ziviani
43ff495587 Accepting request 893847 from home:jziviani:branches:Virtualization
- Brotli VLA error was already fixed in v5.2 but the patches wasn't
  included in v6.0. This change fixes that
- Patches added:
  brotli-fix-actual-variable-array-paramet.patch
  hw-rx-rx-gdbsim-Do-not-accept-invalid-me.patch
  ui-Fix-memory-leak-in-qemu_xkeymap_mappi.patch

OBS-URL: https://build.opensuse.org/request/show/893847
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=648
2021-05-17 21:50:55 +00:00
José Ricardo Ziviani
ca7247c1a8 Accepting request 893748 from home:marxin:branches:Virtualization
- Add fix-brotli-vla-error.patch in order to fix bsc#1181922.

OBS-URL: https://build.opensuse.org/request/show/893748
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=647
2021-05-17 13:36:06 +00:00
Bruce Rogers
c69850f122 Accepting request 891073 from home:bfrogers:branches:Virtualization
- For the record, these issues are fixed in this package already.
  Most are alternate references to previously mentioned issues:
  (CVE-2019-15890, bsc#1149813, CVE-2020-8608, bsc#1163019,
  CVE-2020-14364, bsc#1175534, CVE-2020-25707, bsc#1178683,
  CVE-2020-25723, bsc#1178935, CVE-2020-29130, bsc#1179477,
  CVE-2020-29129, bsc#1179484, CVE-2021-3419, bsc#1182975)

OBS-URL: https://build.opensuse.org/request/show/891073
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=645
2021-05-06 15:04:12 +00:00
José Ricardo Ziviani
2917e8a945 Accepting request 890185 from home:jziviani:branches:Virtualization
Update qemu-6.0.0.tar.xz to upstream

OBS-URL: https://build.opensuse.org/request/show/890185
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=644
2021-05-03 22:33:40 +00:00
José Ricardo Ziviani
f2fd2e702b Accepting request 890182 from home:jziviani:branches:Virtualization
Removed unsupported "-enable-hax" option from supported.*.txt

OBS-URL: https://build.opensuse.org/request/show/890182
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=643
2021-05-03 21:42:55 +00:00
José Ricardo Ziviani
f33f068cda Accepting request 889648 from Virtualization:Staging
Update version to v6.0.0

OBS-URL: https://build.opensuse.org/request/show/889648
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=641
2021-04-30 21:53:49 +00:00