Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2025 02:55:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 203643] [bhyve] NetBSD causes bhyve to exit on AMD processors
Message-ID:  <bug-203643-27103-kOXwrtML1B@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203643-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203643-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203643

--- Comment #10 from NAKAJI Hiroyuki <nakaji@kankyo-u.ac.jp> ---
I modified sys/amd64/vmm/amd/svm.c, but got same "Abort trap".

--- a/sys/amd64/vmm/amd/svm.c
+++ b/sys/amd64/vmm/amd/svm.c
@@ -142,8 +142,8 @@ flush_by_asid(void)
 static __inline int
 decode_assist(void)
 {
-
-       return (svm_feature & AMD_CPUID_SVM_DECODE_ASSIST);
+       return 1;
+       /* return (svm_feature & AMD_CPUID_SVM_DECODE_ASSIST); */
 }

 static void

The command lines:
# make -C /usr/src/sys/modules/vmm obj depend all install
# kldunload vmm
# kldload vmm
# vm install -f netbsd-10 NetBSD-10.99.12-amd64-dvd.iso
# cat netbsd-10/bhyve.log
vm exit[0]
        reason          SVM
        rip             0xffffffff80234d9f
        inst_length     2
        exitcode        0x7b
        exitinfo1       0x3f8021c
        exitinfo2       0xffffffff80234da1

I'll try graphics="yes" later. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203643-27103-kOXwrtML1B>