From owner-freebsd-virtualization@freebsd.org Thu Aug 9 17:07:30 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 D0C0C106D207 for ; Thu, 9 Aug 2018 17:07:30 +0000 (UTC) (envelope-from djfarid@gmail.com) Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3286A7E55E; Thu, 9 Aug 2018 17:07:30 +0000 (UTC) (envelope-from djfarid@gmail.com) Received: by mail-ed1-x543.google.com with SMTP id r4-v6so3190180edp.9; Thu, 09 Aug 2018 10:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5SU52EM4XmPlPYrkZXIfXxA01I6fNmQoJ+SXhxxfaEs=; b=hcYw9MD1M/vY9XfLs70PhqUcmu3yHyhBjuKXaJXjJdF1R1oolRTwN0yDDKR7qEWjFj vk6NYJcXNB/Vd4RcNYMs+RNGQKbYWfaygyVMJWWPQyM7K1ocpbeqKgSdi7S/xVT6UqCj onUSPxDRMn4AhTuOZCFh5f1QGevz5WpTbuQxhNZEbxOuQx2YqmEXmat0BY145WQzb/Jp 4uQyHZPpGbT7plRcREPHL+u0AuXFyFX80mFi4pRvR9B7va8zNl5azUVpifOlQZB4a1w2 dsZdUnXF6bsGHHRrdz2qxdUCN5YffanDU2MjwRW2Pq6tVWkPD+rzoJ25n0RQuOVJdW3B H2ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5SU52EM4XmPlPYrkZXIfXxA01I6fNmQoJ+SXhxxfaEs=; b=l9HAkMAZLB+ulRaZYWvhpvW/4lfJmMySenQJhSWPRvuW0swl7dTLZ59CuS1xBWOqLv HkccTvypOxm7i+Uq8ANFoV5CGyMOQX2xRzl4GK089KWIv8tmdqRHm37wfUXVUe7ITZsu Drils0TucjQpQIeTWaB4f3Fq7+99jPICYlGeoxa+MajpoLvqAtVT62uo4oR7obgR0n3/ TjjVLt5m/BVtMcZtf1nZpD8N82ulQCzFlQBqthowjFQtkZdYJ92JDXqyhSUSR5DbcBKL rcwhQx1ITgyUw2wmpk32XVuhJVzPND4NBuSrg/MdFcXaS8qZDPRZefzVEEEgWxewS1Jr ZBbQ== X-Gm-Message-State: AOUpUlFwLx6kwytl4vfBJqOsf+qEkwMjv3itwP9D5Gmpxz2laGryqvvW 9ZJVL4J+2e9GXW0quSynMLX0taHsYpBGukDnOfC+UQ== X-Google-Smtp-Source: AA+uWPzfGmhldchpN4qCoJOqobc1w1zX3P7SBPjdauN6CBKlSHhgBST1AipKvMUHeSb+pSpNOXrAQBveCVhB9+UzL50= X-Received: by 2002:aa7:c68b:: with SMTP id n11-v6mr4391528edq.122.1533834449038; Thu, 09 Aug 2018 10:07:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Farid Joubbi Date: Thu, 9 Aug 2018 19:07:17 +0200 Message-ID: Subject: Re: Passthrough not working with OpenBSD nor NetBSD To: John Baldwin Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.27 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, 09 Aug 2018 17:07:31 -0000 How does KVM and VMware solve that? I haven't tried PCI passthrough with them, but I assume that it works..? On Thu, Aug 9, 2018, 18:24 John Baldwin wrote: > On 8/8/18 11:08 AM, Farid Joubbi wrote: > > That's what I also thought, but it's not anything I can force it to do, > is it? Isn't it supposed to detect the MSI interrupt compatibility > automatically? > > Apparently Open/Net always try to setup INTx before trying MSI even if they > won't use INTx per the commit log in revision 280725. We could perhaps try > to provide a "fake" INTx interrupt that doesn't work, but I'll have to > think > about how to implement that. > > -- > John Baldwin >