From owner-freebsd-xen@FreeBSD.ORG Mon Apr 1 21:24:46 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B4F46211 for ; Mon, 1 Apr 2013 21:24:46 +0000 (UTC) (envelope-from knockknock@gmail.com) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2C81FC for ; Mon, 1 Apr 2013 21:24:46 +0000 (UTC) Received: by mail-ve0-f171.google.com with SMTP id b10so3119436vea.30 for ; Mon, 01 Apr 2013 14:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:from:date:x-google-sender-auth :message-id:subject:to:content-type; bh=PHIbkC1o99j9w7qlXjmaODXMphTSsd1hVikSqs+w3wc=; b=TZcqhj+TVTag5pOFOgkKJogBh0VOuAuJgYntss7TxR1oRyVMQAOAWaqBzGr3Mv5pJs SU/1ewdMLYAkgq1+3MsUtHpmxSXy1D4dtPFfbjMSf8wkmoWIvqShXZottgGKEE8LZ+N9 by0IKPokLn/ZdPaMMe24bzWTdZ/m0nrU1w2FHhSOtAZ7YP4CfHt461C8VRbCdtd3MOyW zUQqlj7bV7KDtR6+jdBSQ0bT+FzNAn1unQq8uk9/h8oQBuWO2kce1DZR4R2mxm5rSIkD +Txg+JQWpjNpo/VYOQtvUCQeEAnoTQ8zQ3nHxOheFX+tBkYy+qpbWk2X8dqeG9yspjJA 4ncQ== X-Received: by 10.52.171.193 with SMTP id aw1mr9135141vdc.49.1364851485559; Mon, 01 Apr 2013 14:24:45 -0700 (PDT) MIME-Version: 1.0 Sender: knockknock@gmail.com Received: by 10.52.122.197 with HTTP; Mon, 1 Apr 2013 14:24:25 -0700 (PDT) From: Eric Shelton Date: Mon, 1 Apr 2013 17:24:25 -0400 X-Google-Sender-Auth: pR2A9AQxgQXvpDoi8gr67LzunmU Message-ID: Subject: 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: Mon, 01 Apr 2013 21:24:46 -0000 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