SHA256
1
0
forked from pool/qemu
Commit Graph

591 Commits

Author SHA256 Message Date
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
Bruce Rogers
03fb60ec0f Accepting request 887364 from home:bfrogers:branches:Virtualization
Tweak of README.PACKAGING

OBS-URL: https://build.opensuse.org/request/show/887364
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=640
2021-04-21 18:53:01 +00:00
Bruce Rogers
89f4c76e4e Accepting request 887017 from home:bfrogers:branches:Virtualization
Another tweak to last submission (sorry for the noise!)

OBS-URL: https://build.opensuse.org/request/show/887017
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=639
2021-04-20 13:40:11 +00:00
097c7131a7 Accepting request 886810 from home:bfrogers:branches:Virtualization
fix last submission

OBS-URL: https://build.opensuse.org/request/show/886810
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=638
2021-04-20 08:08:17 +00:00
Bruce Rogers
1e47dbc5c1 Accepting request 886771 from home:bfrogers:branches:Virtualization
- Include upstream patch designated as stable material and reviewed
  for applicability to include here
  mptsas-Remove-unused-MPTSASState-pending.patch
- Clarify in support documents that cpu-add was removed in this
  release from both the human monitor protocol (HMP) and QMP
  interfaces

OBS-URL: https://build.opensuse.org/request/show/886771
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=637
2021-04-19 20:23:47 +00:00
Bruce Rogers
4d7bbe2c05 Accepting request 886076 from home:bfrogers:branches:Virtualization
- 6.0.0 qemu is about to be released. Add comments to the in-
  package support documents (supported.<arch>.txt) about the new
  deprecations as of that release as an early head's up for qemu
  users. These deprecations include these command-line options:
  -M option: kernel-irq-chip=off 
  -chardev tty 
  -chardev paraport 
  -enable-fips 
  -writeconfig 
  -spice password=string

OBS-URL: https://build.opensuse.org/request/show/886076
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=635
2021-04-16 15:47:25 +00:00
Bruce Rogers
12286f39d2 Accepting request 885459 from home:bfrogers:branches:Virtualization
- Include upstream patches designated as stable material and
  reviewed for applicability to include here. NOTE that the
  PIIX4 patch has migration implications: the change will also be
  applied to the SLE-15-SP2 qemu, and a live migration from that
  version to this SLE-15-SP3 qemu would require this patch to be
  applied for a successful migration if PIIX4 southbridge is used
  in the machine emulation (x86 i440fx)
  block-rbd-fix-memory-leak-in-qemu_rbd_co.patch
  block-rbd-Fix-memory-leak-in-qemu_rbd_co.patch
  cpu-core-Fix-help-of-CPU-core-device-typ.patch
  hw-arm-virt-acpi-build-Fix-GSIV-values-o.patch
  hw-block-fdc-Fix-fallback-property-on-sy.patch
  hw-isa-Kconfig-Add-missing-dependency-VI.patch
  hw-isa-piix4-Migrate-Reset-Control-Regis.patch
  hw-virtio-pci-Added-AER-capability.patch
  hw-virtio-pci-Added-counter-for-pcie-cap.patch
  s390x-css-report-errors-from-ccw_dstream.patch
  target-xtensa-fix-meson.build-rule-for-x.patch
  util-fix-use-after-free-in-module_load_o.patch
  virtio-pci-compat-page-aligned-ATS.patch

OBS-URL: https://build.opensuse.org/request/show/885459
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=634
2021-04-14 18:51:51 +00:00
Bruce Rogers
86ffd40d11 Accepting request 882222 from home:bfrogers:branches:Virtualization
- Switch method of splitting off hw-s390x-virtio-gpu-ccw.so as a
  module to what was accepted upstream (bsc#1181103)
* Patches dropped:
  hw-s390x-modularize-virtio-gpu-ccw.patch
* Patches added:
  s390x-add-have_virtio_ccw.patch
  s390x-modularize-virtio-gpu-ccw.patch
  s390x-move-S390_ADAPTER_SUPPRESSIBLE.patch
- Fix OOB access in sdhci interface (CVE-2020-17380, bsc#1175144,
  CVE-2020-25085, bsc#1176681, CVE-2021-3409, bsc#1182282)
  hw-sd-sd-Actually-perform-the-erase-oper.patch
  hw-sd-sd-Fix-build-error-when-DEBUG_SD-i.patch
  hw-sd-sdhci-Correctly-set-the-controller.patch
  hw-sd-sdhci-Don-t-transfer-any-data-when.patch
  hw-sd-sdhci-Don-t-write-to-SDHC_SYSAD-re.patch
  hw-sd-sdhci-Limit-block-size-only-when-S.patch
  hw-sd-sdhci-Reset-the-data-pointer-of-s-.patch
  hw-sd-sd-Move-the-sd_block_-read-write-a.patch
  hw-sd-sd-Skip-write-protect-groups-check.patch
- Fix potential privilege escalation in virtiofsd tool
  (CVE-2021-20263, bsc#1183373)
  tools-virtiofsd-Replace-the-word-whiteli.patch
  viriofsd-Add-support-for-FUSE_HANDLE_KIL.patch
  virtiofsd-extract-lo_do_open-from-lo_ope.patch
  virtiofsd-optionally-return-inode-pointe.patch
  virtiofsd-prevent-opening-of-special-fil.patch
  virtiofs-drop-remapped-security.capabili.patch
  virtiofsd-Save-error-code-early-at-the-f.patch
- Fix OOB access (stack overflow) in rtl8139 NIC emulation
  (CVE-2021-3416, bsc#1182968)
  net-introduce-qemu_receive_packet.patch
  rtl8139-switch-to-use-qemu_receive_packe.patch
- Fix OOB access (stack overflow) in other NIC emulations
  (CVE-2021-3416)
  cadence_gem-switch-to-use-qemu_receive_p.patch
  dp8393x-switch-to-use-qemu_receive_packe.patch
  e1000-switch-to-use-qemu_receive_packet-.patch
  lan9118-switch-to-use-qemu_receive_packe.patch
  msf2-mac-switch-to-use-qemu_receive_pack.patch
  pcnet-switch-to-use-qemu_receive_packet-.patch
  sungem-switch-to-use-qemu_receive_packet.patch
  tx_pkt-switch-to-use-qemu_receive_packet.patch
- Fix heap overflow in MSIx emulation (CVE-2020-27821, bsc#1179686)
  memory-clamp-cached-translation-in-case-.patch
- Include upstream patches designated as stable material and
  reviewed for applicability to include here
  hw-arm-virt-Disable-pl011-clock-migratio.patch
  xen-block-Fix-removal-of-backend-instanc.patch
- Fix package scripts to not use hard coded paths for temporary
  working directories and log files (bsc#1182425)

OBS-URL: https://build.opensuse.org/request/show/882222
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=632
2021-03-30 20:27:28 +00:00
Bruce Rogers
0cf745d181 Accepting request 879686 from home:bfrogers:branches:Virtualization
- Fix s390x "mediated device is in use" error condition
  (bsc#1183634)
  update-linux-headers-Include-const.h.patch
  Update-linux-headers-to-5.11-rc2.patch
  vfio-ccw-Connect-the-device-request-noti.patch

OBS-URL: https://build.opensuse.org/request/show/879686
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=630
2021-03-17 13:23:38 +00:00
Bruce Rogers
2746ce73b5 Accepting request 879536 from home:bfrogers:branches:Virtualization
- Fix DoS in e1000 emulated device (CVE-2021-20257 bsc#1182577)
  e1000-fail-early-for-evil-descriptor.patch
- Fix incorrect guest data in s390x PCI passthrough (bsc#1183372)
  s390x-pci-restore-missing-Query-PCI-Func.patch
- Include upstream patches designated as stable material and
  reviewed for applicability to include here
  lsilogic-Use-PCIDevice-exit-instead-of-D.patch
  vhost-user-blk-fix-blkcfg-num_queues-end.patch
- Fix potential privilege escalation in virtfs (CVE-2021-20181
  bsc#1182137)
  9pfs-Fully-restart-unreclaim-loop-CVE-20.patch
- Fix OOB access in vmxnet3 emulation (CVE-2021-20203 bsc#1181639)
  net-vmxnet3-validate-configuration-value.patch

OBS-URL: https://build.opensuse.org/request/show/879536
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=629
2021-03-17 01:17:25 +00:00
Bruce Rogers
0c0fef9edd Accepting request 878619 from home:dimstar:Factory
- Add #!ForceMultiversion to qemu.spec:
  + As the spec file defines different Version: fiels for various
    subpackages, we must instruct OBS to not ever reset the
    checkin-counter, as it would by defalut on a version increase.
    Resetting the version counter results in sub-packages reusing
    their VERSION-RELEASE from the past (e.g. qemu-ipxe is version
    1.0.0+, and upon checkin of a new qemu version, RELEASE is
    reset to 1.1, thus again producing
    qemu-ipxe-1.0.0+-1.1.noarch.rpm.

OBS-URL: https://build.opensuse.org/request/show/878619
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=628
2021-03-12 19:58:04 +00:00
Bruce Rogers
eedf97c38f Accepting request 878083 from home:bfrogers:branches:Virtualization
Misc small changes

OBS-URL: https://build.opensuse.org/request/show/878083
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=627
2021-03-09 22:50:50 +00:00
Bruce Rogers
2d7bf67d6a Accepting request 877306 from home:bfrogers:branches:Virtualization
- Fix GCC11 compiler issue in brotli (edk2) code (boo#1181922)
  brotli-fix-actual-variable-array-paramet.patch
- Tweak a few submodule descriptions and summaries
- Fix a backward compatibility issue in ACPI data
  i386-acpi-restore-device-paths-for-pre-5.patch

OBS-URL: https://build.opensuse.org/request/show/877306
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=625
2021-03-05 22:16:47 +00:00
Bruce Rogers
93b0d48713 Accepting request 876625 from home:bfrogers:branches:Virtualization
- Add patch from IBM to improve modularization situation on s390
  where a new qemu module, hw-s390x-virtio-gpu-ccw.so, and a
  corresponding new qemu-hw-s390x-virtio-gpu-ccw subpackage, is
  split out (this parallels the hw-display-virtio-gpu-pci.so module).
  Split-provides file is also used to track this functionality
  splitout. Both the packages supplying the above mentioned modules
  now have a Requires on the qemu-hw-display-virtio-gpu package. It
  is anticipated that this change is going in upstream as well, and
  if done differently the plan is to update to the upstream
  implementation if possible (bsc#1181103)
  hw-s390x-modularize-virtio-gpu-ccw.patch

OBS-URL: https://build.opensuse.org/request/show/876625
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=624
2021-03-03 23:00:51 +00:00
Bruce Rogers
bb0d3e6db4 Accepting request 876342 from home:bfrogers:branches:Virtualization
More tweaks to update_git.sh

OBS-URL: https://build.opensuse.org/request/show/876342
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=623
2021-03-03 03:58:29 +00:00
Bruce Rogers
bc14630b77 Accepting request 875529 from home:bfrogers:branches:Virtualization
More workflow script tweaks

OBS-URL: https://build.opensuse.org/request/show/875529
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=621
2021-02-26 21:03:22 +00:00
Bruce Rogers
ba2fece093 Accepting request 875464 from home:bfrogers:branches:Virtualization
- Added a few more usability improvements for our git packaging
  workflow

OBS-URL: https://build.opensuse.org/request/show/875464
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=620
2021-02-26 15:34:24 +00:00
Bruce Rogers
698c429494 Accepting request 874876 from home:bfrogers:branches:Virtualization
- Fix issue of virtio-9p-ccw having been mistakenly dropped from
  qemu (bsc#1182496)
  hw-s390x-fix-build-for-virtio-9p-ccw.patch
- Tweaked some spec file details to be again compatible with quilt
  setup using the spec file as input
- Remove BuildRequires that were added in anticipation of building
  ovmf within this package. We have not taken that route

OBS-URL: https://build.opensuse.org/request/show/874876
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=619
2021-02-24 14:16:12 +00:00
Bruce Rogers
112fb09f1a Accepting request 873002 from home:bfrogers:branches:Virtualization
- Fix uninitialized variable in ipxe driver code (boo#1181922)
  ath5k-Add-missing-AR5K_EEPROM_READ-in-at.patch
- Add a few improvements to the git-based package workflow scripts
- Include additional upstream patches designated as stable material
  and reviewed for applicability to include here
  blockjob-Fix-crash-with-IOthread-when-bl.patch
  monitor-Fix-assertion-failure-on-shutdow.patch
  qemu-nbd-Use-SOMAXCONN-for-socket-listen.patch
  qemu-storage-daemon-Enable-object-add.patch

OBS-URL: https://build.opensuse.org/request/show/873002
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=617
2021-02-17 02:19:36 +00:00
Bruce Rogers
ddbbacb439 Accepting request 870726 from home:bfrogers:branches:Virtualization
- Switch the modules qemu-ui-display-gpu and qemu-ui-display-gpu-pci
  from being an x86 only Recommends, to a Recommends for all arch's
  except s390x (boo#1181350)
- Fix qemu-hw-usb-smartcard to not be a Recommends for s390x
- Minor spec file tweaks for compatibility with upcoming spec file
  formatter
- Make note that this patch takes care of an OOB access in ARM
  interrupt handling (CVE-2021-20221 bsc#1181933)
  hw-intc-arm_gic-Fix-interrupt-ID-in-GICD.patch

OBS-URL: https://build.opensuse.org/request/show/870726
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=615
2021-02-10 03:00:31 +00:00
Bruce Rogers
a8263c0693 Accepting request 869843 from home:bfrogers:branches:Virtualization
- Include upstream patches designated as stable material and
  reviewed for applicability to include here
  block-Separate-blk_is_writable-and-blk_s.patch
  hw-intc-arm_gic-Fix-interrupt-ID-in-GICD.patch
  hw-net-lan9118-Fix-RX-Status-FIFO-PEEK-v.patch
  hw-timer-slavio_timer-Allow-64-bit-acces.patch
  net-Fix-handling-of-id-in-netdev_add-and.patch
  target-arm-Don-t-decode-insns-in-the-XSc.patch
  target-arm-Fix-MTE0_ACTIVE.patch
  target-arm-Introduce-PREDDESC-field-defi.patch
  target-arm-Update-PFIRST-PNEXT-for-pred_.patch
  target-arm-Update-REV-PUNPK-for-pred_des.patch
  target-arm-Update-ZIP-UZP-TRN-for-pred_d.patch
  tcg-Use-memset-for-large-vector-byte-rep.patch
  ui-vnc-Add-missing-lock-for-send_color_m.patch
  virtio-move-use-disabled-flag-property-t.patch
- binutils v2.36 has changed the handling of the assembler's
  -mx86-used-note, resulting in a build failure. To compensate, we
  now explicitly specify -mx86-used-note=no in the seabios Makefile
  (boo#1181775)
  build-be-explicit-about-mx86-used-note-n.patch

OBS-URL: https://build.opensuse.org/request/show/869843
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=614
2021-02-05 19:59:39 +00:00
Bruce Rogers
1835003597 Accepting request 867744 from home:bfrogers:branches:Virtualization
Minor tweak to changes file

OBS-URL: https://build.opensuse.org/request/show/867744
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=612
2021-01-29 15:16:09 +00:00
Bruce Rogers
c534faa16f Accepting request 867740 from home:bfrogers:branches:Virtualization
- Additional tweaks to ensure libvirt runs ok when
  qemu-hw-display-virtio-gpu package is not installed

OBS-URL: https://build.opensuse.org/request/show/867740
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=611
2021-01-29 15:02:11 +00:00
Bruce Rogers
643d32ed8f Accepting request 867611 from home:lin_ma:branches:Virtualization
Use '%service_del_postun_without_restart' instead of '%service_del_postun' (bsc#1178565)

OBS-URL: https://build.opensuse.org/request/show/867611
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=609
2021-01-29 04:47:06 +00:00
Bruce Rogers
4e66254e0d Accepting request 867333 from home:bfrogers:branches:Virtualization
One more code location was needing to check for a missing module.

OBS-URL: https://build.opensuse.org/request/show/867333
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=608
2021-01-28 00:43:06 +00:00
Bruce Rogers
4dca4ea015 Accepting request 866983 from home:bfrogers:branches:Virtualization
- Fix two additional cases of qemu crashing due to qemu module
  packages not being loaded.
  qom-handle-case-of-chardev-spice-module-.patch
  spice-app-avoid-crash-when-core-spice-mo.patch

OBS-URL: https://build.opensuse.org/request/show/866983
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=607
2021-01-26 17:57:05 +00:00
Bruce Rogers
0c8904995e Accepting request 866169 from home:bfrogers:branches:Virtualization
- Fix issue of qemu crashing (abort called) when virtio-gpu device
  is asked for and the qemu-hw-display-virtio-gpu package isn't
  installed. (bsc#1181103)
  module-for-virtio-gpu-pre-load-module-to.patch
- Add additional inter-module package dependencies, to reflect the
  current module dependencies (see qemu source file: util/module.c)
- As of v3.1.0 virt-manager, new VM's are created by default with
  audio/sound enabled, so it's time to reflect the need, at least
  in the spice case, by having spice-audio available when spice in
  general is used (boo#1180210 boo#1181132)
- Further refine package Recommends/Suggests based on architecture
- Remove no longer needed dependency on pwdutils (boo#1181235)

OBS-URL: https://build.opensuse.org/request/show/866169
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=605
2021-01-22 23:57:51 +00:00
Bruce Rogers
6129c78354 Accepting request 864180 from home:bfrogers:branches:Virtualization
- Fix qemu-testsuite issue where white space processing gets
  handled differently under bash 5.1 (boo#1181054)
  iotests-Fix-_send_qemu_cmd-with-bash-5.1.patch

OBS-URL: https://build.opensuse.org/request/show/864180
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=603
2021-01-19 00:20:56 +00:00
Bruce Rogers
f53be670f0 Accepting request 863138 from home:bfrogers:branches:Virtualization
Redo wording of last changelog entry.

OBS-URL: https://build.opensuse.org/request/show/863138
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=602
2021-01-14 15:36:27 +00:00
Bruce Rogers
58189e6be2 Accepting request 862991 from home:bfrogers:branches:Virtualization
- Convert qemu-kvm from a script to a symlink. This method of
  invoking the QEMU emulator has been deprecated for some time,
  but is still provided. It has as it's origins a version of QEMU
  which had KVM acceleration enabled by default. In it's recent
  incarnation it is a script which adds '-machine accel=kvm' to the
  beginning of the list of command line options passed to the
  emulator. This method collides with the now preferred method of
  specifying acceleration options by using -accel. qemu-kvm is now
  changed to simply be a symlink to the same QEMU binary which the
  prior script exec'd. This new approach takes advantage of a built
  in QEMU feature where if QEMU is invoked using a program name
  ending in 'kvm', KVM emulation is enabled. This approach is
  better in that it is more compatible with any other command line
  option that may be added for specifying acceleration (not that
  you should do that).
  For those who have taken advantage of the fact that you can add
  additional command line options to the qemu-kvm script, or doing
  other things in that script you will just need to create an
  alternate script "emulator" to achieve the same. It's possible
  that there may be some very subtle behavioral difference in the
  switch from a script to a symlink, but given that qemu-kvm is a
  deprecated package, we're not going to worry about that.

OBS-URL: https://build.opensuse.org/request/show/862991
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=601
2021-01-13 22:38:56 +00:00
Bruce Rogers
5b17093cb1 Accepting request 860516 from home:bfrogers:branches:Virtualization
- Fix crash when spice used and the qemu-audio-spice package isn't
  installed (boo#1180210)
  audio-add-sanity-check.patch
- Add some stable patches from upstream
  block-Fix-deadlock-in-bdrv_co_yield_to_d.patch
  block-Fix-locking-in-qmp_block_resize.patch
  block-nfs-fix-int-overflow-in-nfs_client.patch
  block-Simplify-qmp_block_resize-error-pa.patch
  build-no-pie-is-no-functional-linker-fla.patch

OBS-URL: https://build.opensuse.org/request/show/860516
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=599
2021-01-05 17:40:44 +00:00
Bruce Rogers
fc6feafd4e Accepting request 854151 from home:bfrogers:branches:Virtualization
- Update to v5.2.0: See http://wiki.qemu.org/ChangeLog/5.2
  Take note that ongoing feature deprecation is tracked at both
  http://wiki.qemu-project.org/Features/LegacyRemoval and in
  the deprecated.html file installed with the qemu package
  Some noteworthy changes:
* Dropped system emulators: qemu-system-lm32, qemu-system-unicore32
* Dropped linux user emulator: qemu-ppc64abi32
* Added linux user emulator: qemu-extensaeb
* Unicore32 and lm32 guest support dropped
* New sub-packages (most due to ongoing modularization of QEMU):
  qemu-audio-spice, qemu-hw-chardev-spice, qemu-hw-display-virtio-vga, 
  qemu-hw-display-virtio-gpu, qemu-hw-display-virtio-gpu-pci,
  qemu-ui-spice-core, qemu-ui-opengl, qemu-ivshmem-tools
* x86: A new KVM feature which improves the handling of asynchronous page
  faults is available with -cpu ...,kvm-async-pf-int (requires Linux 5.8)
* s390: More instructions emulated under TCG
* PowerPC: nvdimm= machine option now functions correctly; misc improvements
* ARM: new boards: mps2-an386 (Cortex-M4 based) and mps2-an500
  (Cortex-M7 based),  raspi3ap (the Pi 3 model A+), raspi0 (the Pi Zero)
  and raspi1ap (the Pi A+)
* RISC-V: OpenSBI v0.8 included by default; Generic OpenSBI platform used
  when no -bios argument is supplied; Support for NUMA sockets on Virt
  and Spike Machines; Support for migrating machines; misc improvements
* Misc NVMe improvements
* The 'vhost-user-blk' export type has been added, allowing
  qemu-storage-daemon to act as a vhost-user-blk device backend
* The SMBIOS OEM strings can now come from a file
* 9pfs - misc performance related improvements
* virtiofs - misc improvements
* migration: The default migration bandwidth has been increased to 1Gbps
  (users are still encouraged to tune it to their own hardware); The new
  'calc-dirty-rate' and 'query-dirty-rate' QMP commands can help determine
  the likelihood of precopy migration success; TLS+multifd now supported
  for higher bandwidth encrypted migration; misc minor features added
* Misc minor block features added
* Misc doc improvements
* qemu-microvm subpackage change: the bios-microvm.bin is now SeaBIOS based,
  and the qboot based on is now qboot.rom
* elf2dmp is no longer part of qemu-tools (it was never intended to be
  a packaged binary)
* Some subpackages which were 'Requires' are now 'Recommends', allowing for
  a smaller qemu packaging footprint if needed
* Patches dropped (included in release tarball, unless otherwise noted):
  docs-fix-trace-docs-build-with-sphinx-3..patch (fixed differently)
  hw-hyperv-vmbus-Fix-32bit-compilation.patch
  linux-user-properly-test-for-infinite-ti.patch
  Switch-order-of-libraries-for-mpath-supp.patch (fixed differently)
  Conditionalize-ui-bitmap-installation-be.patch (fixed differently)
  hw-usb-hcd-xhci-Fix-GCC-9-build-warning.patch (no longer using gcc9)
  hw-usb-dev-mtp-Fix-GCC-9-build-warning.patch (no longer using gcc9)
  roms-Makefile-enable-cross-compile-for-b.patch (fixed with different patch)
  libvhost-user-handle-endianness-as-manda.patch
  virtio-add-vhost-user-fs-ccw-device.patch
  Fix-s-directive-argument-is-null-error.patch
  build-Workaround-compilation-error-with-.patch
  build-Be-explicit-about-fcommon-compiler.patch
  intel-Avoid-spurious-compiler-warning-on.patch
  golan-Add-explicit-type-casts-for-nodnic.patch
  Do-not-apply-WORKAROUND_CFLAGS-for-host-.patch
  ensure-headers-included-are-compatible-w.patch
  Enable-cross-compile-prefix-for-C-compil.patch (fixed differently)
  hw-net-net_tx_pkt-fix-assertion-failure-.patch
  hw-net-xgmac-Fix-buffer-overflow-in-xgma.patch
  s390x-protvirt-allow-to-IPL-secure-guest.patch
  usb-fix-setup_len-init-CVE-2020-14364.patch
* Patches added:
  meson-install-ivshmem-client-and-ivshmem.patch
  Revert-roms-efirom-tests-uefi-test-tools.patch
  Makefile-Don-t-check-pc-bios-as-pre-requ.patch
  roms-Makefile-add-cross-file-to-qboot-me.patch
  qboot-add-cross.ini-file-to-handle-aarch.patch
  usb-Help-compiler-out-to-avoid-a-warning.patch
- In spec file, where reasonable, switch BuildRequires: XXX-devel
  to be pkgconfig(XXX') instead
- No longer disable link time optimization for qemu for x86. It looks like
  either the build service, qemu code changes and/or the switch to meson
  have resolved issues previously seen there. We still see problems for
  other architectures however.
- For the record, the following issues reported for SUSE SLE15-SP2
  are either fixed in this current package, or are otherwise no longer
  an issue: bsc#1172384 bsc#1174386 bsc#1174641 bsc#1174863 bsc#1175370
  bsc#1175441 bsc#1176494 CVE-2020-13361 CVE-2020-14364 CVE-2020-15863
  CVE-2020-16092 CVE-2020-24352
  and the following feature requests are satisfied by this package:
  jsc#SLE-13689 jsc#SEL-13780 jsc#SLE-13840
- To be more accurate, and to align with other qemu packaging
  practices, rename the qemu-s390 package to qemu-s390x. The old
  name (in the rpm namespace) is provided with a "Provides"
  directive, and an "Obsoletes" done against that name for prior
  qemu versions, as is standard practice (boo#1177764 jsc#SLE-17060)
- Take this opportunity to remove some ancient Split-Provides
  mechanisms which can't conceivably be needed any more:
  qemu-block-curl provided: qemu:%_libdir/%name/block-curl.so
  qemu-guest-agent provided: qemu:%_bindir/qemu-ga
  qemu-tools provided: qemu:%_libexecdir/qemu-bridge-helper
- Disable linux-user 'ls' test on 32 bit arm. It's failing with
  "Allocating guest commpage: Cannot allocate memory" error, which
  we should hunt down, but for now we don't want it to prevent the
  package from being built

OBS-URL: https://build.opensuse.org/request/show/854151
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=597
2020-12-08 22:01:20 +00:00
Bruce Rogers
db17e9c477 Accepting request 850621 from home:bfrogers:branches:Virtualization
- Be more careful about what directives are used for qemu-testsuite

OBS-URL: https://build.opensuse.org/request/show/850621
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=595
2020-11-24 22:31:21 +00:00
Bruce Rogers
5e0a4e0d00 Accepting request 850585 from home:bfrogers:branches:Virtualization
- Fix some spec file 'Requires' statements to be accurate to the
  new model of relying on system-user-qemu and system-group-kvm to
  provide the needed users and groups

OBS-URL: https://build.opensuse.org/request/show/850585
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=594
2020-11-24 17:46:26 +00:00