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

Re: [Xen-devel] Xen Paravirt

To: Chuck Short <zulcss@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen Paravirt
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 18 Jul 2007 16:46:32 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Jul 2007 16:45:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <27c823430707181545y2e906307rfd88bd81ee9d4274@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <27c823430707181545y2e906307rfd88bd81ee9d4274@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (X11/20070615)
Chuck Short wrote:
> Hi,
>
> So that Xen paravirt ops has made it upstream what is needed in order
> to use it?
>
> Any pointers would be much appreciated.

Hm, I should prepare a documentation patch.

If you build the kernel with CONFIG_PARAVIRT=y, CONFIG_XEN=y and enable
the Xen console, block and net devices (they will default =y), then you
should be able to use the resulting kernel with an existing Xen
installation (it will also boot native).  Unfortunately you can't use
the same actual kernel image file in both cases, but you can use the
same modules.

To boot native: boot the bzImage file as usual.

To boot under Xen, use the vmlinux file as your kernel image (you can
strip and gzip it if you wish).

The console is hvc0, so you may need to pass console=hvc0 in your Xen
config.

Similarly, the blockfront device is /dev/xvd[abc...][123...]; you'll
probably need to pass the appropriate root= kernel command line option. 
It does not support stealing the hdX or sdX names, so that part of the
Xen config will be ignored.

Netfront appears as ethX as usual.

The kernel does not support balloon or suspend/migrate/resume yet, so
that won't work.  You should be able to cleanly shutdown/reboot the
domain via xm.

Tell me how it goes!

    J

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

<Prev in Thread] Current Thread [Next in Thread>