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/
Home Products Support Community News


Re: [Xen-devel] domU guest for xcp 0.1.1

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] domU guest for xcp 0.1.1
From: Ritu kaur <ritu.kaur.us@xxxxxxxxx>
Date: Fri, 12 Mar 2010 17:51:20 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 12 Mar 2010 17:52:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=rOwUu6h7gKmxfeV1lQhHlxc/kP7idvKpLNbZkEEWsSI=; b=jTAaC846X2srJAPl9rKIMs3NKjEm+3astHU/lm+1Y258WjeYIC04xSkrsW5ov8L9CW 7LiminRwT41FsUKJyz48ekcCad9tgljJObU1PtRZaSX5zuD7VKw932yMG1aiieh5kqp9 r1UiJqpjklWrX5Qe3Vzu6xIFWBzt4RRKQ5iwI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=f1wCoBxnH91Noth+VPshWoRoKcbWnoVOJ50GiY9EoH6P7KllsYHhPHMLmVvWD3rZDx CWrR+88e9UtptdTGciElQDxsIhLtgFHDjaobBgHRazOJXBaEoMySRzERdQDdwH4t//+A vm0D6AZSkNj0gm9h8MtQxj56aavGxUbsTBIvI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100312175135.GK1878@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <29b32d341003120910l5340bc01tcada3ca2adbaf763@xxxxxxxxxxxxxx> <20100312175135.GK1878@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Pasi. I looked at http://wiki.xensource.com/xenwiki/XenParavirtOps(my foray into linux is via xen, so please pardon by silly questions)

Using Xen/paravirt_ops

Building with domU support

  1. Get a current kernel. The latest kernel.org kernel is generally a good choice.
  2. Configure as normal; you can start with your current .config file
  3. If building 32 bit kernel make sure you have CONFIG_X86_PAE enabled (which is set by selecting CONFIG_HIGHMEM64G)
    • non-PAE mode doesn't work in 2.6.25, and has been dropped altogether from 2.6.26 and newer kernel versions.
  4. Enable these core options:
  5. And Xen pv device support
  6. And build as usual
Config doesn't have pcifront in it? don't I need it for pci passthrough? I have copied linux 2.6.33 source from kernel.org and started building kernel(irrespective of above questions), but what distribution is this kernel associated with i.e I thought I should first install linux from a distribution and rebuild kernel for any modification, but in this case I don't understand what distribution this is associated with. Inputs much appreciated.


On Fri, Mar 12, 2010 at 9:51 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Fri, Mar 12, 2010 at 09:10:31AM -0800, Ritu kaur wrote:
>    Hi,
>    I am expanding my question to developers forum to get some quick help on
>    pci passthrough. I am using xcp 0.1.1 as a dom0 and installed Debian Lenny
>    as a domU(as mentioned in
>    [1]http://wiki.xensource.com/xenwiki/Command_Line_Interface).
>    Unfortunately, Debian Lenny which the wiki points to doesn't come with PV
>    drivers(I need pcifront driver). I looked up in [2]wiki.debian.org/Xen and
>    I found following snippets
>    /***The default Lenny kernel is the newer paravirt_ops version (2.6.26),
>    which does not function as a dom0 (except for the -xen variants, which
>    have dom0 support but also some issues running as domU (please clarify?).
>    It will also not support PCI passthrough in a domU. For PCI passthrough,
>    you have to run the 2.6.18 etch kernel as both dom0 and domU. ***/

I don't know if there are pre-packaged kernels for lenny with pcifront driver.

Links to kernel sources that have the pcifront driver:

       - http://xenbits.xen.org/linux-2.6.18-xen.hg
       - pv_ops xen.git xen/stable and xen/master
         (See: http://wiki.xensource.com/xenwiki/XenParavirtOps)
       - Kernels with the forward-ported Novell/opensuse Xen patches (2.6.29, 2.6.31, 2.6.33)
         (See: http://wiki.xensource.com/xenwiki/XenDom0Kernels)

>    Can someone let me know what domU has been tested with XCP 0.1.1 for pci
>    passthrough and any pointers to that domU kernel binary or source will
>    help me out.

Unfortunately I don't know what kernel has been tested.

-- Pasi

Xen-devel mailing list