pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   tnn
Date:           Sat Sep 17 09:54:56 UTC 2022

Modified Files:
        pkgsrc/emulators/qemu: Makefile PLIST distinfo
        pkgsrc/emulators/qemu/patches: patch-target_i386_cpu.c
Added Files:
        pkgsrc/emulators/qemu/patches: patch-hw_mips_mipssim__virtio.c
Removed Files:
        pkgsrc/emulators/qemu/patches: patch-hw_core_uboot__image.h
            patch-slirp_src_tcp__subr.c

Log Message:
qemu: update to 7.1.0

This release includes initial support for LoongArch64 as well as CPU
architecture and driver emulation improvements for ARM, HPPA, Nios2,
OpenRISC, PowerPC, Renesas, s390, x86 and Xtensa.

Incompatible changes
  The -enable-fips option to QEMU system emulators has been removed
  The -writeconfig option to QEMU system emulators has been removed
  The deprecated x86 CPU model Icelake-Client has been removed
  The deprecated properties loaded (for crypto objects) and opened
    (for RNG backends) are now read-only
  The deprecated -soundhw option has been replaced by -audio
    (e.g. -audio pa,model=hda)
  The deprecated -sdl and -curses have been removed, use -display sdl
    and -display curses instead.
  The -display sdl,window_close=... suboption has been removed, use
   -display sdl,window-close=... instead, i.e. with a minus instead of an
   underscore between “window” and “close”
  The -alt-grab option and the -display sdl,alt_grab=on suboption have been
    removed, use -display sdl,grab-mod=lshift-lctrl-lalt instead.
  The -ctrl-grab option and the -display sdl,ctrl_grab=on suboption have
    been removed, use -display sdl,grab-mod=rctrl instead.
  The x86 Icelake-Client CPU does not exist in the real world and has
    therefore been removed.


To generate a diff of this commit:
cvs rdiff -u -r1.302 -r1.303 pkgsrc/emulators/qemu/Makefile
cvs rdiff -u -r1.81 -r1.82 pkgsrc/emulators/qemu/PLIST
cvs rdiff -u -r1.193 -r1.194 pkgsrc/emulators/qemu/distinfo
cvs rdiff -u -r1.2 -r0 \
    pkgsrc/emulators/qemu/patches/patch-hw_core_uboot__image.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/qemu/patches/patch-hw_mips_mipssim__virtio.c
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/emulators/qemu/patches/patch-slirp_src_tcp__subr.c
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/emulators/qemu/patches/patch-target_i386_cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.302 pkgsrc/emulators/qemu/Makefile:1.303
--- pkgsrc/emulators/qemu/Makefile:1.302        Sun Sep 11 12:51:34 2022
+++ pkgsrc/emulators/qemu/Makefile      Sat Sep 17 09:54:56 2022
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.302 2022/09/11 12:51:34 wiz Exp $
+# $NetBSD: Makefile,v 1.303 2022/09/17 09:54:56 tnn Exp $
 
-DISTNAME=      qemu-7.0.0
-PKGREVISION=   4
+DISTNAME=      qemu-7.1.0
 CATEGORIES=    emulators
 MASTER_SITES=  https://download.qemu.org/
 EXTRACT_SUFX=  .tar.xz
@@ -26,15 +25,7 @@ PYTHON_VERSIONS_INCOMPATIBLE=        27
 
 TOOL_DEPENDS+=         ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 TOOL_DEPENDS+=         ${PYPKGPREFIX}-sphinx-rtd-theme>=0.4.3:../../textproc/py-sphinx-rtd-theme
-
-SUBST_CLASSES+=                        sphinx-build
-SUBST_STAGE.sphinx-build=      pre-configure
-SUBST_MESSAGE.sphinx-build=    Fix hardcoded sphinx-build
-SUBST_FILES.sphinx-build+=     configure
-SUBST_FILES.sphinx-build+=     docs/meson.build
-SUBST_FILES.sphinx-build+=     roms/skiboot/doc/Makefile
-SUBST_FILES.sphinx-build+=     roms/u-boot/doc/Makefile
-SUBST_SED.sphinx-build+=       -e 's/sphinx-build/sphinx-build-${PYVERSSUFFIX}/g'
+CONFIGURE_ARGS+=       --sphinx-build=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX}
 
 .include "options.mk"
 

Index: pkgsrc/emulators/qemu/PLIST
diff -u pkgsrc/emulators/qemu/PLIST:1.81 pkgsrc/emulators/qemu/PLIST:1.82
--- pkgsrc/emulators/qemu/PLIST:1.81    Thu May 19 16:10:15 2022
+++ pkgsrc/emulators/qemu/PLIST Sat Sep 17 09:54:56 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.81 2022/05/19 16:10:15 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.82 2022/09/17 09:54:56 tnn Exp $
 bin/elf2dmp
 ${PLIST.aarch64}bin/qemu-aarch64
 ${PLIST.aarch64_be}bin/qemu-aarch64_be
@@ -46,6 +46,7 @@ bin/qemu-system-avr
 bin/qemu-system-cris
 bin/qemu-system-hppa
 bin/qemu-system-i386
+bin/qemu-system-loongarch64
 bin/qemu-system-m68k
 bin/qemu-system-microblaze
 bin/qemu-system-microblazeel
@@ -125,6 +126,7 @@ share/doc/qemu/devel/qapi-code-gen.html
 share/doc/qemu/devel/qgraph.html
 share/doc/qemu/devel/qom.html
 share/doc/qemu/devel/qtest.html
+share/doc/qemu/devel/replay.html
 share/doc/qemu/devel/reset.html
 share/doc/qemu/devel/s390-dasd-ipl.html
 share/doc/qemu/devel/secure-coding-practices.html
@@ -140,6 +142,7 @@ share/doc/qemu/devel/tracing.html
 share/doc/qemu/devel/trivial-patches.html
 share/doc/qemu/devel/ui.html
 share/doc/qemu/devel/vfio-migration.html
+share/doc/qemu/devel/virtio-backends.html
 share/doc/qemu/devel/writing-monitor-commands.html
 share/doc/qemu/genindex.html
 share/doc/qemu/index.html
@@ -169,6 +172,7 @@ share/doc/qemu/specs/acpi_hw_reduced_hot
 share/doc/qemu/specs/acpi_mem_hotplug.html
 share/doc/qemu/specs/acpi_nvdimm.html
 share/doc/qemu/specs/acpi_pci_hotplug.html
+share/doc/qemu/specs/fw_cfg.html
 share/doc/qemu/specs/index.html
 share/doc/qemu/specs/ppc-spapr-hcalls.html
 share/doc/qemu/specs/ppc-spapr-hotplug.html
@@ -218,6 +222,9 @@ share/doc/qemu/system/confidential-guest
 share/doc/qemu/system/cpu-hotplug.html
 share/doc/qemu/system/device-emulation.html
 share/doc/qemu/system/devices/can.html
+share/doc/qemu/system/devices/canokey.html
+share/doc/qemu/system/devices/ccid.html
+share/doc/qemu/system/devices/cxl.html
 share/doc/qemu/system/devices/ivshmem.html
 share/doc/qemu/system/devices/net.html
 share/doc/qemu/system/devices/nvme.html
@@ -230,6 +237,7 @@ share/doc/qemu/system/generic-loader.htm
 share/doc/qemu/system/guest-loader.html
 share/doc/qemu/system/i386/amd-memory-encryption.html
 share/doc/qemu/system/i386/cpu.html
+share/doc/qemu/system/i386/hyperv.html
 share/doc/qemu/system/i386/kvm-pv.html
 share/doc/qemu/system/i386/microvm.html
 share/doc/qemu/system/i386/pc.html
@@ -239,6 +247,7 @@ share/doc/qemu/system/index.html
 share/doc/qemu/system/invocation.html
 share/doc/qemu/system/keys.html
 share/doc/qemu/system/linuxboot.html
+share/doc/qemu/system/loongarch/loongson3.html
 share/doc/qemu/system/managed-startup.html
 share/doc/qemu/system/monitor.html
 share/doc/qemu/system/multi-process.html
@@ -254,6 +263,7 @@ share/doc/qemu/system/qemu-block-drivers
 share/doc/qemu/system/qemu-cpu-models.html
 share/doc/qemu/system/qemu-manpage.html
 share/doc/qemu/system/quickstart.html
+share/doc/qemu/system/replay.html
 share/doc/qemu/system/riscv/microchip-icicle-kit.html
 share/doc/qemu/system/riscv/shakti-c.html
 share/doc/qemu/system/riscv/sifive_u.html
@@ -309,6 +319,7 @@ ${PLIST.gtk}share/locale/hu/LC_MESSAGES/
 ${PLIST.gtk}share/locale/it/LC_MESSAGES/qemu.mo
 ${PLIST.gtk}share/locale/sv/LC_MESSAGES/qemu.mo
 ${PLIST.gtk}share/locale/tr/LC_MESSAGES/qemu.mo
+${PLIST.gtk}share/locale/uk/LC_MESSAGES/qemu.mo
 ${PLIST.gtk}share/locale/zh_CN/LC_MESSAGES/qemu.mo
 share/qemu/QEMU,cgthree.bin
 share/qemu/QEMU,tcx.bin

Index: pkgsrc/emulators/qemu/distinfo
diff -u pkgsrc/emulators/qemu/distinfo:1.193 pkgsrc/emulators/qemu/distinfo:1.194
--- pkgsrc/emulators/qemu/distinfo:1.193        Sun Jun 12 13:49:28 2022
+++ pkgsrc/emulators/qemu/distinfo      Sat Sep 17 09:54:56 2022
@@ -1,18 +1,18 @@
-$NetBSD: distinfo,v 1.193 2022/06/12 13:49:28 leot Exp $
+$NetBSD: distinfo,v 1.194 2022/09/17 09:54:56 tnn Exp $
 
 BLAKE2s (palcode-clipper-qemu-5.2.0nb8) = d388c896a80c1cc3d4785c8434d6688bbcfd54c28f7252ce550ab162a0bba321
 SHA512 (palcode-clipper-qemu-5.2.0nb8) = 33695d6001d86a19793a92d5e31775607c4dfc9ab9eea019ea6c4d543a2e11e8c07f83cca4934811a13ef829b528737ea37d9d2aaf66cba6f2746d44d2aa0b43
 Size (palcode-clipper-qemu-5.2.0nb8) = 159808 bytes
-BLAKE2s (qemu-7.0.0.tar.xz) = 1d0df58230a436f476df87a7b315ab381743a24837314978f687986d4d0f2a16
-SHA512 (qemu-7.0.0.tar.xz) = 44ecd10c018a3763e1bc87d1d35b98890d0d5636acd69fe9b5cadf5024d5af6a31684d60cbe1c3370e02986434c1fb0ad99224e0e6f6fe7eda169992508157b1
-Size (qemu-7.0.0.tar.xz) = 125117636 bytes
+BLAKE2s (qemu-7.1.0.tar.xz) = b441c04ebb4e1b79d8ce2c772c6f2cd65b741e1c24d1de59eb1391f84e50a2fe
+SHA512 (qemu-7.1.0.tar.xz) = c60c5ff8ec99b7552e485768908920658fdd8035ff7a6fa370fb6881957dc8b7e5f18ff1a8f49bd6aa22909ede2a7c084986d8244f12074ccd33ebe40a0c411f
+Size (qemu-7.1.0.tar.xz) = 121833004 bytes
 SHA1 (patch-audio_jackaudio.c) = 771c2779e565242a500adc0223ef6b1ae5b2b91f
 SHA1 (patch-backends_tpm_tpm__ioctl.h) = fbd6c877ad605f7120290efbb0ac653c69f351de
 SHA1 (patch-hw-mips-Kconfig) = c7199ad26ac45116ab4d38252db4234ae93bdf9a
 SHA1 (patch-hw-mips-mipssim.c) = 1f682b74b34398b3ff15f9e7f24a85f4b8bb4853
-SHA1 (patch-hw_core_uboot__image.h) = 17eef02349343c5fcfb7a4069cb6f8fd11efcb59
 SHA1 (patch-hw_display_omap__dss.c) = 6b13242f28e32346bc70548c216c578d98fd3420
 SHA1 (patch-hw_mips_meson.build) = d9a07a81fe6d3c9e2bd45f41fe876cd927a40ced
+SHA1 (patch-hw_mips_mipssim__virtio.c) = 64e5b8c7a7628a71a3c8f267db882d96ba528941
 SHA1 (patch-hw_net_etraxfs__eth.c) = e5dd1661d60dbcd27b332403e0843500ba9544bc
 SHA1 (patch-hw_net_xilinx__axienet.c) = ebcd2676d64ce6f31e4a8c976d4fdf530ad5e8b7
 SHA1 (patch-hw_rtc_mc146818rtc.c) = cc7a3b28010966b65b7a16db756226ac2669f310
@@ -21,7 +21,6 @@ SHA1 (patch-hw_usb_dev-mtp.c) = 94ddf53a
 SHA1 (patch-meson.build) = 67fcc428b1953a63e4c0aa32ac1d41ec234a2462
 SHA1 (patch-net_tap-solaris.c) = cc953c9a624dd55ace4e130d0b31bbfb956c17d5
 SHA1 (patch-roms_u-boot-sam460ex_Makefile) = 3a1bbf19b1422c10ebdd819eb0b711fafc78e2f2
-SHA1 (patch-slirp_src_tcp__subr.c) = bd6d80ecf3baeaf6f8458b2361bcb92298d41f7e
-SHA1 (patch-target_i386_cpu.c) = ec53954cbf0458d6974d87fa30951876ee0a6d3a
+SHA1 (patch-target_i386_cpu.c) = afa8a2f83399b2d142709322eb88d1112f1547e4
 SHA1 (patch-target_i386_meson.build) = 0ef0636dd68e5eeb9a2a34473e2a24bf3c141c0f
 SHA1 (patch-target_sparc_translate.c) = 7ec2add2fd808facb48b9a66ccc345599251bf76

Index: pkgsrc/emulators/qemu/patches/patch-target_i386_cpu.c
diff -u pkgsrc/emulators/qemu/patches/patch-target_i386_cpu.c:1.1 pkgsrc/emulators/qemu/patches/patch-target_i386_cpu.c:1.2
--- pkgsrc/emulators/qemu/patches/patch-target_i386_cpu.c:1.1   Sun Jun 12 13:49:28 2022
+++ pkgsrc/emulators/qemu/patches/patch-target_i386_cpu.c       Sat Sep 17 09:54:56 2022
@@ -1,8 +1,8 @@
-$NetBSD: patch-target_i386_cpu.c,v 1.1 2022/06/12 13:49:28 leot Exp $
+$NetBSD: patch-target_i386_cpu.c,v 1.2 2022/09/17 09:54:56 tnn Exp $
 
 Permit to use `-cpu host' with NVMM.
 
---- target/i386/cpu.c.orig     2022-04-19 19:10:27.000000000 +0000
+--- target/i386/cpu.c.orig     2022-08-30 16:41:57.000000000 +0000
 +++ target/i386/cpu.c
 @@ -26,6 +26,7 @@
  #include "tcg/helper-tcg.h"
@@ -12,7 +12,7 @@ Permit to use `-cpu host' with NVMM.
  #include "kvm/kvm_i386.h"
  #include "sev.h"
  #include "qapi/error.h"
-@@ -1440,7 +1441,7 @@ static uint32_t xsave_area_size(uint64_t
+@@ -1486,7 +1487,7 @@ static uint32_t xsave_area_size(uint64_t
  
  static inline bool accel_uses_host_cpuid(void)
  {
@@ -20,8 +20,8 @@ Permit to use `-cpu host' with NVMM.
 +    return kvm_enabled() || hvf_enabled() || nvmm_enabled();
  }
  
- static inline uint64_t x86_cpu_xsave_components(X86CPU *cpu)
-@@ -6418,7 +6419,8 @@ static void x86_cpu_realizefn(DeviceStat
+ static inline uint64_t x86_cpu_xsave_xcr0_components(X86CPU *cpu)
+@@ -6476,7 +6477,8 @@ static void x86_cpu_realizefn(DeviceStat
  
      if (xcc->host_cpuid_required && !accel_uses_host_cpuid()) {
          g_autofree char *name = x86_cpu_class_get_model_name(xcc);

Added files:

Index: pkgsrc/emulators/qemu/patches/patch-hw_mips_mipssim__virtio.c
diff -u /dev/null pkgsrc/emulators/qemu/patches/patch-hw_mips_mipssim__virtio.c:1.1
--- /dev/null   Sat Sep 17 09:54:56 2022
+++ pkgsrc/emulators/qemu/patches/patch-hw_mips_mipssim__virtio.c       Sat Sep 17 09:54:56 2022
@@ -0,0 +1,14 @@
+$NetBSD: patch-hw_mips_mipssim__virtio.c,v 1.1 2022/09/17 09:54:56 tnn Exp $
+
+Fix build error. mipssim_virtio.c is removed in master.
+
+--- hw/mips/mipssim_virtio.c.orig      2022-09-07 17:53:18.000000000 +0000
++++ hw/mips/mipssim_virtio.c
+@@ -33,7 +33,6 @@
+ 
+ #include "qemu/osdep.h"
+ #include "qapi/error.h"
+-#include "qemu-common.h"
+ #include "cpu.h"
+ #include "hw/mips/mips.h"
+ #include "hw/mips/cpudevs.h"



Home | Main Index | Thread Index | Old Index