SHA256
1
0
forked from pool/qemu
Commit Graph

591 Commits

Author SHA256 Message Date
f76560bd5f Accepting request 979489 from home:dfaggioli:old_qemu
- It has been observed that building QEMU with _FORTIFY_SOURCE=3
  causes problem (see bsc#1199924). Force it to =2 for now, while
  we investigate the issue.

OBS-URL: https://build.opensuse.org/request/show/979489
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=719
2022-05-27 14:12:47 +00:00
3206ea7c01 Accepting request 979479 from Virtualization
- Revert to revision 715. We're fixing bug 1199924, before moving to QEMU 7.0

OBS-URL: https://build.opensuse.org/request/show/979479
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=718
2022-05-27 12:52:53 +00:00
5a11d17157 Accepting request 979381 from home:dfaggioli:experimental:Virtualization
- Substantial rework of the spec file:
  * the 'make check' testsuite now runs in the %check section of
    the main package, not in a subpackage
  * switched from %setup to %autosetup
  * rearranged the content in order to minimize the use of %if,
    %ifarch, etc
- Some tests are having issues when run in OBS. They seem to be due to
  race conditions, triggered by resource constraints on the OBS workers.
  Let's disable them for now, while we investigate  and try to fix them.
* Patches added:
  Disable-some-tests-that-have-problems-in.patch
- Revert an upstream commit that add some qtests that are problematic
  for GCC12+LTO
* Patches added:
  Revert-8dcb404bff6d9147765d7dd3e9c849337.patch
- _multibuild: disable the build of qemu-testsuite. We are going
  to run 'make check' as part of the %check phase of the main (qemu)
  package, so we do not need a dedicated build any longer.
- Get rid of downstream patches breaking s390 modules. Replace
  them with the upstream proposed and Acked (but never committed)
  solution (bsc#1199015)
* Patches added:
  modules-generates-per-target-modinfo.patch
  modules-introduces-module_kconfig-direct.patch
* Patches dropped:
  Fix-the-module-building-problem-for-s390.patch
  modules-quick-fix-a-fundamental-error-in.patch
- backport patches for having coroutine work well when LTO is used
* Patches added:
  coroutine-ucontext-use-QEMU_DEFINE_STATI.patch
  coroutine-use-QEMU_DEFINE_STATIC_CO_TLS.patch
  coroutine-win32-use-QEMU_DEFINE_STATIC_C.patch
- seabios: drop patch that changes python in python2. Just
  go to python3 directly.
* Patches dropped:
  seabios-use-python2-explicitly-as-needed.patch
- Make temp dir (for update_git.sh) configurable
- Added new subpackages (audio-dbus, ui-dbus)
- Update to v7.0.0. For full release notese, see:
  * https://wiki.qemu.org/ChangeLog/7.0
  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:
  * [ARM] The virt board has gained a new control knob to disable passing a RNG seed in the DTB (dtb-kaslr-seed)
  * [ARM] The AST2600 SoC now supports a dummy version of the i3c device
  * [ARM] The virt board can now run guests with KVM on hosts with restricted IPA ranges
  * [ARM] The virt board now supports virtio-mem-pci
  * [ARM] The virt board now supports specifying the guest CPU topology
  * [ARM] On the virt board, we now enable PAuth when using KVM or hvf and the host CPU supports it
  * [RISC-V] Add support for ratified 1.0 Vector extension
  * [RISC-V] Support for the Zve64f and Zve32f extensions
  * [RISC-V] Drop support for draft 0.7.1 Vector extension
  * [RISC-V] Support Zfhmin and Zfh extensions
  * [RISC-V] RISC-V KVM support
  * [RISC-V] Mark Hypervisor extension as non experimental
  * [RISC-V] Enable Hypervisor extension by default
  * [x86] Support for Intel AMX.
  * [PCI/PCIe] Q35: fix PCIe device becoming disabled after migration when ACPI based PCI hotplug is used (6b0969f1ec)
  * [PCI/PCIe] initial bits of SR/IOV support (250346169)
  * [PCI/PCIe] arm/virt: fixed PXB interrupt routing (e609301b45)
  * [PCI/PCIe] arm/virt: support for virtio-mem-pci (b1b87327a9)
  * [virtiofs] Fix for CVE-2022-0358 - behaviour with supplementary groups and SGID directories
  * [virtiofs] Improved security label support
  * [virtiofs] The virtiofsd in qemu is now starting to be deprecated; please start using and contributing to Rust virtiofsd
  * Patches Added:
    intc-exynos4210_gic-replace-snprintf-wit.patch
  * Patches dropped:
    Python-aqmp-fix-type-definitions-for-myp.patch
    acpi-validate-hotplug-selector-on-access.patch
    block-backend-Retain-permissions-after-m.patch
    brotli-fix-actual-variable-array-paramet.patch
    doc-Add-the-SGX-numa-description.patch
    hw-i386-amd_iommu-Fix-maybe-uninitialize.patch
    hw-intc-exynos4210_gic-provide-more-room.patch
    hw-nvme-fix-CVE-2021-3929.patch
    hw-nvram-at24-return-0xff-if-1-byte-addr.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-MRCE-Write-data-to-source.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-specify-some-unsupported_imgopts.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
    meson-build-all-modules-by-default.patch
    numa-Enable-numa-for-SGX-EPC-sections.patch
    numa-Support-SGX-numa-in-the-monitor-and.patch
    python-aqmp-Fix-negotiation-with-pre-oob.patch
    python-aqmp-add-SocketAddrT-to-package-r.patch
    python-aqmp-add-__del__-method-to-legacy.patch
    python-aqmp-add-_session_guard.patch
    python-aqmp-add-socket-bind-step-to-lega.patch
    python-aqmp-add-start_server-and-accept-.patch
    python-aqmp-copy-type-definitions-from-q.patch
    python-aqmp-drop-_bind_hack.patch
    python-aqmp-fix-docstring-typo.patch
    python-aqmp-fix-race-condition-in-legacy.patch
    python-aqmp-handle-asyncio.TimeoutError-.patch
    python-aqmp-refactor-_do_accept-into-two.patch
    python-aqmp-remove-_new_session-and-_est.patch
    python-aqmp-rename-AQMPError-to-QMPError.patch
    python-aqmp-rename-accept-to-start_serve.patch
    python-aqmp-split-_client_connected_cb-o.patch
    python-aqmp-squelch-pylint-warning-for-t.patch
    python-aqmp-stop-the-server-during-disco.patch
    python-introduce-qmp-shell-wrap-convenie.patch
    python-machine-raise-VMLaunchFailure-exc.patch
    python-move-qmp-shell-under-the-AQMP-pac.patch
    python-move-qmp-utilities-to-python-qemu.patch
    python-qmp-switch-qmp-shell-to-AQMP.patch
    python-support-recording-QMP-session-to-.patch
    python-upgrade-mypy-to-0.780.patch
    qcow2-simple-case-support-for-downgradin.patch
    qemu-binfmt-conf.sh-should-use-F-as-shor.patch
    tests-qemu-iotests-040-Skip-TestCommitWi.patch
    tests-qemu-iotests-Fix-051-for-binaries-.patch
    tests-qemu-iotests-testrunner-Quote-case.patch
    tools-virtiofsd-Add-rseq-syscall-to-the-.patch
    virtiofsd-Drop-membership-of-all-supplem.patch
    block-qdict-Fix-Werror-maybe-uninitializ.patch

OBS-URL: https://build.opensuse.org/request/show/979381
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=717
2022-05-26 17:31:38 +00:00
OBS User buildservice-autocommit
7fb78aa844 Updating link to change in openSUSE:Factory/qemu revision 229.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=fb5089c39f62a0db045c1171e9c8a027
2022-05-26 15:23:05 +00:00
c526d603c8 - Add bugzilla reference to latest change
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=715
2022-05-23 12:27:09 +00:00
9a392f015c - Backport a GCC 12 aarch64 build fix
* Patches added:
  block-qdict-Fix-Werror-maybe-uninitializ.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=714
2022-05-23 12:17:22 +00:00
93fa537242 Accepting request 976281 from home:marxin:branches:Virtualization
- Filter out rpmlint error that is valid for qemu, but will
  have its badness increased in the future.

OBS-URL: https://build.opensuse.org/request/show/976281
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=712
2022-05-11 14:18:03 +00:00
6971215821 Accepting request 970878 from home:dirkmueller:Factory
- enable aio=io_uring on all kvm architectures (bsc#1197699)

OBS-URL: https://build.opensuse.org/request/show/970878
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=710
2022-04-20 16:18:45 +00:00
Li Zhang
01f9005feb Accepting request 966963 from home:lizhang:branches:Virtualization
- Backport aqmp patches from upstream which can fix iotest issues
* Patches added:
  python-aqmp-add-__del__-method-to-legacy.patch
  python-aqmp-add-_session_guard.patch
  python-aqmp-add-SocketAddrT-to-package-r.patch
  python-aqmp-add-socket-bind-step-to-lega.patch
  python-aqmp-add-start_server-and-accept-.patch
  python-aqmp-copy-type-definitions-from-q.patch
  python-aqmp-drop-_bind_hack.patch
  python-aqmp-fix-docstring-typo.patch
  python-aqmp-Fix-negotiation-with-pre-oob.patch
  python-aqmp-fix-race-condition-in-legacy.patch
  Python-aqmp-fix-type-definitions-for-myp.patch
  python-aqmp-handle-asyncio.TimeoutError-.patch
  python-aqmp-refactor-_do_accept-into-two.patch
  python-aqmp-remove-_new_session-and-_est.patch
  python-aqmp-rename-accept-to-start_serve.patch
  python-aqmp-rename-AQMPError-to-QMPError.patch
  python-aqmp-split-_client_connected_cb-o.patch
  python-aqmp-squelch-pylint-warning-for-t.patch
  python-aqmp-stop-the-server-during-disco.patch
  python-introduce-qmp-shell-wrap-convenie.patch
  python-machine-raise-VMLaunchFailure-exc.patch
  python-move-qmp-shell-under-the-AQMP-pac.patch
  python-move-qmp-utilities-to-python-qemu.patch
  python-qmp-switch-qmp-shell-to-AQMP.patch
  python-support-recording-QMP-session-to-.patch
  python-upgrade-mypy-to-0.780.patch
- Drop the patches which are workaround to fix iotest issues
* Patches dropped:
  Revert-python-iotests-replace-qmp-with-a.patch
  Revert-python-machine-add-instance-disam.patch
  Revert-python-machine-add-sock_dir-prope.patch
  Revert-python-machine-handle-fast-QEMU-t.patch
  Revert-python-machine-move-more-variable.patch
  Revert-python-machine-remove-_remove_mon.patch

OBS-URL: https://build.opensuse.org/request/show/966963
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=708
2022-04-06 08:07:07 +00:00
Li Zhang
d5dc76a81e Accepting request 966256 from home:lizhang:branches:Virtualization
Correct the format of qemu.changes

OBS-URL: https://build.opensuse.org/request/show/966256
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=706
2022-03-31 15:52:27 +00:00
Li Zhang
6b8a4a3330 Accepting request 966187 from home:lizhang:branches:Virtualization
- Support the SGX feature (bsc#1197807) 
* Patches added:
  doc-Add-the-SGX-numa-description.patch
  numa-Enable-numa-for-SGX-EPC-sections.patch
  numa-Support-SGX-numa-in-the-monitor-and.patch

OBS-URL: https://build.opensuse.org/request/show/966187
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=705
2022-03-31 10:57:17 +00:00
Li Zhang
17c6a931b0 Accepting request 965700 from home:lizhang:branches:Virtualization
- Fix bsc#1193880 CVE-2021-3929
* Patches added:
  hw-nvme-fix-CVE-2021-3929.patch

OBS-URL: https://build.opensuse.org/request/show/965700
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=704
2022-03-29 15:01:52 +00:00
Li Zhang
32d2c6bf29 Accepting request 965607 from home:lizhang:branches:Virtualization
- The patches from upstream cause testsuit failures (bsc#1197150 bsc#1197528)
* Patches added:
  Revert-python-iotests-replace-qmp-with-a.patch
  Revert-python-machine-add-instance-disam.patch
  Revert-python-machine-add-sock_dir-prope.patch
  Revert-python-machine-handle-fast-QEMU-t.patch
  Revert-python-machine-move-more-variable.patch
  Revert-python-machine-remove-_remove_mon.patch

OBS-URL: https://build.opensuse.org/request/show/965607
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=703
2022-03-29 10:21:23 +00:00
32cbd20edb Accepting request 965597 from home:dfaggioli:devel:Virtualization
- Fix update_git.sh wiping all the package file of the local
  checkout while cloning the git repository on demand (in case they
  don't exist and the user as to do so).

OBS-URL: https://build.opensuse.org/request/show/965597
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=702
2022-03-29 09:41:18 +00:00
2c8c706b6f Accepting request 964930 from home:dfaggioli:devel:Virtualization
- Kill downstream patches around bifmt handling that makes
  cumbersome to run multi-arch containers, and switch to the
  upstream behavior, which is well documented and valid on
  all other distros. This is possible thanks to Linux kernel
  commit 2347961b11d4 and QEMU commit 6e1c0d7b951e19c53 (so
  it can only work on Leap/SLE 15.4 and higher). (bsc#1197298)
* Patches dropped:
  qemu-binfmt-conf.sh-allow-overriding-SUS.patch
  qemu-binfmt-conf-use-qemu-ARCH-binfmt.patch

OBS-URL: https://build.opensuse.org/request/show/964930
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=700
2022-03-25 18:55:22 +00:00
c2608fba2c Accepting request 964919 from home:dfaggioli:devel:Virtualization
- Add missing patch from a PTFs (bsc#1194938, P2 bug!)
* Patches added:
  scsi-generic-check-for-additional-SG_IO-.patch

OBS-URL: https://build.opensuse.org/request/show/964919
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=699
2022-03-25 17:52:29 +00:00
f37eee9181 Accepting request 964911 from home:dfaggioli:devel:Virtualization
- Fixup wrong Bugzilla references in patches and changes file

OBS-URL: https://build.opensuse.org/request/show/964911
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=698
2022-03-25 17:10:56 +00:00
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