From owner-freebsd-virtualization@freebsd.org Wed Dec 25 22:22:45 2019 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 D74C21E6C21 for ; Wed, 25 Dec 2019 22:22:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47jndx5Lgwz4KC8 for ; Wed, 25 Dec 2019 22:22:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B76AC1E6C20; Wed, 25 Dec 2019 22:22:45 +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 B72DD1E6C1F for ; Wed, 25 Dec 2019 22:22:45 +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 47jndx2nKhz4KC6 for ; Wed, 25 Dec 2019 22:22:45 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B0271F205 for ; Wed, 25 Dec 2019 22:22:45 +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 xBPMMj6g015542 for ; Wed, 25 Dec 2019 22:22:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBPMMjwq015539 for virtualization@FreeBSD.org; Wed, 25 Dec 2019 22:22:45 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 229990] FreeBSD 11.2 on Hyper-V: hn0: network changed, change 1 Date: Wed, 25 Dec 2019 22:22:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mwisnicki+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.29 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: Wed, 25 Dec 2019 22:22:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229990 mwisnicki+freebsd@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mwisnicki+freebsd@gmail.com --- Comment #2 from mwisnicki+freebsd@gmail.com --- This actually makes DHCP unusable as it keeps restarting dhclient due to li= nk down and up events. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Dec 25 22:23:48 2019 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 D45C11E6C7F for ; Wed, 25 Dec 2019 22:23:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47jng85N04z4KFN for ; Wed, 25 Dec 2019 22:23:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id B86A51E6C7E; Wed, 25 Dec 2019 22:23:48 +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 B83261E6C7D for ; Wed, 25 Dec 2019 22:23:48 +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 47jng84Wbtz4KFL for ; Wed, 25 Dec 2019 22:23:48 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 967A51F208 for ; Wed, 25 Dec 2019 22:23:48 +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 xBPMNmG8036068 for ; Wed, 25 Dec 2019 22:23:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBPMNm7c036030 for virtualization@FreeBSD.org; Wed, 25 Dec 2019 22:23:48 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 229990] FreeBSD 11.2 on Hyper-V: hn0: network changed, change 1 Date: Wed, 25 Dec 2019 22:23:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mwisnicki+freebsd@gmail.com 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.29 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: Wed, 25 Dec 2019 22:23:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229990 --- Comment #3 from mwisnicki+freebsd@gmail.com --- Keeps happening with Windows 1909 and FreeBSD 12.1-R --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Dec 26 15:18:32 2019 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 9DED71D2B88 for ; Thu, 26 Dec 2019 15:18:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47kDB03kRXz420p for ; Thu, 26 Dec 2019 15:18:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7FF481D2B87; Thu, 26 Dec 2019 15:18:32 +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 7FB511D2B86 for ; Thu, 26 Dec 2019 15:18:32 +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 47kDB02pfRz420n for ; Thu, 26 Dec 2019 15:18:32 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5BE1926E7 for ; Thu, 26 Dec 2019 15:18:32 +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 xBQFIWKK014845 for ; Thu, 26 Dec 2019 15:18:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBQFIWsl014831 for virtualization@FreeBSD.org; Thu, 26 Dec 2019 15:18:32 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 242894] [bhyve] - issue with TCP/IP stack between 12.0-RELASE (guest) and 12.1-RELEASE (hypervisor) Date: Thu, 26 Dec 2019 15:18:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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.29 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: Thu, 26 Dec 2019 15:18:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 Bug ID: 242894 Summary: [bhyve] - issue with TCP/IP stack between 12.0-RELASE (guest) and 12.1-RELEASE (hypervisor) Product: Base System Version: 12.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: arkadiusz.majewski@iptrace.pl Hello, I've got an issue with TCP/IP network connection (including ICMP). I suppose there is something wrong between hypervisor and guest network sta= ck. Hypervisor: bhyve on FreeBSD 12.1-RELEASE just upgraded Guest: FreeBSD 12.0-RELEASE before upgrade Hypervisor: bridge and tap for guest Guest: vtnet virtual netowrk card So, I was trying tu upgrade guest to 12.1-RELEASE. After a few attempts whe= re I was losing SSH connection, I saw there is an issue with network connection. Deep investigation gave me the information, that after some time of network traffic I was disconnected from network on TCP/IP stack, both bridge, tap a= nd vtnet network cards were enabled and active. Then after some minutes traffic went well. I was trying to download bigger file from Internet (100 MB), after 5 MB of downloading I lost network connection. I have others 12.1-RELEASES and they work. I upgraded them before upgraded hypervisor. So, when hypervisor was as 12.0-RELEASE I hadn't got an issue. I tried another guest (12.0-RELEASE) and the problem is the same. To be more precise about my architecture, between hypervisor and that guest= is another guest called firewall, it means the firewall pass the traffic betwe= en Internet and not upgraded guest yet I have an issue. The firewall (guest) is already upgraded to 12.1-RELEASE. Of course, I upgraded that guest before upgraded hypervisor. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Dec 26 15:18:53 2019 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 256DF1D2BC3 for ; Thu, 26 Dec 2019 15:18:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47kDBP0GMpz422j for ; Thu, 26 Dec 2019 15:18:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0915B1D2BC2; Thu, 26 Dec 2019 15:18:53 +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 08E391D2BC1 for ; Thu, 26 Dec 2019 15:18:53 +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 47kDBN6VqQz422h for ; Thu, 26 Dec 2019 15:18:52 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DAB4226E8 for ; Thu, 26 Dec 2019 15:18:52 +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 xBQFIqd4030478 for ; Thu, 26 Dec 2019 15:18:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBQFIqcn030471 for virtualization@FreeBSD.org; Thu, 26 Dec 2019 15:18:52 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 242894] [bhyve] - issue with TCP/IP stack between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Thu, 26 Dec 2019 15:18:53 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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.29 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: Thu, 26 Dec 2019 15:18:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 IPTRACE changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[bhyve] - issue with TCP/IP |[bhyve] - issue with TCP/IP |stack between 12.0-RELASE |stack between 12.0-RELEASE |(guest) and 12.1-RELEASE |(guest) and 12.1-RELEASE |(hypervisor) |(hypervisor) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Dec 26 20:34:35 2019 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 5157F1D8BB1 for ; Thu, 26 Dec 2019 20:34:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47kMBg1XSfz4JqV for ; Thu, 26 Dec 2019 20:34:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 32D171D8BAF; Thu, 26 Dec 2019 20:34: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 318941D8BAE for ; Thu, 26 Dec 2019 20:34: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 47kMBg0Plbz4JqT for ; Thu, 26 Dec 2019 20:34: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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0511962B0 for ; Thu, 26 Dec 2019 20:34:35 +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 xBQKYYZ3006860 for ; Thu, 26 Dec 2019 20:34:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBQKYYDs006859 for virtualization@FreeBSD.org; Thu, 26 Dec 2019 20:34: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 242894] [bhyve] - issue with TCP/IP stack between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Thu, 26 Dec 2019 20:34: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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl 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.29 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: Thu, 26 Dec 2019 20:34:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 --- Comment #1 from IPTRACE --- % service netif restart % service routing restart commands helped to start the network again for a while but the issue still occurs. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Dec 26 23:57:20 2019 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 8899D1DC188 for ; Thu, 26 Dec 2019 23:57:20 +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 47kRhc36lKz4SWg for ; Thu, 26 Dec 2019 23:57:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6AF961DC186; Thu, 26 Dec 2019 23:57:20 +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 6ABDC1DC185 for ; Thu, 26 Dec 2019 23:57:20 +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 47kRhc2Gvyz4SWf for ; Thu, 26 Dec 2019 23:57:20 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 451D08637 for ; Thu, 26 Dec 2019 23:57:20 +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 xBQNvKNs009088 for ; Thu, 26 Dec 2019 23:57:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBQNvKTm009087 for virtualization@FreeBSD.org; Thu, 26 Dec 2019 23:57:20 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 242894] [bhyve] - issue with TCP/IP stack between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Thu, 26 Dec 2019 23:57:19 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.29 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: Thu, 26 Dec 2019 23:57:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 Jason Tubnor changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason@tubnor.net --- Comment #2 from Jason Tubnor --- What network interfaces (physical) are you using? I also had issues with early versions of 12.0. There were significant issu= es that I avoided the release until 12.1. One of the issues were around IPv6. As 12.0 is EoL, I'd step the guest up to 12.1. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Dec 27 00:17:43 2019 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 1C7301DC9B6 for ; Fri, 27 Dec 2019 00:17:43 +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 47kS866xvwz4TJl for ; Fri, 27 Dec 2019 00:17:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EC5511DC9B5; Fri, 27 Dec 2019 00:17:42 +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 EB09C1DC9B4 for ; Fri, 27 Dec 2019 00:17:42 +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 47kS865hnTz4TJj for ; Fri, 27 Dec 2019 00:17:42 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BA49889AD for ; Fri, 27 Dec 2019 00:17:42 +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 xBR0HgIn051295 for ; Fri, 27 Dec 2019 00:17:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBR0HgOY051283 for virtualization@FreeBSD.org; Fri, 27 Dec 2019 00:17:42 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 242894] [bhyve] - issue with TCP/IP stack between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Fri, 27 Dec 2019 00:17:42 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl 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.29 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: Fri, 27 Dec 2019 00:17:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 --- Comment #3 from IPTRACE --- 1 GB/s of Intel card but it does not matter in this case. There is an issue between 12.0-RELEASE-p10 and 12.1-RELEASE-p1. I'm upgrading now but it's difficult during network access problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Dec 27 02:33:20 2019 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 158661DFCD2 for ; Fri, 27 Dec 2019 02:33:20 +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 47kW8b6v78z4b5l for ; Fri, 27 Dec 2019 02:33:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id ECA2B1DFCD1; Fri, 27 Dec 2019 02:33:19 +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 EC6631DFCD0 for ; Fri, 27 Dec 2019 02:33:19 +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 47kW8b62LTz4b5k for ; Fri, 27 Dec 2019 02:33:19 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CA858A2AE for ; Fri, 27 Dec 2019 02:33:19 +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 xBR2XJiq012090 for ; Fri, 27 Dec 2019 02:33:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBR2XJEP012085 for virtualization@FreeBSD.org; Fri, 27 Dec 2019 02:33:19 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 242894] bhyve: TCP / network disconnections between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Fri, 27 Dec 2019 02:33:19 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords short_desc bug_status 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.29 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: Fri, 27 Dec 2019 02:33:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-qa Summary|[bhyve] - issue with TCP/IP |bhyve: TCP / network |stack between 12.0-RELEASE |disconnections between |(guest) and 12.1-RELEASE |12.0-RELEASE (guest) and |(hypervisor) |12.1-RELEASE (hypervisor) Status|New |Open --- Comment #4 from Kubilay Kocak --- @IPTRACE, Could you please provide additional information, including: - /var/run/dmesg.boot output (for guest and host separately) as attachments - Complete network configuration (sanitized where necessary, for guest and = host separately) as attachments - Any relevant logs in dmesg / console when disconnects occur - Ideally, tcpdump packet captures when the disconnections take place --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Dec 27 03:13:47 2019 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 C30B91E0B49 for ; Fri, 27 Dec 2019 03:13:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47kX3H4pnLz4cm2 for ; Fri, 27 Dec 2019 03:13:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A32911E0B48; Fri, 27 Dec 2019 03:13:47 +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 A1BCD1E0B47 for ; Fri, 27 Dec 2019 03:13:47 +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 47kX3H3gQBz4cm0 for ; Fri, 27 Dec 2019 03:13:47 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 795EEAA11 for ; Fri, 27 Dec 2019 03:13:47 +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 xBR3DlP1053486 for ; Fri, 27 Dec 2019 03:13:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBR3Dlw4053482 for virtualization@FreeBSD.org; Fri, 27 Dec 2019 03:13:47 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 242894] bhyve: TCP / network disconnections between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Fri, 27 Dec 2019 03:13:47 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: Open 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.29 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: Fri, 27 Dec 2019 03:13:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 --- Comment #5 from Jason Tubnor --- (In reply to IPTRACE from comment #3) If it is the igb interface and you are using VLANs, I had to disable VLAN Hardware Tagging (-vlanhwtag) on a 12.1 host to allow full use of the physi= cal interface speed for the guest. There appears to be a bug in the driver. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Dec 27 19:43:41 2019 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 BE2E31CD3CA for ; Fri, 27 Dec 2019 19:43:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47ky1T4k1cz4V0W for ; Fri, 27 Dec 2019 19:43:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A040B1CD3C9; Fri, 27 Dec 2019 19:43:41 +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 A00811CD3C8 for ; Fri, 27 Dec 2019 19:43:41 +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 47ky1T3qHgz4V0V for ; Fri, 27 Dec 2019 19:43:41 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E9061DB9C for ; Fri, 27 Dec 2019 19:43:41 +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 xBRJhfM5008770 for ; Fri, 27 Dec 2019 19:43:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBRJhfbX008768 for virtualization@FreeBSD.org; Fri, 27 Dec 2019 19:43:41 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 242894] bhyve: TCP / network disconnections between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Fri, 27 Dec 2019 19:43:41 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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.29 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: Fri, 27 Dec 2019 19:43:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 --- Comment #6 from IPTRACE --- Created attachment 210261 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210261&action= =3Dedit dmesg, ifconfig, etc. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Dec 27 19:44:00 2019 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 7051A1CD418 for ; Fri, 27 Dec 2019 19:44:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47ky1r2S5Lz4V2P for ; Fri, 27 Dec 2019 19:44:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 542621CD417; Fri, 27 Dec 2019 19:44:00 +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 53EB71CD416 for ; Fri, 27 Dec 2019 19:44:00 +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 47ky1r1bTnz4V2N for ; Fri, 27 Dec 2019 19:44:00 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 321F31DB9E for ; Fri, 27 Dec 2019 19:44:00 +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 xBRJi0M0009170 for ; Fri, 27 Dec 2019 19:44:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBRJi0ou009169 for virtualization@FreeBSD.org; Fri, 27 Dec 2019 19:44:00 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 242894] bhyve: TCP / network disconnections between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Fri, 27 Dec 2019 19:44:00 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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.29 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: Fri, 27 Dec 2019 19:44:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 --- Comment #7 from IPTRACE --- Created attachment 210262 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D210262&action= =3Dedit dmesg, ifconfig, etc. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Dec 27 20:31:31 2019 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 CBFE71CE716 for ; Fri, 27 Dec 2019 20:31:31 +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 47kz4g55gPz4X1Q for ; Fri, 27 Dec 2019 20:31:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id AEEE81CE715; Fri, 27 Dec 2019 20:31:31 +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 AEB4D1CE714 for ; Fri, 27 Dec 2019 20:31:31 +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 47kz4g4334z4X1P for ; Fri, 27 Dec 2019 20:31:31 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 863AB1E303 for ; Fri, 27 Dec 2019 20:31:31 +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 xBRKVVnF044870 for ; Fri, 27 Dec 2019 20:31:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBRKVVEE044869 for virtualization@FreeBSD.org; Fri, 27 Dec 2019 20:31:31 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 242894] bhyve: TCP / network disconnections between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Fri, 27 Dec 2019 20:31:31 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl X-Bugzilla-Status: Open 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.29 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: Fri, 27 Dec 2019 20:31:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 --- Comment #8 from IPTRACE --- There isn't any VLANS. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Dec 27 22:05:24 2019 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 4D40D1D0EF1 for ; Fri, 27 Dec 2019 22:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47l1901NVbz4cjT for ; Fri, 27 Dec 2019 22:05:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2D8F81D0EF0; Fri, 27 Dec 2019 22:05:24 +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 2D5551D0EEF for ; Fri, 27 Dec 2019 22:05:24 +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 47l1900RW4z4cjS for ; Fri, 27 Dec 2019 22:05:24 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0617A1F43F for ; Fri, 27 Dec 2019 22:05:24 +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 xBRM5N1j015925 for ; Fri, 27 Dec 2019 22:05:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xBRM5NAA015922 for virtualization@FreeBSD.org; Fri, 27 Dec 2019 22:05:23 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 242894] bhyve: TCP / network disconnections between 12.0-RELEASE (guest) and 12.1-RELEASE (hypervisor) Date: Fri, 27 Dec 2019 22:05:24 +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.0-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arkadiusz.majewski@iptrace.pl X-Bugzilla-Status: Open 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.29 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: Fri, 27 Dec 2019 22:05:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 --- Comment #9 from IPTRACE --- Little workaround. If I use the following commands, upgrade will continue without network disruption. % service netif restart % service routing restart Restart OS does not help in such case like above. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Dec 28 10:03:57 2019 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 DDBC81E4223 for ; Sat, 28 Dec 2019 10:03:57 +0000 (UTC) (envelope-from Michael@reifenberger.com) Received: from app.eeeit.de (app.eeeit.de [188.68.43.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47lK642hrmz4DMq for ; Sat, 28 Dec 2019 10:03:55 +0000 (UTC) (envelope-from Michael@reifenberger.com) Received: from localhost (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mike@reifenberger.com) by app.eeeit.de (Postfix) with ESMTPSA id D9B9249B3A; Sat, 28 Dec 2019 11:03:46 +0100 (CET) Received: from ip-109-41-193-170.web.vodafone.de (ip-109-41-193-170.web.vodafone.de [109.41.193.170]) by app.eeeit.de (Horde Framework) with HTTPS; Sat, 28 Dec 2019 10:03:46 +0000 Date: Sat, 28 Dec 2019 10:03:46 +0000 Message-ID: <20191228100346.Horde.4Vi4FztkxxFnoeK7oGlIZe-@app.eeeit.de> From: Michael Reifenberger To: Yamagi Cc: freebsd-virtualization@freebsd.org Subject: Re: [PATCH] Untangle TPR shadowing and APIC virtualization / Make Win guests on Bhyve _fast_ In-Reply-To: <20191221202546.caca1f242a907cf50b5562e3@yamagi.org> User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 47lK642hrmz4DMq X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of Michael@reifenberger.com has no SPF policy when checking 188.68.43.176) smtp.mailfrom=Michael@reifenberger.com X-Spamd-Result: default: False [-1.18 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.978,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.94)[-0.942,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[reifenberger.com]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:197540, ipnet:188.68.32.0/20, country:DE]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-0.16)[asn: 197540(-0.80), country: DE(-0.02)]; RECEIVED_SPAMHAUS_PBL(0.00)[170.193.41.109.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 28 Dec 2019 10:03:57 -0000 Hi, did you already get a reply from an developer for review? Could you open a PR/DR for this patch. I would like to review and commit your patch after further tests. Thanks! --- mike (also mr@freebsd.org) Zitat von Yamagi : > Hi, > a long known problem with Bhyve is that Windows guests are rather slow. > With Windows 10 1903 this became much worse, to the point that the > guest is unusable. I have found the reason for this: Windows hammers on > the %cr8 control register. For example, Windows 10 1909 on an i7-2620M > has about 68,000 %cr8 accesses per second. Each of them triggers a vm > exit. > > The most common solution is TPR shadowing. Many thanks to royger in > #bhyve for getting me on the right track. Bhyve already implements TPR > shadowing. On AMD SVM it just works, but the implementation for Intel > VT-x is bound to APIC virtualization. And APIC virtualization is a Xeon > feature that is missing on most (all?) desktop CPUs. > > The patch - further down inline or under [0] - separates TPR shadowing > from APIC virtualization, so TPR shadowing can be used on desktop CPUs > as well. The patch doesn't just give a small speed boost, it's a > difference like day and night. As an example, without the patch, the > installation of Windows 10 1909 takes about 2280 seconds from start to > first reboot. With the patch, only 370 seconds. On an old Thinkpad > X220, Windows 10 guests were previously unusable, now they are resonable > fast. > > The patch does: > > * Add a new tuneable 'hw.vmm.vmx.use_tpr_shadowing' to disable TLP > shadowing. Also add 'hw.vmm.vmx.cap.tpr_shadowing' to be able to query > if TPR shadowing is used. > > * Detach the initialization of TPR shadowing from the initialization of > APIC virtualization. APIC virtualization still needs TPR shadowing, > but not vice versa. Any CPU that supports APIC virtualization should > also support TPR shadowing. > > * When TPR shadowing is used, the APIC page of each vCPU is written to > the VMCS_VIRTUAL_APIC field of the VMCS so that the CPU can write > directly to the page without intercept. > > * On vm exit, vlapic_update_ppr() is called to update the PPR. > > The patch was tested on an i7-2620M, an i7-6700k and a Xeon Silver > 4110. Both Windows and FreeBSD guests work correctly. > > Regards, > Yamagi > > 0: https://gist.github.com/Yamagi/de70c08eadeeef14eec4cb42aeb5957f > > ---- > > diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c > index 605fd0bda766..324a1e9d0c3c 100644 > --- a/sys/amd64/vmm/intel/vmx.c > +++ b/sys/amd64/vmm/intel/vmx.c > @@ -172,6 +172,10 @@ static int cap_invpcid; > SYSCTL_INT(_hw_vmm_vmx_cap, OID_AUTO, invpcid, CTLFLAG_RD, &cap_invpcid, > 0, "Guests are allowed to use INVPCID"); > > +static int tpr_shadowing; > +SYSCTL_INT(_hw_vmm_vmx_cap, OID_AUTO, tpr_shadowing, CTLFLAG_RD, > + &tpr_shadowing, 0, "TPR shadowin support"); > + > static int virtual_interrupt_delivery; > SYSCTL_INT(_hw_vmm_vmx_cap, OID_AUTO, virtual_interrupt_delivery, > CTLFLAG_RD, > &virtual_interrupt_delivery, 0, "APICv virtual interrupt > delivery support"); > @@ -627,7 +631,7 @@ vmx_restore(void) > static int > vmx_init(int ipinum) > { > - int error, use_tpr_shadow; > + int error; > uint64_t basic, fixed0, fixed1, feature_control; > uint32_t tmp, procbased2_vid_bits; > > @@ -750,6 +754,24 @@ vmx_init(int ipinum) > MSR_VMX_PROCBASED_CTLS2, PROCBASED2_ENABLE_INVPCID, 0, > &tmp) == 0); > > + /* > + * Check support for TPR shadow. > + */ > + error = vmx_set_ctlreg(MSR_VMX_PROCBASED_CTLS, > + MSR_VMX_TRUE_PROCBASED_CTLS, PROCBASED_USE_TPR_SHADOW, 0, > + &tmp); > + if (error == 0) { > + tpr_shadowing = 1; > + TUNABLE_INT_FETCH("hw.vmm.vmx.use_tpr_shadowing", > + &tpr_shadowing); > + } > + > + if (tpr_shadowing) { > + procbased_ctls |= PROCBASED_USE_TPR_SHADOW; > + procbased_ctls &= ~PROCBASED_CR8_LOAD_EXITING; > + procbased_ctls &= ~PROCBASED_CR8_STORE_EXITING; > + } > + > /* > * Check support for virtual interrupt delivery. > */ > @@ -758,13 +780,9 @@ vmx_init(int ipinum) > PROCBASED2_APIC_REGISTER_VIRTUALIZATION | > PROCBASED2_VIRTUAL_INTERRUPT_DELIVERY); > > - use_tpr_shadow = (vmx_set_ctlreg(MSR_VMX_PROCBASED_CTLS, > - MSR_VMX_TRUE_PROCBASED_CTLS, PROCBASED_USE_TPR_SHADOW, 0, > - &tmp) == 0); > - > error = vmx_set_ctlreg(MSR_VMX_PROCBASED_CTLS2, MSR_VMX_PROCBASED_CTLS2, > procbased2_vid_bits, 0, &tmp); > - if (error == 0 && use_tpr_shadow) { > + if (error == 0 && tpr_shadowing) { > virtual_interrupt_delivery = 1; > TUNABLE_INT_FETCH("hw.vmm.vmx.use_apic_vid", > &virtual_interrupt_delivery); > @@ -775,13 +793,6 @@ vmx_init(int ipinum) > procbased_ctls2 |= procbased2_vid_bits; > procbased_ctls2 &= ~PROCBASED2_VIRTUALIZE_X2APIC_MODE; > > - /* > - * No need to emulate accesses to %CR8 if virtual > - * interrupt delivery is enabled. > - */ > - procbased_ctls &= ~PROCBASED_CR8_LOAD_EXITING; > - procbased_ctls &= ~PROCBASED_CR8_STORE_EXITING; > - > /* > * Check for Posted Interrupts only if Virtual Interrupt > * Delivery is enabled. > @@ -1051,10 +1062,13 @@ vmx_vminit(struct vm *vm, pmap_t pmap) > vmx->ctx[i].guest_dr6 = DBREG_DR6_RESERVED1; > error += vmwrite(VMCS_GUEST_DR7, DBREG_DR7_RESERVED1); > > - if (virtual_interrupt_delivery) { > - error += vmwrite(VMCS_APIC_ACCESS, APIC_ACCESS_ADDRESS); > + if (tpr_shadowing) { > error += vmwrite(VMCS_VIRTUAL_APIC, > vtophys(&vmx->apic_page[i])); > + } > + > + if (virtual_interrupt_delivery) { > + error += vmwrite(VMCS_APIC_ACCESS, APIC_ACCESS_ADDRESS); > error += vmwrite(VMCS_EOI_EXIT0, 0); > error += vmwrite(VMCS_EOI_EXIT1, 0); > error += vmwrite(VMCS_EOI_EXIT2, 0); > @@ -2313,6 +2327,14 @@ vmx_exit_process(struct vmx *vmx, int vcpu, > struct vm_exit *vmexit) > } > } > > + /* > + * If 'TPR shadowing' is used, update the local APICs PPR. > + */ > + if (tpr_shadowing) { > + vlapic = vm_lapic(vmx->vm, vcpu); > + vlapic_update_ppr(vlapic); > + } > + > switch (reason) { > case EXIT_REASON_TASK_SWITCH: > ts = &vmexit->u.task_switch; > diff --git a/sys/amd64/vmm/io/vlapic.c b/sys/amd64/vmm/io/vlapic.c > index 74e6cd967396..289fdb7e077d 100644 > --- a/sys/amd64/vmm/io/vlapic.c > +++ b/sys/amd64/vmm/io/vlapic.c > @@ -490,7 +490,7 @@ dump_isrvec_stk(struct vlapic *vlapic) > * Algorithm adopted from section "Interrupt, Task and Processor Priority" > * in Intel Architecture Manual Vol 3a. > */ > -static void > +void > vlapic_update_ppr(struct vlapic *vlapic) > { > int isrvec, tpr, ppr; > diff --git a/sys/amd64/vmm/io/vlapic.h b/sys/amd64/vmm/io/vlapic.h > index 2a5f54003253..71b97feab6bc 100644 > --- a/sys/amd64/vmm/io/vlapic.h > +++ b/sys/amd64/vmm/io/vlapic.h > @@ -74,6 +74,8 @@ void vlapic_post_intr(struct vlapic *vlapic, int > hostcpu, int ipinum); > void vlapic_fire_cmci(struct vlapic *vlapic); > int vlapic_trigger_lvt(struct vlapic *vlapic, int vector); > > +void vlapic_update_ppr(struct vlapic *vlapic); > + > uint64_t vlapic_get_apicbase(struct vlapic *vlapic); > int vlapic_set_apicbase(struct vlapic *vlapic, uint64_t val); > void vlapic_set_x2apic_state(struct vm *vm, int vcpuid, enum > x2apic_state s); > > -- > Homepage: https://www.yamagi.org > Github: https://github.com/yamagi > GPG: 0x1D502515 Gruß --- Michael Reifenberger