Skip to content

Commit

Permalink
haxm: Update to 7.7.0
Browse files Browse the repository at this point in the history
* 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).
  • Loading branch information
ryoon committed Feb 5, 2022
1 parent 9ad4355 commit 9953f05
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
5 changes: 3 additions & 2 deletions emulators/haxm/Makefile
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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
Expand Down
9 changes: 5 additions & 4 deletions emulators/haxm/distinfo
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions emulators/haxm/patches/patch-include_netbsd_hax__netbsd.h
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 9953f05

Please sign in to comment.