WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Building a FreeBSD domU from debian

To: cjcollier@xxxxxxxxx
Subject: Re: [Xen-users] Building a FreeBSD domU from debian
From: "Ray Barnes" <tical.net@xxxxxxxxx>
Date: Thu, 12 Jun 2008 22:35:53 -0400
Cc: Mike O'Brien <obrien@xxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 12 Jun 2008 19:36:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=odGzPTDRnZ3Frt7zg2+mh2cy/AMUNa9CsLO0F8BQrc8=; b=k+gUsSIJgqAPmA5jPO/xUcdLHjkQ3bSo2AGY7Kw4XyREtODkqbvHdrDLg3XDDVeAOJ 8jm3ox5ah1SbH2UQryZsDjQ8R1P7478JHFK+x3Gu4PkUPLW24ksg6OTTwcRa7Xay6Hg0 lcoOhC91fts0zHghdHaMW1Dr9qB3HfcbHyS84=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GjB74wHdxNMN3snwhIAgbq8lexV4Fqi2HFWKCVaUid8RfSvNGB5HvqKvpkMAZYAIAZ NIipDG2FEjovGJeUBK8A9yNi4mi0Zsu0pCqZXLPHM11ImzFZBRzYhPebQTPKx92RW8l8 bvJVH6YRLkCnViShw2DaTkeZSpaZwcfVOYC1I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1213316662.30990.65.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200806122320.m5CNKwv00416@xxxxxxxxxxxxxx> <1213316662.30990.65.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Jun 12, 2008 at 8:24 PM, C.J. Adams-Collier <cjcollier@xxxxxxxxx> wrote:
> In that case, could someone HVM-ify this config file for me?

Find below a working HVM config for FBSD.  Note that you'll need to
have Xen 3.2.0 or later compiled with "vmxassist=n", otherwise you'll
get a bunch of errors.

-Ray


# Enable hardware virtualisation using HVM
kernel = '/usr/lib/xen/boot/hvmloader'
device_model = '/usr/lib/xen/bin/qemu-dm'
builder = 'hvm'

# VM/domain name
name = 'letsgetit'

# Memory and CPU settings
vcpus = '4'
memory = '512'

# Disk settings
disk = [ 'phy:/dev/disk/by-path/somediskimg,ioemu:hda,w',
'file:/home/7.0-RELEASE-i386-disc1.iso,hdc:cdrom,r' ]
boot = 'cd'

#fix this as appropriate
#vif = [ 'type=ioemu, mac=00:16:3e:00:00:07, bridge=bmette31' ]

# Graphics settings
sdl = '0'
#vnc = '1'
#vncviewer = '1'

vfb = [ 'type=vnc,vnclisten=0.0.0.0,vncdisplay=4,vncpasswd=rockthemic' ]

# Other settings
pae = '0' # Whether to enable PAE for 32-bit VMs
acpi = '0' # Whether to enable ACPI for guests
localtime = '1' # Whether system clock is set to localtime or UTC

# Start/stop settings
on_poweroff = 'restart'
on_reboot = 'restart'
on_crash = 'restart'

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users