From owner-freebsd-xen@FreeBSD.ORG Tue Apr 2 13:19:21 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7D14C37 for ; Tue, 2 Apr 2013 13:19:21 +0000 (UTC) (envelope-from knockknock@gmail.com) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx1.freebsd.org (Postfix) with ESMTP id 810171F8 for ; Tue, 2 Apr 2013 13:19:21 +0000 (UTC) Received: by mail-vc0-f177.google.com with SMTP id ia10so390470vcb.36 for ; Tue, 02 Apr 2013 06:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:references:from:in-reply-to:mime-version:date:message-id :subject:to:content-type; bh=v5DPSS52yPEHGLtx6cm0obysLEt9Kc4N0+tBs+7trik=; b=J0s509Wj8BvF+HgP4d+sW1QCNaeqCndgKcg3VgivJZKsXd+LtY3bbVwcYAJFVt2TK2 6hJo43hk2nK1U3SgW0ue6vapegafhgGfmwYpZ2kxJX59eIOyokG5QTEH4fUzOGxexL43 JDgqaDc1g5qG5FsiBiu3IXN52Xt5TsJsOaoYhbdC28e9TD2vDpvBZU24fpV0o0qvT8DS ZtZrlxgtM1wPKUmXMgS1xpp/okXkkyEFUXxlWV4l4UoyVzQsvyy4DAiwxvjHuGeRmQvX bjjyt5KW9+LAWr8hy0F2xv/87dg76V7jzKuLRKASrO6asJf/UzLUJ1yggomvVynCRNn2 FBcw== X-Received: by 10.58.245.40 with SMTP id xl8mr12509580vec.33.1364908760675; Tue, 02 Apr 2013 06:19:20 -0700 (PDT) References: From: Eric Shelton In-Reply-To: Mime-Version: 1.0 (1.0) Date: Tue, 2 Apr 2013 09:19:20 -0400 Message-ID: <-3378255293464856149@unknownmsgid> Subject: Re: configuration for FreeBSD as domU "storage domain"? To: "freebsd-xen@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 02 Apr 2013 13:19:21 -0000 Of course, it is blkback, not blkfront, that I would want to use to serve up block devices... On Apr 1, 2013, at 5:24 PM, Eric Shelton wrote: > Dear List, > > Although I understand it is possible, I have not found any clear > examples of xl configs and how to configure FreeBSD to serve up a > block device from a FreeBSD domU via blkfront. > > For example, given the following set of domains: > 1: Linux dom0 > 2: FreeBSD HVM domU (serving up a zvol via blkfront, PCI passthrough > of underlying storage devices) > 3: Windows 7 HVM domU (using the zvol as its root fs) > > What needs to be done within FreeBSD to expose the zvol via blkfront? > > What does the "disks" portion of the xl config file look like for > starting up the FreeBSD domain? (What is the format like when a domU > is serving up a block device?) > > What does the "disks" portion of the xl config file look like for > starting up the Windows 7 domain? (What is the format like when you > wish to attach to block device served up by a domU, not dom0?). > > Thank you for your help, > Eric