From owner-freebsd-xen@FreeBSD.ORG Sat May 23 10:46:27 2009 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 893631065672 for ; Sat, 23 May 2009 10:46:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qy0-f105.google.com (mail-qy0-f105.google.com [209.85.221.105]) by mx1.freebsd.org (Postfix) with ESMTP id 45CB28FC1E for ; Sat, 23 May 2009 10:46:27 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qyk3 with SMTP id 3so3498491qyk.3 for ; Sat, 23 May 2009 03:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7kj2DmT3TdVF29H1U2dZE3qMkt/Y/UG2j3+1X+1yTqA=; b=J2zzx59wsJg+Kt6jYzLMBY68z8jJcSJM6fbqZ06K8heQGCUU8BzYEGnB88WMeaYHPy 8MQw7mxZRfdknXzR/l5lb/VsoAMntkH69MwvBUf0zgf0uhxe5fXPRKtpNDZcuuHyETsI +IsTqHaejGZ7boaVCm1zT9Gk8UPm+0Fqou5FE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=AjKxemQGhOe4OGfEdHnVI8fvS6HDFXvFa61nMhFKjwjliA6Mvmf9LjpfhdicoIe5h4 Wws1wnk5zJyNWfchiqgq6k/T229BeqXj664Sjfr75otHQqciFALa4B6z+D+Q0AAsH/iK Fr9Od6bDDMRaKqtn+rp+n6iqkk6XInwfvnDhw= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.110.13 with SMTP id l13mr1701829qcp.4.1243075579030; Sat, 23 May 2009 03:46:19 -0700 (PDT) Date: Sat, 23 May 2009 18:46:19 +0800 X-Google-Sender-Auth: 52c956b079b02234 Message-ID: From: Adrian Chadd To: freebsd-xen@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: FreeBSD-current Xen image X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 23 May 2009 10:46:28 -0000 I've put up a recent FreeBSD-current Xen DomU image at http://people.freebsd.org/~adrian/xen/ . * the image is a gzip'ed 512meg filesystem installworld/distribution install, around 208 mb. * it includes the grub bootloader info (/boot/grub/menu.lst); a basic /etc/fstab w/ root on "xvd0" and swap on "xvd1", and the xen console (xc0) in /etc/ttys. * The config file in that directory (freebsd-current.sxp) works for me. It assumes one network interface and two block devices on LVM - one for root, one for swap. You should be able to just dd the image into an LVM slice or modify the configuration to use a file (tap:aio IIRC), then "xm create /path/to/file" . "xm console" will give you a working console. Bonus points to you if you then figure out the magic required to boot it to single user mode to run "growfs", then "tunefs -n enable" to enable softupdates, with the requisite fscks and reboots to make sure things stay consistent. I'll document that later. I'm working on DomU releng_7 and releng_6 images at the moment but I'm stuck with a buildworld issue and a kernel panic, respectively. Have fun; Adrian