From owner-freebsd-virtualization@freebsd.org Tue May 5 04:50:35 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E46B2D680E for ; Tue, 5 May 2020 04:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49GS2z0zCbz4JG9 for ; Tue, 5 May 2020 04:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 213892D680D; Tue, 5 May 2020 04:50:35 +0000 (UTC) Delivered-To: virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 20FCB2D680C for ; Tue, 5 May 2020 04:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49GS2z08RLz4JG8 for ; Tue, 5 May 2020 04:50:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F07FE82FE for ; Tue, 5 May 2020 04:50:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0454oYOf061527 for ; Tue, 5 May 2020 04:50:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0454oYWL061526 for virtualization@FreeBSD.org; Tue, 5 May 2020 04:50:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 246168] Ubuntu 20.04 KVM / QEMU Failure with nested FreeBSD bhyve Date: Tue, 05 May 2020 04:50:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: drum@graphica.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2020 04:50:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246168 --- Comment #7 from John Hartley --- Hi Peter & Co, I reviewed the prior bug report and FYI here is some additional information= on my machine: <> ... ... CPU: Intel Core Processor (Broadwell, IBRS) (2600.09-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306d2 Family=3D0x6 Model=3D0x3d Steppi= ng=3D2 =20 Features=3D0xf83fbff =20 Features2=3D0xfffa3223 AMD Features=3D0x2c100800 AMD Features2=3D0x121 Structured Extended Features=3D0x1c0fbb Structured Extended Features2=3D0x4 Structured Extended Features3=3D0xac000400 XSAVE Features=3D0x1 IA32_ARCH_CAPS=3D0x8 AMD Extended Feature Extensions ID EBX=3D0x1001000 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr Hypervisor: Origin =3D "KVMKVMKVM" ... ... > I also did cpuctl load and here are result from cpucontrol (I am not sure how to interpret these or if provided vectors are still valid with FreeBSD 12.1) <> # kldload cpuctl # cpucontrol -m 0x480 /dev/cpuctl0 MSR 0x480: 0x00d81000 0x11e57ed0 # cpucontrol -m 0x482 /dev/cpuctl0 MSR 0x482: 0xfff9fffe 0x0401e172 # cpucontrol -m 0x48b /dev/cpuctl0 MSR 0x48b: 0x00037bff 0x00000000 # cpucontrol -m 0x48c /dev/cpuctl0 MSR 0x48c: 0x00000f01 0x06334041 <> I also saw that in the original but, it appear that issue was that the bhyve KLM was not loading. I my case the vmm module is loading but I am getting runtime failure... Any tips you can provide to help with diagnosis would be appreciated and I = can chase upstream if needed, if this is KVM regression. Thanks. John Hartley --=20 You are receiving this mail because: You are the assignee for the bug.=