head 1.23; access; symbols pkgsrc-2023Q4:1.21.0.4 pkgsrc-2023Q4-base:1.21 pkgsrc-2023Q3:1.21.0.2 pkgsrc-2023Q3-base:1.21 pkgsrc-2023Q2:1.20.0.2 pkgsrc-2023Q2-base:1.20 pkgsrc-2023Q1:1.19.0.2 pkgsrc-2023Q1-base:1.19 pkgsrc-2022Q4:1.18.0.2 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.17.0.8 pkgsrc-2022Q3-base:1.17 pkgsrc-2022Q2:1.17.0.6 pkgsrc-2022Q2-base:1.17 pkgsrc-2022Q1:1.17.0.4 pkgsrc-2022Q1-base:1.17 pkgsrc-2021Q4:1.17.0.2 pkgsrc-2021Q4-base:1.17 pkgsrc-2021Q3:1.16.0.6 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.16.0.4 pkgsrc-2021Q2-base:1.16 pkgsrc-2021Q1:1.16.0.2 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.13.0.2 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.11.0.4 pkgsrc-2020Q3-base:1.11 pkgsrc-2020Q2:1.11.0.2 pkgsrc-2020Q2-base:1.11 pkgsrc-2020Q1:1.9.0.2 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.5.0.14 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.10 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.8 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.6 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.4 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.2 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.4.0.10 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.8 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.6 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.4 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.3.0.4 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.2 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.2.0.10 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.8 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.6 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.4 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.2 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.1.0.38 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.36 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.34 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.32 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.30 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.28 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.26 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.24 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.22 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.20 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.18 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.16 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.14 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.12 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.10 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.8 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @# @; 1.23 date 2024.02.20.19.08.39; author imil; state Exp; branches; next 1.22; commitid usO6TWeHvxegMcZE; 1.22 date 2024.02.20.14.16.57; author imil; state Exp; branches; next 1.21; commitid 2fXnJnHuvPJhabZE; 1.21 date 2023.08.23.15.19.02; author adam; state Exp; branches; next 1.20; commitid 30zKqoTLJaaFjVBE; 1.20 date 2023.05.06.19.22.37; author ryoon; state Exp; branches; next 1.19; commitid 2au4rafDNTg5bWnE; 1.19 date 2023.02.14.00.35.56; author tnn; state Exp; branches; next 1.18; commitid Wbz8gThvjSGYxqdE; 1.18 date 2022.10.25.18.42.57; author jperkin; state Exp; branches; next 1.17; commitid 2L59HnRAyoLS98ZD; 1.17 date 2021.12.27.10.12.57; author nia; state Exp; branches; next 1.16; commitid mX3GROX1y9pV2hmD; 1.16 date 2021.02.23.09.28.33; author wiz; state Exp; branches; next 1.15; commitid 30hEjpcW04LNtOIC; 1.15 date 2021.01.03.22.47.23; author adam; state Exp; branches; next 1.14; commitid ASPvsHqV0CXmJkCC; 1.14 date 2021.01.03.21.42.29; author roy; state Exp; branches; next 1.13; commitid WzZg6JnbgjltmkCC; 1.13 date 2020.12.15.16.50.08; author maya; state Exp; branches; next 1.12; commitid UQMAFgzpP3evmRzC; 1.12 date 2020.09.27.21.27.27; author jakllsch; state Exp; branches; next 1.11; commitid Hdr1VfKkljbEpJpC; 1.11 date 2020.06.22.12.13.20; author nia; state Exp; branches; next 1.10; commitid 18GKJMAGPGvtuddC; 1.10 date 2020.05.28.14.44.19; author nia; state Exp; branches; next 1.9; commitid 2RsdXp25PRj381aC; 1.9 date 2020.03.13.13.57.04; author tnn; state Exp; branches; next 1.8; commitid zjIPXw8FfrNbjf0C; 1.8 date 2020.02.07.08.39.19; author kamil; state Exp; branches; next 1.7; commitid s82ltGku0ItRFIVB; 1.7 date 2020.02.06.22.01.37; author kamil; state Exp; branches; next 1.6; commitid wQ6W47SXkMcV8FVB; 1.6 date 2020.01.13.02.50.25; author gutteridge; state Exp; branches; next 1.5; commitid WVJvpAuwtkMkwtSB; 1.5 date 2018.08.14.06.57.26; author adam; state Exp; branches 1.5.14.1; next 1.4; commitid BOY59XoRJlj8x3OA; 1.4 date 2017.08.30.21.00.46; author kamil; state Exp; branches; next 1.3; commitid Loj6g6knWgkRmh5A; 1.3 date 2017.02.27.05.19.29; author adam; state Exp; branches; next 1.2; commitid yQxisEEOTxOP6yHz; 1.2 date 2015.12.21.12.10.22; author ryoon; state Exp; branches; next 1.1; commitid iIgk3Ub0QDkKlONy; 1.1 date 2011.02.28.17.49.30; author wiz; state Exp; branches 1.1.38.1; next ; 1.5.14.1 date 2020.01.27.10.59.04; author bsiegert; state Exp; branches; next ; commitid frXlMy7mZH6XNjUB; 1.1.38.1 date 2015.12.22.20.21.43; author bsiegert; state Exp; branches; next ; commitid cJtt2KoCyBXk2ZNy; desc @@ 1.23 log @Updated emulators/qemu to 8.2.1nb2 Build fix: there is no --disable-debug @ text @# $NetBSD: options.mk,v 1.22 2024/02/20 14:16:57 imil Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.qemu PKG_SUPPORTED_OPTIONS= debug debug-info gtk3 iscsi jack sdl spice PKG_SUGGESTED_OPTIONS+= iscsi sdl spice .include "../../mk/bsd.fast.prefs.mk" .if ${OPSYS} == "Linux" PKG_SUPPORTED_OPTIONS+= virtfs-proxy-helper .endif .if ${OPSYS} != "Darwin" # NetBSD<9.0 does not have EGL support in native X11, # so the QEMU OpenGL display driver cannot build. . include "../../graphics/MesaLib/features.mk" . if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss]) PKG_SUPPORTED_OPTIONS+= opengl PKG_SUGGESTED_OPTIONS+= opengl . endif .endif .include "../../mk/bsd.options.mk" PLIST_VARS+= gtk keymap virtfs-proxy-helper .if !empty(PKG_OPTIONS:Mjack) CONFIGURE_ARGS+= --enable-jack .include "../../audio/jack/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-jack .endif .if !empty(PKG_OPTIONS:Mdebug-info) CONFIGURE_ARGS+= --enable-debug-info .else CONFIGURE_ARGS+= --disable-debug-info .endif .if !empty(PKG_OPTIONS:Mdebug) CONFIGURE_ARGS+= --enable-debug .endif .if !empty(PKG_OPTIONS:Mgtk3) PLIST.gtk= yes CONFIGURE_ARGS+= --enable-gtk .include "../../x11/gtk3/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-gtk .endif .if !empty(PKG_OPTIONS:Mopengl) CONFIGURE_ARGS+= --enable-opengl .include "../../graphics/MesaLib/buildlink3.mk" .include "../../graphics/libepoxy/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-opengl .endif .if !empty(PKG_OPTIONS:Msdl) CONFIGURE_ARGS+= --enable-sdl .include "../../devel/SDL2/buildlink3.mk" .include "../../graphics/SDL2_image/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-sdl .endif # On Darwin, qemu uses Cocoa .if ${OPSYS} != "Darwin" . if !empty(PKG_OPTIONS:Mgtk3) || \ !empty(PKG_OPTIONS:Mopengl) || !empty(PKG_OPTIONS:Msdl) PLIST.keymap= yes .include "../../x11/libxkbcommon/buildlink3.mk" . else CONFIGURE_ARGS+= --disable-xkbcommon . endif .endif # NB to successfully build virtfs-proxy-helper, the upstream Linux # header/development libraries for libcap and libattr must be installed. .if ${OPSYS} == "Linux" && !empty(PKG_OPTIONS:Mvirtfs-proxy-helper) PLIST.virtfs-proxy-helper= yes CONFIGURE_ARGS+= --enable-virtfs .elif ${OPSYS} == "Darwin" CONFIGURE_ARGS+= --enable-virtfs .else CONFIGURE_ARGS+= --disable-virtfs .endif .if !empty(PKG_OPTIONS:Mspice) CONFIGURE_ARGS+= --enable-spice .include "../../sysutils/spice-protocol/buildlink3.mk" .include "../../sysutils/spice-server/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-spice .endif .if !empty(PKG_OPTIONS:Miscsi) CONFIGURE_ARGS+= --enable-libiscsi .include "../../net/libiscsi/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-libiscsi .endif @ 1.22 log @Updated emulators/qemu to 8.2.1nb1 * Added --enable-debug option * Enabled backward compatibility * Test kernel against userland and not against kernel * Remove state_size test and handle backward compatibility in libnvmm @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.21 2023/08/23 15:19:02 adam Exp $ a41 2 .else CONFIGURE_ARGS+= --disable-debug @ 1.21 log @qemu: updated to 8.1.0 PkgSrc: - SDL option is now suggested for all platforms 8.1.0 Read this: https://wiki.qemu.org/ChangeLog/8.1 @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.20 2023/05/06 19:22:37 ryoon Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= debug-info gtk3 iscsi jack sdl spice d40 6 @ 1.20 log @qemu: Update to 8.0.0 * Add libusb1 dependency unconditionally. * Add graphics/SDL2_image for sdl option. Changelog: 8.0.0 Highlights include: * ARM: emulation support for FEAT_EVT, FEAT_FGT, and AArch32 ARMv8-R * ARM: CPU emulation for Cortex-A55 and Cortex-R52, and new Olimex STM32 H405 machine type * ARM: gdbstub support for M-profile system registers * HPPA: fid (Floating-Point Identify) instruction support and 32-bit emulation improvements * RISC-V: additional ISA and Extension support for smstateen, native debug icount trigger, cache-related PMU events in virtual mode, Zawrs/Svadu/ T-Head/Zicond extensions, and ACPI support * RISC-V: updated machine support for OpenTitan, PolarFire, and OpenSBI * RISC-V: wide ranges of fixes covering PMP propagation for TLB, mret exceptions, uncompressed instructions, and other emulation/virtualization improvements * s390x: improved zPCI passthrough device handling * s390x: support for asynchronous teardown of memory of secure KVM guests during reboot * x86: support for Xen guests under KVM with Linux v5.12+ * x86: new SapphireRapids CPU model * x86: TCG support for FSRM, FZRM, FSRS, and FSRC CPUID flags * virtio-mem: support for using preallocation in conjunction with live migration * VFIO: experimental migration support updated to v2 VFIO migration protocol * qemu-nbd: improved efficient over TCP and when using TLS * and lots more... @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.19 2023/02/14 00:35:56 tnn Exp $ d5 1 a5 1 PKG_SUGGESTED_OPTIONS+= iscsi spice d19 1 a19 3 PKG_SUGGESTED_OPTIONS+= opengl sdl . else PKG_SUGGESTED_OPTIONS+= sdl @ 1.19 log @qemu: enable the virtio-9p device model on Darwin Required for newer podman-machine. Bump. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.18 2022/10/25 18:42:57 jperkin Exp $ a4 1 PKG_SUPPORTED_OPTIONS+= jemalloc a24 4 .if ${OPSYS} != "SunOS" PKG_SUGGESTED_OPTIONS+= jemalloc .endif d61 1 a101 5 .if !empty(PKG_OPTIONS:Mjemalloc) CONFIGURE_ARGS+= --enable-jemalloc .include "../../devel/jemalloc/buildlink3.mk" .endif @ 1.18 log @qemu: Make jemalloc support an option. Enable on everything except SunOS, where the native libumem is a better choice. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.17 2021/12/27 10:12:57 nia Exp $ d83 1 a83 1 .if !empty(PKG_OPTIONS:Mvirtfs-proxy-helper) d86 2 @ 1.17 log @qemu: bulk builds with jack enabled get jack picked up through a dependency of qemu, resulting in a build failure on NetBSD. just add support for jack on netbsd to fix this. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.16 2021/02/23 09:28:33 wiz Exp $ d5 1 d26 4 d104 5 @ 1.16 log @qemu: add missing build dependency on ninja Fix some pkglint and an unportable test operator. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.15 2021/01/03 22:47:23 adam Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= debug-info gtk3 iscsi sdl spice d29 7 @ 1.15 log @qemu: fix typo @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.14 2021/01/03 21:42:29 roy Exp $ d27 1 a27 1 PLIST_VARS+= gtk virtfs-proxy-helper d60 1 a60 1 .if !empty(PKG_OPTIONS:Mgtk3) || \ d64 1 a64 1 .else d66 1 a66 1 .endif @ 1.14 log @qemu: x11 isn't an option If not Darwin, depend on libxkbcommon if any of these options are set: * gtk3 * opengl * sdl @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.13 2020/12/15 16:50:08 maya Exp $ d58 1 a58 1 # On Darwin, qemu uses Coca @ 1.13 log @qemu: enable spice by default. Proposed without objections on tech-pkg in https://mail-index.netbsd.org/tech-pkg/2020/11/01/msg023995.html PKGREVISION++ @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.12 2020/09/27 21:27:27 jakllsch Exp $ d58 11 @ 1.12 log @Add debug-info option to qemu; default it off qemu defaults to building with -g, but it's usually just a waste of time and space in a pkgsrc environment without INSTALL_UNSTRIPPED enabled. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.11 2020/06/22 12:13:20 nia Exp $ d5 1 a5 1 PKG_SUGGESTED_OPTIONS+= iscsi @ 1.11 log @qemu: Disable OpenGL when native X11 doesn't have EGL @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.10 2020/05/28 14:44:19 nia Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= gtk3 iscsi sdl spice d29 6 @ 1.10 log @qemu: support opengl bump pkgrevision @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.9 2020/03/13 13:57:04 tnn Exp $ d14 4 d20 3 @ 1.9 log @qemu: enable iscsi initiator support @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.8 2020/02/07 08:39:19 kamil Exp $ d14 2 a15 1 PKG_SUGGESTED_OPTIONS+= sdl d30 8 @ 1.8 log @qemu: Disable spice by default There are bugs to solve first. Requested by maxv@@. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.7 2020/02/06 22:01:37 kamil Exp $ d4 2 a5 2 PKG_SUPPORTED_OPTIONS= gtk3 sdl spice PKG_SUGGESTED_OPTIONS+= d52 7 @ 1.7 log @qemu: Add new option and enable it by default: spice Spice-Space is a Simple Protocol for Independent Computing Environments. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.6 2020/01/13 02:50:25 gutteridge Exp $ d5 1 a5 1 PKG_SUGGESTED_OPTIONS+= spice @ 1.6 log @qemu: fix Linux build in most environments Addresses PR pkg/54772, reported by and patch tested by Ottavio Caruso. virtfs-proxy-helper is only built if two development libraries (for libcap and libattr) are installed, which typically aren't included by default in Linux distros. Make virtfs support a non-default option that someone would enable when they expressly want it, and they have first installed the necessary upstream header packages to support the compilation of this option. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.5 2018/08/14 06:57:26 adam Exp $ d4 2 a5 1 PKG_SUPPORTED_OPTIONS= gtk3 sdl d44 8 @ 1.5 log @qemu: updated to 2.12.1 2.12.1: Bug fix release. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2017/08/30 21:00:46 kamil Exp $ d8 4 d18 1 a18 1 PLIST_VARS+= gtk d34 9 @ 1.5.14.1 log @Pullup ticket #6123 - requested by gutteridge emulators/qemu: build fix Revisions pulled up: - emulators/qemu/Makefile 1.223-1.224,1.226 - emulators/qemu/PLIST 1.64-1.65 - emulators/qemu/options.mk 1.6 - mk/defaults/options.description 1.605 --- Module Name: pkgsrc Committed By: ryoon Date: Sat Jan 4 13:47:00 UTC 2020 Modified Files: pkgsrc/emulators/qemu: Makefile PLIST Log Message: Include xkbcommon unconditionally and directly to reduce PLIST divergence * Bump PKGREVISION. --- Module Name: pkgsrc Committed By: adam Date: Fri Jan 10 20:27:04 UTC 2020 Modified Files: pkgsrc/emulators/qemu: Makefile PLIST Log Message: qemu: fix build on macOS --- Module Name: pkgsrc Committed By: gutteridge Date: Mon Jan 13 02:50:25 UTC 2020 Modified Files: pkgsrc/emulators/qemu: Makefile options.mk Log Message: qemu: fix Linux build in most environments Addresses PR pkg/54772, reported by and patch tested by Ottavio Caruso. virtfs-proxy-helper is only built if two development libraries (for libcap and libattr) are installed, which typically aren't included by default in Linux distros. Make virtfs support a non-default option that someone would enable when they expressly want it, and they have first installed the necessary upstream header packages to support the compilation of this option. --- Module Name: pkgsrc Committed By: gutteridge Date: Mon Jan 13 02:52:28 UTC 2020 Modified Files: pkgsrc/mk/defaults: options.description Log Message: options.description: add virtfs-proxy-helper @ text @d1 1 a1 1 # $NetBSD$ a7 4 .if ${OPSYS} == "Linux" PKG_SUPPORTED_OPTIONS+= virtfs-proxy-helper .endif d14 1 a14 1 PLIST_VARS+= gtk virtfs-proxy-helper a29 9 # NB to successfully build virtfs-proxy-helper, the upstream Linux # header/development libraries for libcap and libattr must be installed. .if !empty(PKG_OPTIONS:Mvirtfs-proxy-helper) PLIST.virtfs-proxy-helper= yes CONFIGURE_ARGS+= --enable-virtfs .else CONFIGURE_ARGS+= --disable-virtfs .endif @ 1.4 log @qemu: Upgrade to 2.10.0 pkgsrc changes: - remove stray conflict with qemu-bin - I cannot find references to it in pkgsrc - drop mentions of NetBSD version < 6.0 - it's already broken there regardless of the directives and not supported - remove stray BUILDLINK_PASSTHRU_DIRS and BUILDLINK_PASSTHRU_RPATHDIRS this is redundant with the default pkgsrc framework defines - not yet ported to 3.x as of 2.10.0, newer versions get initial patches - remove ivshmem - it's not a user settable option, it requires as of now Linux kernel API (eventfd) and it builds only for Linux now (no longer for BSD and SunOS) - add test target - all tests pass on NetBSD 8.99.2 (with disabled PaX MPROTECT) - sync PLIST - drop patches that are no longer needed, proper fixes merged upstream upstream changelog ================== The full list of changes are available at: http://wiki.qemu.org/ChangeLog/2.10 Highlights include: * Support for ACPI NUMA distance info and control over CPU NUMA assignments via '-numa cpu' parameters * Support for LUKS encryption format in qcow2 images * Monitor/Management interface improvments: additional debug information available through 'info ramblock/cmma/register/qtree', support for viewing connected clients via 'info vnc', improved parsing support for QMP protocol, and other additional commands * QXL and virtio-gpu support for controlling default display resolution * Support for vhost-user-scsi devices * NVMe emulation support for Write Zeroes command and Controller Memory Buffers * Guest agent support for querying guest hostname, users, timezone, and OS version/release information * ARM: KVM support for Raspberry Pi 3 * ARM: emulation support for MPS2/MPS2+ FPGA-based dev boards * ARM: zynq: SPIPS flash support * ARM: exynos4210: hardware PRNG device, SDHCI, and system poweroff * Microblaze: support for CPU versions 9.4, 9.5, 9.6, and 10.0 * MIPS: support for Enhanced Virtual Addressing (EVA) * MIPS: initrd support for kaslr-enabled kernels * OpenRISC: support for shadow registers, idle states, and numcores/coreid/EVAR/EPH registers * PowerPC: Multi-threaded TCG emulation support * PowerPC: OpenBIOS VGA driver for MacOS guests * PowerPC: pseries: KVM and emulation support for POWER9 guests * PowerPC: pseries: support for hash page table resizing * s390: channel device passthrough support via vfio-ccw * s390: support for channel-attached 3270 "green screen" devices for use as guest consoles or additional TTYs * s390: improved support for PCI (AEN, AIS, and zPCI) * s390: support for z14 CPU models and netboot/TFTP via CCW BIOS, * s390: TCG support for atomic "LOAD AND x" and "COMPARE SWAP" operations, LOAD PROGRAM PARAMETER, extended facilities, CPU type, and many more less-common instructions. * SH: TCG support for host atomic instructions for emulating tas.b and gUSA (user-space atomics), and support for fpchg/fsrra instructions * SPARC: fixes for booting Solaris 2.6 on sun4m/OpenBIOS machines * x86: Q35 MCH supports TSEG higher than 8MB * x86: SSE register access via gdbstub * Xen: support for multi-page shared rings, and 9pfs/virtfs backend * Xtensa: sim machine console can be directed to chardev via -serial * and lots more... @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.3 2017/02/27 05:19:29 adam Exp $ d8 1 a8 1 .if empty(OPSYS:MDarwin) @ 1.3 log @Revision 2 changes: * Fixed building with C++. * Fixed building on Darwin (PR 51899). * Added GTK3 as an option. * Switched from SDL-1 to SDL-2. * Depend and enable support for: lzo, jemalloc, snappy, png, curl, jpeg. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.2 2015/12/21 12:10:22 ryoon Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= gtk3 ivshmem sdl a7 4 .if empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) PKG_SUGGESTED_OPTIONS+= ivshmem .endif d14 1 a14 5 PLIST_VARS+= gtk ivshmem .if !empty(PKG_OPTIONS:Mivshmem) PLIST.ivshmem= yes .endif @ 1.2 log @Fix build under NetBSD 6 or other platform that has no shm_open() Fix PR pkg/50572. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.1 2011/02/28 17:49:30 wiz Exp $ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= sdl ivshmem d18 14 d34 1 a34 1 .include "../../devel/SDL/buildlink3.mk" a37 5 .if !empty(PKG_OPTIONS:Mivshmem) PLIST.ivshmem= yes .endif @ 1.1 log @Split off SDL dependency in a default-on (except for Darwin, as before) "sdl" option. @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKG_SUPPORTED_OPTIONS= sdl d8 4 d13 1 a13 1 PKG_SUGGESTED_OPTIONS= sdl d24 5 @ 1.1.38.1 log @Pullup ticket #4876 - requested by ryoon emulators/qemu: security fix Revisions pulled up: - emulators/qemu/Makefile 1.147-1.148 - emulators/qemu/PLIST 1.44-1.45 - emulators/qemu/distinfo 1.109-1.110 - emulators/qemu/options.mk 1.2 - emulators/qemu/patches/patch-Makefile.objs 1.1 - emulators/qemu/patches/patch-configure 1.7-1.8 - emulators/qemu/patches/patch-default-configs_pci.mak 1.1 - emulators/qemu/patches/patch-tests_Makefile 1.3 --- Module Name: pkgsrc Committed By: ryoon Date: Fri Dec 18 22:39:33 UTC 2015 Modified Files: pkgsrc/emulators/qemu: Makefile PLIST distinfo pkgsrc/emulators/qemu/patches: patch-configure patch-tests_Makefile Log Message: Update to 2.5.0 Changelog: == System emulation == * guard pages are now inserted after guest RAM, to guard against guest-triggered buffer overflow attacks === Incompatible changes === * The mips32r5-generic CPU was renamed to P5600 * Host floppy device pass-through (block driver "host_floppy") has been removed; it is still possible to use them just like any other device file, however, a medium change will no longer be passed through to the guest === Future incompatible changes === * Three options are using different names on the command line and in configuration file. In particular: ** The "acpi" configuration file section matches command-line option "acpitable"; ** The "boot-opts" configuration file section matches command-line option "boot"; ** The "smp-opts" configuration file section matches command-line option "smp". :-readconfig will standardize on the name for the command line option. * Behavior of automatic calculation of SMP topology when some SMP topology options for -smp are omitted (sockets, cores, threads) will change in the future. If guest ABI needs to be preserved on upgrades while using the SMP topology options, users should either set set all options explicitly (sockets, cores, threads), or omit all of them. * Image encryption is fatally flawed, and will be dropped entirely. It'll remain available only in qemu-img, so you can use 'qemu-img convert' to convert encrypted images to uncrypted ones. * Block device parameter aio=native has no effect without cache.direct=on. It will be made an error. * Block device parameter aio=native has no effect if qemu is compiled without libaio support. It will be made an error. * A few devices will be configured with explicit properties instead of implicitly. Unlikely to affect users; for the full list, see the 2.3 ChangeLog. * QMP command blockdev-add is still a work in progress. It doesn't support all block drivers, it lacks a matching blockdev-del, and more. It might change incompatibly. * The s390-virtio machine has been deprecated for 2.5; it will be removed in 2.6. s390x users should switch to the (default) s390-ccw-virtio machine. * Changes to device "sdhci-pci" will make migration between old and new versions impossible. * We intend to drop support for running QEMU on MacOSX 10.5 hosts in the QEMU 2.6 release, unless somebody who uses it wishes to step forward and help us with regular testing. === Alpha === === ARM === * The "virt" machine type supports passing SMBIOS to the firmware. * Semihosting support on AArch64 * New i.MX31 SoC. * The ZynqMP and Allwinner A10 platforms support AHCI. * Support for VGICv3 in KVM * Support for GICv3 in the ACPI tables. * The "virt" machine now has a second PCIe MMIO region of 512GB in size in high memory. Note that older 32-bit ARM Linux kernels built without CONFIG_LPAE have a bug where the presence of this region in high memory causes them to refuse to use the PCIe controller at all. In this case you can either reconfigure your kernel with CONFIG_LPAE=y, or pass QEMU the "-machine highmem=off" option to disable the use of high memory for PCIe. The kernel bug is expected to be fixed in Linux kernel release 4.4. === MIPS === * The mips32r5-generic CPU was renamed to P5600 * Improvements to MIPS R6 emulation === PowerPC === ==== pSeries ==== * Support for memory hotplug * The shipped version of SLOF includes GPT support. * Using VFIO doesn't need spapr-pci-vfio-host-bridge anymore. * virtio-vga now supported on sPAPR guests. * [[Features/HRandomHypercall | H_RANDOM hypercall]] device for providing good random data to the guests. ==== Mac99 ==== * Improve ability to boot MacOS 9 (based upon GSoC project "Implement support for Mac OS 9 in QEMU " by Cormac O'Brien) === s390 === * Storage keys are migrated. * New "info skeys" command in HMP to dump the storage key for a given address. * Support for virtio 1 in the virtio-ccw devices. ** A maximum virtio-ccw revision can be specified via the "max_revision" property: max_revision=0 may be used to enforce usage of legacy virtio mode. * Support for boot from El Torito iso images on virtio-blk has been added. === SH === === SPARC === * sun4u: Fix EBus device enumeration under FreeBSD SPARC64 (OpenBIOS) === TileGX === * New target. === x86 === * The emulated IOMMU (VT-d) supports devices behind a bridge * QEMU will warn when using a "-cpu" model that includes unsupported features. These features are disabled automatically, just like in previous versions of QEMU * /machine/icc-bridge was removed from the QOM tree. Software relying on icc-bridge to find CPU objects should use the "qom_path" field of "query-cpus" QMP command ==== CPU models and features ==== * Haswell and Broadwell CPU models now include ABM * Cache information passthrough (which was enabled by default on "-cpu host") is now disabled by default * ABM, POPCNT, and SSE4a are not enabled in the default CPU models (qemu64, qemu32) anymore, as many hosts don't support it * RDTSCP was removed from AMD CPU models, as current KVM versions can't expose RDTSCP to guests in AMD hosts * New Intel memory instructions (clflushopt/clwb/pcommit) are now supported * TCG now supports Debug Extensions (CR4.DE) ==== KVM ==== * Support for Hyper-V-compatible reporting of crashes. ==== Xen ==== * Support for passthrough of Intel integrated GPUs. === Device emulation and assignment === * fw_cfg supports a DMA interface on ARM and x86. This interface makes -kernel/-initrd much faster if supported by the firmware. SeaBIOS supports the DMA interface starting with release 1.9.0 (commit 06316c9d). The UEFI guest fw for ARM VMs (known as ArmVirtQemu or AAVMF) supports the DMA interface starting with git commit 953bcbcc / SVN r18545. ==== ACPI ==== ==== Audio ==== ==== Block devices ==== ==== Character devices ==== ==== IDE ==== * AHCI ATAPI PIO transfers greater than one sector are fixe 0. On guest acknowledge, all functions are ejected together. ==== TPM ==== ==== VFIO ==== ==== virtio ==== * virtio-gpu now supports 3D mode * vhost-user now supports live migration. client changes are required to enable this. When used with an old client without migration support, vhost-user will now block migration (instead of failing silently) * vhost-user now supports multi-queue. Use queues=# to enable this. client changes are required to enable this mode. When used with an old client without multi-queue support, device will automatically fall back on using a single pair of queues. * vhost-user protocol now includes protocol feature negotiation, including multiple new messages. When used with old clients, all new messages are automatically disabled. * vhost-user no longer sents the RESET_OWNER message on device stop. The only QEMU version that sent it was 2.4, the message is now officially deprecated. * migration now works when virtio 1 is enabled for virtio-pci * For virtio-pci, virtio 1 performance on kvm on Intel CPUs has been improved (on kernel 4.4 and up). * a new flag modern-pio-notify can be used to enable PIO for notifications in virtio 1 mode, to improve performance for host kernels older than 4.4, and processors without EPT support. * virtio devices can now be placed on the pci express bus * vhost is no longer disabled when guest does not use MSI-X. The vhostforce flag is no longer required. * in virtio 1 mode, scsi passthrough is now disabled for virtio blk * Please note that for virtio-pci, the modern (virtio 1) interface is still disabled by default. To enable, set the flag disable-modern=off. ==== VGA ==== === Character devices === === GUI === * New syntax for enabling TLS in the VNC server: ** Equivalent to -vnc hostname:0,tls: -object tls-creds-anon,id=tls0,endpoint=server -vnc hostname:0,tls-creds=tls0 ** Equivalent to -vnc hostname:0,tls,x509=/path/to/certs: -object tls-creds-x509,id=tls0,endpoint=server,dir=/path/to/certs,verify-peer=no -vnc hostname:0,tls-creds=tls0 ** Equivalent to -vnc hostname:0,tls,x509verify=/path/to/certs: -object tls-creds-x509,id=tls0,endpoint=server,dir=/path/to/certs,verify-peer=yes -vnc hostname:0,tls-creds=tls0 * The Cocoa GUI does not have show an 'open image file' dialog box anymore even if QEMU is started without arguments * Thu curses GUI supports 256 colors and line graphics. === Monitor === * New "info iothreads" command. * New "query-qmp-schema" command allows the caller to [[Features/QMP/Introspection | introspect the QMP schema]] used by QEMU. === Migration === * [[Features/PostCopyLiveMigration | Postcopy migration]] for migration of large/busy guests * A more flexible [[Features/AutoconvergeLiveMigration | auto-converge mechanism]] (for busy guests) === Network === * Support for multiqueue in vhost-user. * Support for network filters. Currently, the only filter objects are "filter-buffer", which batches packets every N microseconds, and "filter-dump", which can be used to log the network traffic in a file. Filters are attached to a netdev device using e.g. "-object filter-buffer,id=filter,netdev=net0,queue=rx,interval=1000" (which creates a 1ms filter-buffer). === Block devices in system emulation === === Command-line options === === TCG === * Improved system emulation performance for targets with software TLBs (e.g. SPARC). * Initial support for [[Features/record-replay | record/replay]]. == Block devices and tools == * The HMP "change" command (QMP's “"lockdev-change-medium") now allows you to change the read-only mode of the device (e.g. when inserting a read-only floppy disk image into a previously R/W drive) * Fine-grained control over a block device's tray with the new QMP commands "blockdev-open-tray", "blockdev-close-tray", "x-blockdev-insert-medium", and "x-blockdev-remove-medium" (the latter two are experimental for now) * New "reopen" command in qemu-io * block-dirty-bitmap-add and block-dirty-bitmap-clear transaction actions have been added to now fully support (transient) incremental bitmap usage and management. * QMP transactions now support a "completion-mode" parameter which controls the completion behavior of jobs launched by transactions, which will allow them to fail together. See the [https://github.com/qemu/qemu/blob/master/docs/bitmaps.md bitmaps.md] documentation for how this affects incremental backups. * Block I/O accounting can now report average queue depth, min/avg/max latency, and failed/invalid request counts * qcow2 learnt a new option ''cache-clean-interval'', which allows to free unused cache entries after some time. * An experimental QMP command ''x-blockdev-del'' was added as a completement for the (also still experimental) ''blockdev-add'' command. * A new QMP command ''blockdev-snapshot'' that allows creating a snapshot using as overlay an image previously opened with ''blockdev-add''. This allows opening the overlay image with arbitrary run-time options, solving one of the limitations of ''blockdev-snapshot-sync''. * It is now possible to open an image without its backing file by specifying the empty string as a backing file reference when opening the image. This is useful for creating snapshots, since images opened with ''blockdev-add'' are not supposed to have a backing file before the ''blockdev-snapshot'' operation. * Host CD-ROM support now works on Mac OS X hosts * Host floppy support has been removed (it was deprecated in QEMU 2.3) * The temporary "x-data-plane=on/off" option for virtio-blk device is removed now, all users are requested to use the canonical "-object iothread,id= -device virtio-blk,iothread=,..." syntax. == Audio == == Guest agent == * Add an optional qemu-ga.conf system configuration * Support for dumping the configuration current file with --dump-conf * Win32 support for guest-set-user-password * New command guest-exec == User-mode emulation == * The configure option --disable-guest-base has been removed. == Build dependencies == * libcacard has been moved to a standalone project, hosted at git://anongit.freedesktop.org/spice/libcacard. The libcacard library from QEMU 2.4 can also be used to build QEMU 2.5. * virtio-gpu 3D support requires virglrenderer. == Known issues == * SDL audio only works with SDL 1.x. * 64-bit QEMU might crash on Windows (problems with stack unwinding, depends on build environment, [http://repo.or.cz/w/qemu/ar7.git/commit/8fa9c07c9a33174905e67589bea6be3e278712cb possible fix]) * QEMU's configure script fails with pdksh from OpenBSD (see [https://bugs.launchpad.net/qemu/+bug/1525682 bug #1525682]. Using another shell with configure should work. --- Module Name: pkgsrc Committed By: ryoon Date: Mon Dec 21 12:10:22 UTC 2015 Modified Files: pkgsrc/emulators/qemu: Makefile PLIST distinfo options.mk pkgsrc/emulators/qemu/patches: patch-configure Added Files: pkgsrc/emulators/qemu/patches: patch-Makefile.objs patch-default-configs_pci.mak Log Message: Fix build under NetBSD 6 or other platform that has no shm_open() Fix PR pkg/50572. @ text @d4 1 a4 1 PKG_SUPPORTED_OPTIONS= sdl ivshmem a7 4 .if empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*) PKG_SUGGESTED_OPTIONS+= ivshmem .endif d9 1 a9 1 PKG_SUGGESTED_OPTIONS+= sdl a19 5 .if !empty(PKG_OPTIONS:Mivshmem) PLIST.ivshmem= yes .endif @