summaryrefslogtreecommitdiff
path: root/emulators/haxm
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2022-02-05 03:25:56 +0000
committerryoon <ryoon@pkgsrc.org>2022-02-05 03:25:56 +0000
commit9953f055ee46b5b624cd3d47fea61beb876ebad5 (patch)
treeb70d5f5993f3a9a434025e9cb637f89a0f5f9f1d /emulators/haxm
parent9ad435534ad593d417ba0530c46b672413ae60dd (diff)
downloadpkgsrc-9953f055ee46b5b624cd3d47fea61beb876ebad5.tar.gz
haxm: Update to 7.7.0
* This is kernel module and disbale MKPIE support. Changelog: HAXM v7.7.0 Change Log * Added a new IOCTL to enable getting CPUID features for guest VCPUs (#383). * Enabled all supported CPUID leaves to be configurable (#382). * Enabled several features in CPUID emulation (#381). * Migrated the CI service from Travis CI to GitHub Actions (#353). HAXM v7.6.6 Change Log * Optimized the CPUID module and added support for setting two new CPUID leaves (#335). * Fixed some vulnerability issues of loading DRs and MSRs (#347). * Fixed some minor issues from static code scan (#351). * Fixed the download URL in the homepage (#348). HAXM v7.6.5 Change Log * Optimized internal storage structure for CPUID feature set (#315). * Fixed a performance issue caused by a regression (#312). * Fixed some warnings from static code scan (#313). * Introduced a new installer framework for Windows. HAXM v7.6.1 Change Log * Added a new IOCTL to enable setting CPUID feature for guest VCPUs (#277, # 281, #282). * Enabled PAT as HAXM supported CPUID feature and added IA32_CR_PAT VMX handling (#204). * Changed to return deterministic cache parameters by host cache values (#204 ). * Cleaned up the legacy EPT engine (#261).
Diffstat (limited to 'emulators/haxm')
-rw-r--r--emulators/haxm/Makefile5
-rw-r--r--emulators/haxm/distinfo9
-rw-r--r--emulators/haxm/patches/patch-include_netbsd_hax__netbsd.h17
3 files changed, 25 insertions, 6 deletions
diff --git a/emulators/haxm/Makefile b/emulators/haxm/Makefile
index e95c30e2481..154173af426 100644
--- a/emulators/haxm/Makefile
+++ b/emulators/haxm/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2021/05/31 12:58:50 nia Exp $
+# $NetBSD: Makefile,v 1.20 2022/02/05 03:25:56 ryoon Exp $
-DISTNAME= haxm-7.5.6
+DISTNAME= haxm-7.7.0
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=intel/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -18,6 +18,7 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
BUILD_DIRS= platforms/netbsd
+MKPIE_SUPPORTED= no
.include "../../mk/bsd.prefs.mk"
BUILDLINK_PASSTHRU_DIRS+= ${BSDSRCDIR}/sys
diff --git a/emulators/haxm/distinfo b/emulators/haxm/distinfo
index 4ad9a4bed41..ffb2f7d4069 100644
--- a/emulators/haxm/distinfo
+++ b/emulators/haxm/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.11 2021/10/26 10:23:52 nia Exp $
+$NetBSD: distinfo,v 1.12 2022/02/05 03:25:56 ryoon Exp $
-BLAKE2s (haxm-7.5.6.tar.gz) = f7527c13cd9a1e6033819aee54ef74eed4a6a477e0976e5f7c98d4e48a9c5114
-SHA512 (haxm-7.5.6.tar.gz) = 27a837f53450e9768ced9478bef2272d2d68db0c4136e9db7c9bdf96cb185592f6d2aba4f50cb7de493e9a0a0e1a1ed9d1f40c3742c15c36515e3f615a51054f
-Size (haxm-7.5.6.tar.gz) = 241086 bytes
+BLAKE2s (haxm-7.7.0.tar.gz) = 333ceb5de11037552de8b330ed90500ec0a8e96d48acd11d84ba2354b888ca79
+SHA512 (haxm-7.7.0.tar.gz) = 195bd0deb1b0c83ffbcff87a9f5f88029cf0169ef2bcb86219c4f1f4fa34ef4297b1b65376ffd44627f23794231a914d5c059acd17068554591ccd0c7aa0d74e
+Size (haxm-7.7.0.tar.gz) = 367425 bytes
+SHA1 (patch-include_netbsd_hax__netbsd.h) = d1210e10e0f425ea7fb08f9aa8485128bc55c64b
diff --git a/emulators/haxm/patches/patch-include_netbsd_hax__netbsd.h b/emulators/haxm/patches/patch-include_netbsd_hax__netbsd.h
new file mode 100644
index 00000000000..e1ca81de608
--- /dev/null
+++ b/emulators/haxm/patches/patch-include_netbsd_hax__netbsd.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_netbsd_hax__netbsd.h,v 1.1 2022/02/05 03:25:56 ryoon Exp $
+
+* Upstream master branch resolves this problem in another way.
+ Please remove this in next update (after 7.7.0).
+
+--- include/netbsd/hax_netbsd.h.orig 2021-05-24 08:15:13.000000000 +0000
++++ include/netbsd/hax_netbsd.h
+@@ -34,6 +34,9 @@
+
+ #define HAX_RAM_ENTRY_SIZE 0x4000000
+
++#define min(a,b) (((a)<(b))?(a):(b))
++#define max(a,b) (((a)>(b))?(a):(b))
++
+ hax_spinlock *hax_spinlock_alloc_init(void);
+ void hax_spinlock_free(hax_spinlock *lock);
+ void hax_spin_lock(hax_spinlock *lock);