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

Re: [Xen-users] dom0 xen


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Niels Dettenbach <nd@xxxxxxxxxxxx>
  • Date: Mon, 8 Mar 2010 15:31:15 +0100
  • Delivery-date: Mon, 08 Mar 2010 06:32:37 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Monday 08 March 2010 15:03:49 dky hax wrote:
> I use recently xen compiled in a gentoo system.
> I would like a question to make, what is the best system dom0 for xen?

...if you use Gentoo (like me over years as it usually just works like a 
horse) the current 

        sys-kernel/xen-sources:2.6.31-r11 (or r12)
        =app-emulation/xen-3.4.2-r1
        =app-emulation/xen-tools-3.4.2

should be a good choice under current Gentoo. 

You have to setup the Gentoo xen overlay by:

        emerge layman
        layman -L -a xen

The xen-sources from Gentoo are xenified vanilla sources by the current SuSe 
xen patches:
http://code.google.com/p/gentoo-xen-kernel/downloads/list

In my case i had to add:

echo ">=sys-kernel/xen-sources-2.6.31" >> /etc/portage/package.unmask

(this might not be required by your system - try it).


I use i.e. this in /etc/make.conf:

You might set your own hardware arch here under "-march" - afaik should be 
compatible with you settings within your kernel config (CPU type).

        CFLAGS="-march=core2 -O2 -pointer -pipe -mno-tls-direct-seg-refs"

Important is "-mno-tls-direct-seg-refs" as it impoves performance 
significantly


        USE="mmx sse sse2 xen ntplonly xen -gtk -gtk2 sdl ssl acpi unicode 
slang 
openssl -kde -X -zlib python perl pygrub api -cups -print screen -gnome ipv6 
extensible lm_sensors ioemu diskio"

"pae" is important here too if you want to run a 32bit HV with more then 6GB 
(<= 8GB RAM) or PAE guest images. You have to enable PAE within kernel too (64 
GB RAM).

A little bit older (but still working) Howto could be found here:
http://en.gentoo-wiki.com/wiki/Xen


cheers,


Niels.
-- 

---

  Niels Dettenbach
  ---
  Syndicat IT&Internet
  http://www.syndicat.com
  T.-Muentzer.-Str. 2, 37308 Heilbad Heiligenstadt - DE
  ---
  Kryptoinfo: 
  PGP public key ID 651CA20D
  Fingerprint: 55E0 4DCD B04C 4A49 1586  88AE 54DC 4465 651C A20D
  https://syndicat.com/pub_key.asc
  ---

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


 


Rackspace

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