From owner-freebsd-virtualization@freebsd.org Sun Mar 25 01:01:31 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06C94F5DB06 for ; Sun, 25 Mar 2018 01:01:31 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3E269400 for ; Sun, 25 Mar 2018 01:01:30 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id D84032094A41 for ; Sun, 25 Mar 2018 11:01:21 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id D0FDC2809BD for ; Sun, 25 Mar 2018 11:01:21 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PQifMc5tlVXx for ; Sun, 25 Mar 2018 11:01:21 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id F3F932804D6; Sun, 25 Mar 2018 11:01:18 +1000 (AEST) Subject: Re: bhyve pci passthrough usb controller To: Wouter Snels Cc: "Rodney W. Grimes" , freebsd-virtualization@freebsd.org References: <201803240230.w2O2U21F033917@pdx.rh.CN85.dnsmgr.net> From: Peter Grehan Message-ID: <48cef2a2-f8de-1784-9094-daeb2dd7d55a@freebsd.org> Date: Sat, 24 Mar 2018 18:01:19 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=dNCIZtRb c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=v2DPQv5-lfwA:10 a=z1x4mbJ5c0PGvg0TxjkA:9 a=QEXdDO2ut3YA:10 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 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: Sun, 25 Mar 2018 01:01:31 -0000 > I surely will try this out, but what about device 4/0/0 showing the > same issue. Both tests where performed separately showing the exact > same result, of course I'd be happy if either one of them worked. I think what is happening here is that Windows is enabling legacy interrupts on the device, and that happens to be on the same shared IRQ line that the ATA controller is on, resulting in spurious interrupts. The dmesg for the system may be able to confirm this, since it should list the legacy IRQs that have been assigned. bhyve PCI passthru relies not only on the device supporting MSI/MSI-x interrupts, but the guest using those. later, Peter.