From owner-freebsd-xen@freebsd.org Mon Apr 25 11:03:48 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D9E38B1BE39 for ; Mon, 25 Apr 2016 11:03:48 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mail.eeeit.de (mail.eeeit.de [37.120.160.187]) (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 9AFCF1C85; Mon, 25 Apr 2016 11:03:48 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from [10.0.3.111] (ppp-62-216-202-70.dynamic.mnet-online.de [62.216.202.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mike@reifenberger.com) by mail.eeeit.de (Postfix) with ESMTPSA id 027C94C4E; Mon, 25 Apr 2016 13:03:39 +0200 (CEST) User-Agent: K-9 Mail for Android MIME-Version: 1.0 Subject: PCI/VGA passthrough for FreeBSD dom0 From: Michael Date: Mon, 25 Apr 2016 13:03:40 +0200 To: royger@FreeBSD.org CC: freebsd-xen@freebsd.org Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 11:03:49 -0000 Hi roger, whats missing or what would be needed to support PCI/VGA passthrough for FreeBSD dom0? Thanks in advance! Greetings, -- mike mr@freebsd.org From owner-freebsd-xen@freebsd.org Mon Apr 25 11:08:44 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F196B1BEEF for ; Mon, 25 Apr 2016 11:08:44 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 170631DD0; Mon, 25 Apr 2016 11:08:44 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: by mail-ob0-x22e.google.com with SMTP id bg3so79125374obb.1; Mon, 25 Apr 2016 04:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ba9CiCLZISBsJ5JHJPuFCMdB8jHW6wnKWSjj8r3ASHk=; b=pk8WGQkuik0VtVLptuZ0llE33GYetrhrcXEBeGsECDHZiES+s8ACE2/O5ELWDWbJos eUxO5Socn7Dw1xORRr3iABNmpt5QGIWMoGVK02DDtvdf8UWx/NAJrV1VpMGPdRGFXjk7 EYbFq1aGexKSqi/nxE71HvQV+64oM5NCG9EOusGqknxTX8FtK9yqqiKdvzHTvG80pJl3 8BG9OPU/BT4kF/lD4SxbXBy0q0Nu7TpWN8B76g8SVzXF10ZXGzgf5as8E1/QW/BrCw7E YpYnD3iZGre0c0iqRXWHRVNBU6L8RcoVGHsS/fOotVAa0VUquvpY/UL6oGPOtx+VwSV0 EbMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ba9CiCLZISBsJ5JHJPuFCMdB8jHW6wnKWSjj8r3ASHk=; b=GF8+k1Tb+Sbq8nJ8f7byQlLbTVgiGw1ZI6I704x4xcpifonL3j0h89mXEXz6JRm7yS XV87myisjUVqVGwL747OPCuHjeHwVSzH72QuGAs2CTMZBLmcoVxDWeVJ9zWq/ij9RbKx VvHRWZtSUM1WNqM3B482Z3sslNkTpdFDq9cIGnw6kSedlusGEMyUH+mDxCkYIToux5Zg A19ukeRWcMb26YbYf1nnPiQHuDMxNoHRhFptTzHamevU2RYHDMZFukZ8KUPIcA9hdD92 UwdETervzzPSSJ0hqSxF/S7MC5Tr02/zQRmQrLGdNYvJvhkeZYeFxXtxzY8oEX2i7cOd aRUw== X-Gm-Message-State: AOPr4FVwLiMUMBxpkoncEyvWZXPSyt6A6Y9aVGimUVNnGvdMMJQPtPKheCHqw1Uj/hnbD+n+hq7lOvuZeQMdxA== X-Received: by 10.182.60.7 with SMTP id d7mr15168604obr.60.1461582523403; Mon, 25 Apr 2016 04:08:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.199.79 with HTTP; Mon, 25 Apr 2016 04:08:04 -0700 (PDT) In-Reply-To: References: From: Outback Dingo Date: Mon, 25 Apr 2016 13:08:04 +0200 Message-ID: Subject: Re: PCI/VGA passthrough for FreeBSD dom0 To: Michael Cc: royger@freebsd.org, freebsd-xen@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 11:08:44 -0000 On Mon, Apr 25, 2016 at 1:03 PM, Michael wrote: > Hi roger, > whats missing or what would be needed to support PCI/VGA passthrough > for FreeBSD dom0? > > Thanks in advance! > Ive got the same question, only for a pci network card > > Greetings, > -- > mike > mr@freebsd.org > _______________________________________________ > freebsd-xen@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > From owner-freebsd-xen@freebsd.org Mon Apr 25 11:16:20 2016 Return-Path: Delivered-To: freebsd-xen@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 400D9B1C072 for ; Mon, 25 Apr 2016 11:16:20 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC24610D4 for ; Mon, 25 Apr 2016 11:16:19 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id w143so20131210wmw.3 for ; Mon, 25 Apr 2016 04:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7dr4b3TT9g2V54cUsApPIBQ0Jt/rG875bOffTt275uM=; b=yo0hui1un3ff7XKmSVLyeTXerktSCAbPt5LtT+f3Fhja7QXwPfBlHgZ8S9rQC53Njd 8Yj5HTtzqaO7R3KBU/7Hd0d77tzf8RnzgFslpncghDIweOC0fHJAVLRjYH0ziaaLJHHM X38D62XBM/by6JnGNaJYE8iGme3zDnY+DcEbn7UaPvwegDBsnpJawjG9lDnk8QNJAcx9 izhc71leCzuiKCK4ITt6/P56AtU51dVeXgUX8CGbRp6Pideo8MT9MqjpabS+JxBKpVc7 /TYCT2+8YHhpD7OVJGF8cl71KRzcI4c4iEh3qgHbgdjbxmfsNIwI6p6bs/hnD6TDVRhH B/Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=7dr4b3TT9g2V54cUsApPIBQ0Jt/rG875bOffTt275uM=; b=hCEBiBknVvXnbm1ttM7+NHz77o3E3aYOi4PJd1UItROCUE39Be/RIvC0BMLgnXSfLJ YCEioD3oax9qK5PyBISb4DmZBelgJ71Pt10QJV2M1sP9hs3fvBX8hsVxlvWCdVYmGS25 pUtP6tChY/Kr+MxUDToTbkfKzqi/F5VUuWqIotAmZk2y2hnKwAu0T853w7u5r7nzvq3i jRLpFsu80UKelM6if4CY3C0UkNzqlt5HNyIESYoOGAjDYVBDl4n911QRyVaUKgNL2PSR GSLepgAjtQlmtFi/rlFNODUDLuJZcyDB1ziR9hG9rjrksYq8JP/zHQXDLXbgJ7eFRvzo Pdyg== X-Gm-Message-State: AOPr4FWMRimKXK6/bobmy99TmTtJ26NfOzQk12dugGl3BIN1UytVKWdqI2/u6D5cualzoA== X-Received: by 10.28.138.196 with SMTP id m187mr11187575wmd.61.1461582978345; Mon, 25 Apr 2016 04:16:18 -0700 (PDT) Received: from localhost (172.red-83-45-36.dynamicip.rima-tde.net. [83.45.36.172]) by smtp.gmail.com with ESMTPSA id jo6sm23033516wjb.48.2016.04.25.04.16.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Apr 2016 04:16:17 -0700 (PDT) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Mon, 25 Apr 2016 13:16:12 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Michael Cc: freebsd-xen@freebsd.org Subject: Re: PCI/VGA passthrough for FreeBSD dom0 Message-ID: <20160425111612.5rhg3w5suwjo6xil@mac> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0-neo (2016-04-07) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 11:16:20 -0000 On Mon, Apr 25, 2016 at 01:03:40PM +0200, Michael wrote: > Hi roger, > whats missing or what would be needed to support PCI/VGA passthrough > for FreeBSD dom0? Hello, I haven't looked much into this because I've been busy with other stuff, so my response is going to be a little vague. AFAICT, we need a pciback implementation in FreeBSD, that should attach to the devices that are going to be passed-through. Bhyve uses something called ppt, so it could be a starting point. Then the way to perform the passthrough depends on whether the guest is PV or HVM, but I don't know the exact differences between them (I only know HVM guests use QEMU and PV guests use some functionality in pciback). If someone is interested in taking up this project, I'm more than happy to help in any way I can. Roger.