Date: Tue, 17 Dec 2024 21:08:02 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 279901] glibc-2.39-2 and above on the host segfault Message-ID: <bug-279901-27103-3B4uQTQq0w@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279901-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-279901-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=3D279901 --- Comment #37 from Konstantin Belousov <kib@FreeBSD.org> --- (In reply to Florian Weimer from comment #36) Do you see which CPUID leaf causes the trouble? As a guess, I wonder if the following bhyve patch helps (it tries to fix CPUID leaf 0x8000_001D %ecx 3): diff --git a/sys/amd64/vmm/x86.c b/sys/amd64/vmm/x86.c index a833b61786e7..8474666b5e6f 100644 --- a/sys/amd64/vmm/x86.c +++ b/sys/amd64/vmm/x86.c @@ -256,7 +256,7 @@ x86_emulate_cpuid(struct vcpu *vcpu, uint64_t *rax, uint64_t *rbx, func =3D 3; /* unified cache */ break; default: - logical_cpus =3D 0; + logical_cpus =3D sockets * threads * cores; level =3D 0; func =3D 0; break; --=20 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-279901-27103-3B4uQTQq0w>