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-devel

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: Sat, 13 Mar 2010 08:09:36 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 13 Mar 2010 08:10:45 -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=fBzeYgQQ4PChqVCPJIH3NQ25/ZKeDGZpmOwEz0tbGrU=; b=nlMZGRa/82yD2N0fnBcYJIpLOXPMV8FEI0w50SnQBswcJIzfFuQTbeJF1hFi06xEgu FE945Bdrguzl3P/hHgQG1Qisx/YkFfrhV+GAlNVZrPaG+OLGKixCghlfzbZGo5PEFMfK dc+xIQOUdkFaFPDz+YBRa9dY4r/MurulapDKA=
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=Gn+WXgCwrCBKxq/DmnW+NWhApyor8VjV/GdAM3fKmQEnoRvqpDJk5V5eMqenV94Qu9 xY6wa6hNQBjAYRxZMQROaSlhQ8IukHWFpd1EwkLPTVkS8RzlIaLcEWEa6kWCgDQsK3P2 bOGVQp+IYhnKJLUBGIY+iURqDW0R17vf6VXsM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100313111857.GS1878@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> <29b32d341003121751s517ea28qbdb78e8cc69243ac@xxxxxxxxxxxxxx> <20100313111857.GS1878@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks again. As I understand from wiki page, Jeremy's xen.git and xen/stable code are for building dom0 kernel. Can dom0 kernel be used as a domU? At least last time I checked I was told I cannot use it.

Thanks

On Sat, Mar 13, 2010 at 3:18 AM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Fri, Mar 12, 2010 at 05:51:20PM -0800, Ritu kaur wrote:
>    Thanks Pasi. I looked at
>    [1]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 [2]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:
>
>          1. CONFIG_PARAVIRT_GUEST
>          2. CONFIG_XEN
>
>     5. And Xen pv device support
>
>          1. CONFIG_HVC_DRIVER and CONFIG_HVC_XEN
>          2. CONFIG_XEN_BLKDEV_FRONTEND
>          3. CONFIG_XEN_NETDEV_FRONTEND
>
>     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 [3]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.
>

You need to check out Jeremy's xen.git, and possibly xen/stable branch from there,
to have the pcifront driver. It's not yet in the upstream kernel.org kernel.

-- Pasi

>    Thanks
>
>    On Fri, Mar 12, 2010 at 9:51 AM, Pasi Kärkkäinen <[4]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][5]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][6]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:
>
>             - [7]http://xenbits.xen.org/linux-2.6.18-xen.hg
>             - pv_ops xen.git xen/stable 2.6.32.9 and xen/master 2.6.31.6
>               (See: [8]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: [9]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
>
> References
>
>    Visible links
>    1. http://wiki.xensource.com/xenwiki/XenParavirtOps(my
>    2. http://kernel.org/
>    3. http://kernel.org/
>    4. mailto:pasik@xxxxxx
>    5. http://wiki.xensource.com/xenwiki/Command_Line_Interface
>    6. http://wiki.debian.org/Xen
>    7. http://xenbits.xen.org/linux-2.6.18-xen.hg
>    8. http://wiki.xensource.com/xenwiki/XenParavirtOps
>    9. http://wiki.xensource.com/xenwiki/XenDom0Kernels

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