[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)

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:

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 

        USE="mmx sse sse2 xen ntplonly xen -gtk -gtk2 sdl ssl acpi unicode 
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 

A little bit older (but still working) Howto could be found here:




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

Xen-users mailing list



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