[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen 4.1 compile from source and install on Fedora 17



On Tue, Jun 11, 2013 at 04:44:35PM -0500, ranjith krishnan wrote:
>    Hello,
>    I have asked this question in Xen-users mailing list too. But since it
>    involves compiling from source, I realised asking this here makes more
>    sense. Please forgive me for the spam.
>    I am relatively new to Xen and need help compiling and installing Xen from
>    source.
>    Using some tutorials online, I have got Xen working with the 'yum install
>    xen' method.
>    I used virt-manager and was able to get 2 domUs working ( CentOS 5, and
>    Fedora 16).
>    My domUs reside on Logical Volumes in an LVM, on a second hard disk sda2,
>    while my dom0 is installed on sda1. Everything is working fine in this
>    configuration.
>    I want to use Xen 4.1 since I want to continue using
>    virt-install/virt-manager for domU provisioning.
>

if you're installing Xen from source, you probably should install 
libvirt/virt-install/virt-manager
from source aswell and compile against your custom version of Xen.

>    For my work now, I want to install Xen from source and try to modify some
>    source code files and test things out.
>    I have seen some tutorials online, and I am not sure they give the
>    complete picture.
>    For
>    ex, 
> [1]http://wiki.xen.org/wiki/Xen_4.2_Build_From_Source_On_RHEL_CentOS_Fedora
>    Fedora 17 uses grub 2. When we do a yum install, the grub entries are
>    taken care of and things just work.
>    When I install from source, this is not the case. Are there any tutorials
>    which give a complete picture?
>    Or if someone has got Xen working from source on Fedora 16, 17 or 18, can
>    you give me tips on how to edit grub configuration so that xen boots ok.
>    I have tried and failed once compiling and installing Xen on Fedora 16,
>    which is when I used yum.

Why not install Fedora 18 to your dom0? It uses grub2, and you can install Xen 
from rpms there,
and check the automatically generated grub2 configuration for correct syntax.

Also you can generate patches against Xen version used in F18,
add those patches to the src.rpm, rebuild the src.rpm, and install the new 
binary rpm,
so this way you don't need to rebuild libvirt because the Xen ABI stays the 
same,
assuming you're patches don't change the ABI.

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.