From nobody Fri Jun 03 09:01:55 2022 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6D99F1B4D3F4 for ; Fri, 3 Jun 2022 09:01:55 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LDxhg16qQz3GBX for ; Fri, 3 Jun 2022 09:01:55 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 071582629D for ; Fri, 3 Jun 2022 09:01:55 +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 25391sTb027577 for ; Fri, 3 Jun 2022 09:01:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25391suU027576 for virtualization@FreeBSD.org; Fri, 3 Jun 2022 09:01:54 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 264417] bhyve guest cannot be restarted if it has usb xhci pci controller passed thru to it: /usr/src/usr.sbin/bhyve/pci_passthru.c, L:451 Date: Fri, 03 Jun 2022 09:01:55 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lettergrabber@yandex.ru 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654246915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RZOqM53LE3SLV1crhTXgV1JsgjYQn7oJg+HwcoNC8aI=; b=DyqokqZcBPDpT/Ky+kG4qq7t01oigWVYFbeDk2KdtwWNv0EM20QiQL+NxNpsvVNTvrsKEM mxKbpYEEjXOZCUrqcdi/bEv4gPSJQ6lUKfWkZ1BkHeRc5miNem/uFogl3IEYYo2i3PVxFJ b0kWJdJRSyJeXpMdBn0KKrq8WrOzqVZS+u8/zNJhORLCHywWIScjWZUFXVRI+lyJDM6I8l li6niaZqPVdv2xNlEJDbjHny6+AuCTcjNB6IsVJqEkF1ssdecHQBEZSlztbRvkh9r5QzDt 0sxFDJKJjhVsHW1fFpJxidI3tYZTQgPQaRpOuvs2lm80GmP3ymfKfX0m0PPT8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654246915; a=rsa-sha256; cv=none; b=DG2px1wq8rk1d399GtBx4iaZxd8eSqjKpMWx8ij4UE8zqI1aew2lCvBxGmZoDlGjPfVV5q y1v8CDr4wVooyl6rF+i0m79yUS3qWOn8TIvjCj/pj4uVLaUYfoB7aV5xjWyhNj0Xwv1WUR cGDkuF+Bn/FtKzgUYPCMSTG4Yd8hySqmIGPcwFeqjQ3qMzjDYoDBIuD0KQD7sipJrWF5zg T31tx5Zj09uzJwNMU7Qf+zJQdH9XM9fAa9wkAmVUlYK1vZt8ivV68Kig1VjOdilH360V+7 KsOCSRc43l/TFY1XonmhA1okxuXnnjg/SprgTg401KJgRr/2j1z9C0RgYFlYWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264417 --- Comment #3 from Andrey Lanin --- Yes, I have two graphic cards: one is MB embedded, and one - nvidia. You said: "The first one that u use for FreeBSD as host OS and the secondary,that' an Nvidia card,that you want to pass thru" No. I use nvidia everywhere. Its PCE address is 59:0:0. In my /etc/X11/xorg.conf I have the line : BusID "PCI:59:0:0" All is good here - graphic cards configuration doesn't matter. I have two usb pci controllers: xhci2@pci0:134:0:0: class=3D0x0c0330 rev=3D0x03 hdr=3D0x00 vendor=3D0x1912 device=3D0x0014 subvendor=3D0x1912 subdevice=3D0x0014 vendor =3D 'Renesas Technology Corp.' device =3D 'uPD720201 USB 3.0 Host Controller' class =3D serial bus subclass =3D USB xhci3@pci0:216:0:0: class=3D0x0c0330 rev=3D0x03 hdr=3D0x00 vendor=3D0x1912 device=3D0x0014 subvendor=3D0x1912 subdevice=3D0x0014 vendor =3D 'Renesas Technology Corp.' device =3D 'uPD720201 USB 3.0 Host Controller' class =3D serial bus subclass =3D USB One of it I passed thru to VM-1, and other - in VM-2. --=20 You are receiving this mail because: You are the assignee for the bug.=