Zhengwang Ruan (Royo)
2011-Oct-13 06:09 UTC
[Xen-users] 2 Questions about Xen installation and Xen source
Hi all, 1, I am a freshman to Xen technology, please help me install it. :) I am trying to install a Xen dm0 in locally machine, but I am confused about some steps to install and xen itself. Could you try to give some answers? I downloaded xen-4.1.1 package, and extract all files. I found some kernel src files located in xen-4.1.1/xen: # ll drwxr-xr-x 4 zruan0 users 4096 2011-06-15 00:03 arch drwxr-xr-x 5 zruan0 users 4096 2011-06-15 00:03 common -rw-r--r-- 1 zruan0 users 19185 2011-06-15 00:03 COPYING drwxr-xr-x 2 zruan0 users 4096 2011-06-15 00:03 crypto drwxr-xr-x 8 zruan0 users 4096 2011-06-15 00:03 drivers drwxr-xr-x 9 zruan0 users 4096 2011-06-15 00:03 include -rw-r--r-- 1 zruan0 users 5529 2011-06-15 00:03 Makefile -rw-r--r-- 1 zruan0 users 3498 2011-06-15 00:03 Rules.mk drwxr-xr-x 3 zruan0 users 4096 2011-06-15 00:03 tools drwxr-xr-x 4 zruan0 users 4096 2011-06-15 00:03 xsm Are these files going to be used to add or replace corresponding files in kernel source? If so, then xen-4.1.1 package should be bond to a suitable kernel version to avoid build failures. How I can find the suitable kernel version to this package? I also check http://wiki.xen.org/xenwiki/XenDom0Kernels for details, but still full of confusion in my mind. 2, I want to patch a suitable kernel with xen-4.1.1 patches to better understand xen itself. Should I achieve this by following steps: 1> download suitable kernel (right version) 2> download xen patches or generate new patches from xen-4.1.1? 3> patch kernel with xen patches. Really looking forward to you guys answers :) -- Thanks, -Royo (Zhengwang) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Simon Hobson
2011-Oct-13 06:52 UTC
Re: [Xen-users] 2 Questions about Xen installation and Xen source
Zhengwang Ruan (Royo) wrote:>1, I am a freshman to Xen technology, please help me install it. :) > >I am trying to install a Xen dm0 in locally machine, but I am >confused about some steps to install and xen itself. Could you try >to give some answers? > >I downloaded xen-4.1.1 package, and extract all files. I found some >kernel src files located in xen-4.1.1/xen:I can''t help with the question as asked, but I would suggest that while getting started you would be better using packaged software until you''ve got your head round things. Most distros support Xen out of the box now, so you should be able to be up and running fairly quickly. Once you''ve got things going, and know how to drive it, then you can start building stuff from source knowing that (if you do it right) you have a working config to fall back on AND you know what a working system looks like. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Zhengwang Ruan (Royo)
2011-Oct-13 14:37 UTC
Re: [Xen-users] 2 Questions about Xen installation and Xen source
Hi Simon, Thank you very much for your nice advices, I will have a try. Brs, Royo At 2011-10-13 14:52, Simon Hobson wrote:> Zhengwang Ruan (Royo) wrote: > >> 1, I am a freshman to Xen technology, please help me install it. :) >> >> I am trying to install a Xen dm0 in locally machine, but I am >> confused about some steps to install and xen itself. Could you try to >> give some answers? >> >> I downloaded xen-4.1.1 package, and extract all files. I found some >> kernel src files located in xen-4.1.1/xen: > > I can''t help with the question as asked, but I would suggest that > while getting started you would be better using packaged software > until you''ve got your head round things. Most distros support Xen out > of the box now, so you should be able to be up and running fairly > quickly. > > Once you''ve got things going, and know how to drive it, then you can > start building stuff from source knowing that (if you do it right) you > have a working config to fall back on AND you know what a working > system looks like. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users