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

Re: [Xen-users] New to Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] New to Xen
From: Niels Dettenbach <nd@xxxxxxxxxxxx>
Date: Fri, 11 Nov 2011 12:56:31 +0100
Delivery-date: Fri, 11 Nov 2011 03:58:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e0f955599514fee036c831201aeda3cd.squirrel@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Syndicat IT&Internet
References: <4EBA9017.2070601@xxxxxxx> <3285255.2Mt95xsYS5@gongo> <e0f955599514fee036c831201aeda3cd.squirrel@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/4.7.2 (Linux/3.1.0-gentoo-niels; KDE/4.7.2; x86_64; ; )
Am Freitag, 11. November 2011, 12:36:43 schrieb J. Roeleveld:
> My main issue with the documentation is that I have not been able to find
> out which kernel-options are really needed for Xen 

This differs a bit between Dom0 and Domu and mainly between the "old" 2.6.38 
and the "new" (3.x - pvops) kernel. At least you have to enable all required 
XEN flags / drivers for backend or frontend.

If it helps you i can post a example kernel config fpr 2.6.38 (SuSe backport - 
sys-kernel/xen-sources in portage) i used properly (but you have to add your 
hardware drivers by your own). On 3.2 i'm still fiddeling here... ;)

On 2.6.38 i use the same kernel for Dom0 and DomU for testing purposes 
(preferred to compile in most instead of building as modules).

The kernel does not build if i enable CONFIG_XEN_BLKDEV_TAP2

It could be wise to build the CONFIG_BLK_DEV_LOOP as module which allows you 
to change the number of loopback devices later / on running sys.


--- snip ---
# XEN
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PRIVCMD=y
CONFIG_XEN_DOMCTL=y
CONFIG_XEN_XENBUS_DEV=y
CONFIG_XEN_NETDEV_ACCEL_SFC_UTIL=m
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_BLKDEV_TAP=y
# CONFIG_XEN_BLKDEV_TAP2 is not set
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XEN_NETDEV_TX_SHIFT=8
# CONFIG_XEN_NETDEV_PIPELINED_TRANSMITTER is not set
CONFIG_XEN_NETDEV_LOOPBACK=m
CONFIG_XEN_PCIDEV_BACKEND=y
CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
# CONFIG_XEN_PCIDEV_BACKEND_PASS is not set
# CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
# CONFIG_XEN_PCIDEV_BE_DEBUG is not set
CONFIG_XEN_TPMDEV_BACKEND=m
CONFIG_XEN_SCSI_BACKEND=y
CONFIG_XEN_USB_BACKEND=m
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_NETDEV_ACCEL_SFC_FRONTEND=m
CONFIG_XEN_SCSI_FRONTEND=y
CONFIG_XEN_USB_FRONTEND=y
# CONFIG_XEN_USB_FRONTEND_HCD_STATS is not set
# CONFIG_XEN_USB_FRONTEND_HCD_PM is not set
CONFIG_XEN_GRANT_DEV=y
CONFIG_XEN_DISABLE_SERIAL=y
CONFIG_XEN_SYSFS=y
CONFIG_XEN_NR_GUEST_DEVICES=256
CONFIG_XEN_COMPAT_030002_AND_LATER=y
# CONFIG_XEN_COMPAT_030004_AND_LATER is not set
# CONFIG_XEN_COMPAT_030100_AND_LATER is not set
# CONFIG_XEN_COMPAT_030200_AND_LATER is not set
# CONFIG_XEN_COMPAT_030300_AND_LATER is not set
# CONFIG_XEN_COMPAT_030400_AND_LATER is not set
# CONFIG_XEN_COMPAT_040000_AND_LATER is not set
# CONFIG_XEN_COMPAT_040100_AND_LATER is not set
# CONFIG_XEN_COMPAT_LATEST_ONLY is not set
CONFIG_XEN_COMPAT=0x030002
CONFIG_XEN_SMPBOOT=y
CONFIG_XEN_DEVMEM=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
--- snap ---


you may "split" that into two kernels as described in the official Gentoo Xen 
howto.


> and how "xl" works as
> it's not a true drop-in-replacement for "xm".
This is true.

I mainly used

        xl help

for general overview and

        xl help <command> 

for a detailed description of each command here.

> Is "xend" still needed?
Yes (in Dom0).


cheers,


Niels.
-- 
---
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>