From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 05:15:14 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1B1B16A468 for ; Mon, 30 Jul 2007 05:15:14 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.freebsd.org (Postfix) with ESMTP id 649F513C480 for ; Mon, 30 Jul 2007 05:15:14 +0000 (UTC) (envelope-from rakheshster@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so1209604wxd for ; Sun, 29 Jul 2007 22:15:13 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:message-id:in-reply-to:references:date:subject:from:to:cc:user-agent:mime-version:content-type:content-transfer-encoding:x-priority:importance:sender; b=VYZrsyJtoqBWEFlzulQkcjgc2gTM4Hc1N4XdcnVJd6ehFAJ9yEt7c6LQHbRmSmhFu80JSxsISrkd2sfAYTkC+p0e7HuCcsiDJ0NHDM/+E0aZ5tawM//LFb8b7xfjlBMUAh0I4F+m9T7zEtxUrpHm8YHl8CqCqsx13tmtNgXEGuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:in-reply-to:references:date:subject:from:to:cc:user-agent:mime-version:content-type:content-transfer-encoding:x-priority:importance:sender; b=FRLSKRDlzrfWkxaPgnzTItCI/mah94xcrsPbbjr8jGvD37sGOQElqeXUIGiN+6NPmxklh8u/vbY+yZ3KtW7XxrMzLteL8iwpTXzgO2aNfaMzCcvBnSAZkGVrV0sSoi1tQChOa0xvrcYCq+dnTlVPT/EUbqy++rFlZOOIKka1dxo= Received: by 10.90.113.18 with SMTP id l18mr1463846agc.1185772512984; Sun, 29 Jul 2007 22:15:12 -0700 (PDT) Received: from smtp.home.rakhesh.com ( [82.178.139.14]) by mx.google.com with ESMTPS id 20sm2845990agd.2007.07.29.22.15.09 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Jul 2007 22:15:10 -0700 (PDT) Received: from rakhesh.com (asterix.home.rakhesh.com [192.168.17.23]) by smtp.home.rakhesh.com (Postfix) with ESMTP id 457ED11420; Mon, 30 Jul 2007 09:14:49 +0400 (GST) Received: from 212.72.24.148 (SquirrelMail authenticated user rakhesh) by rakhesh.com with HTTP; Mon, 30 Jul 2007 09:14:09 +0400 (GST) Message-ID: <44964.212.72.24.148.1185772449.squirrel@rakhesh.com> In-Reply-To: <62b856460707290755s1225eaffy951caa9c81857de3@mail.gmail.com> References: <62b856460707290755s1225eaffy951caa9c81857de3@mail.gmail.com> Date: Mon, 30 Jul 2007 09:14:09 +0400 (GST) From: "Rakhesh Sasidharan" To: "Michael Grant" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Sender: Rakhesh Sasidharan Cc: FreeBSD Questions Subject: Re: XEN questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 05:15:14 -0000 > Does one run XEN inside of freebsd and then VMs inside that, or does > one run XEN on the bare hardware and then run freebsd inside that? If > I've already got freebsd running on my box, do I have to reload it > from scratch or is there a way I can virtualize what I already have > runing? Hi, Xen runs on the bare hardware and other OSes run atop Xen (i.e. they are specifically "ported" to the Xen "hardware"). But you don't have to install Xen on the bare hardware as such. Typically you install Xen on your OS. And then you install other OSes on this Xen installation. That's how it works. For example: Say you are running FreeBSD 7.0. You install Xen on FreeBSD 7.0. Then you install FreeBSD 6.2 and NetBSD 3.1 onto Xen. In Xen terminology, all these OS installations (including the FreeBSD 7.0 on which Xen is installed) are called "domains". The FreeBSD 7.0 Xen domain is called dom0 (domain 0). While the FreeBSD 6.2 and NetBSD 3.1 Xen domains are called domU (domain User). dom0 is special coz that's what manages the other domains. Plus, that's where you install Xen first for it to interact with the hardware etc. Not all OSes support Xen on dom0. FreeBSD 6.2, for instance, doesn't. (It only supports domU). FreeBSD 7.0 would, I believe. NetBSD 3.1 does. In Linux, you need kernel 2.6.18 and greater I think. So to answer your question, if you are on FreeBSD 6.2, you can't try out Xen. You can, however, install FreeBSD 6.2 atop any Xen installation running on FreeBSD 7.0 and Linux or NetBSD 3.1 etc. Hope this helps. :) Regards, Rakhesh ps. This should be of some info -- http://tx.downloads.xensource.com/downloads/docs/user/#SECTION01140000000000000000.