On Thu, 2008-01-10 at 00:59 +0100, maximilian attems wrote:
> On Wed, Jan 09, 2008 at 09:58:45PM +0000, Ian Campbell wrote:
> <snipp d-i side>
> > I'd like to propose enabling Xen guest support in all the native i?86
> > kernel images (and eventually amd64 too), or at least in the -686-bigmem
> > kernel. Since paravirt ops is already enabled in all kernels (for KVM
> > and lguest) there is only minimal additional overhead to enabling Xen.
> > 
> > As a nice bonus this would also allow the separate -xen flavour kernels
> > to be removed/deprecated which seems like a good thing in the
> > paravirt_ops based world.
> 
> this sounds like a good plan, getting rid of the number of images
> is always a welcome bonus.

I have build tested the attached patch and test booted the -486 and 
-686-bigmem versions on native.

Unfortunately the Xen domain builder isn't capable of loading a native
bzImage directly -- it requires the ELF vmlinux. I hacked
around that when I was playing with Xen enabled d-i and
then promptly forgot I had done so, which is a shame because it's quite
important! For now I grabbed the 686-bigmem vmlinux from the build tree
and boot tested that.

People were looking at modifications to the kernel and/or the Xen
domain builder to allow it to boot a bzImage, I think by making the
bzImage payload be an ELF file instead of the current raw binary blob.
I'll see what is going on in that area.

I don't think there is any harm in applying the patch now, although
without a patch for builder support it's a bit pointless.

> i know that fedora also is very keen to move to the paravirt_ops world.
> for Etch linux-2.6 had dom0 images, when will those be merged,
> where are the patches based on paravirt ops against 2.6.24?
> we wouldn't want to release Lenny without the support we had given
> in Etch (which turned out to be *very* buggy, but that is another
> story) of a dom0 linux-2.6 linux-image variant.

The Fedora guys announced that they were working on dom0 paravirt_ops
stuff at the end of last year [0]. I must admit I haven't really been
keeping up with their efforts though.

I had a dig around and didn't see anything further to what was
announced. They were targeting Fedora 9. According to [1] feature freeze
is start of March so I'd presume they plan to have patches before then.

[0] https://www.redhat.com/archives/fedora-xen/2007-November/msg00106.html
[1] http://fedoraproject.org/wiki/Releases/9

Cheers,
Ian.
-- 
Ian Campbell

From the cradle to the coffin underwear comes first.
                -- Bertolt Brecht
Index: linux-2.6/debian/config/i386/config
===================================================================
--- linux-2.6.orig/debian/config/i386/config	2008-01-10 19:05:40.000000000 +0000
+++ linux-2.6/debian/config/i386/config	2008-01-10 19:06:19.000000000 +0000
@@ -1483,7 +1483,10 @@
 CONFIG_KS0108_DELAY=2
 CONFIG_CFAG12864B=m
 CONFIG_CFAG12864B_RATE=20
-# CONFIG_XEN is not set
+CONFIG_XEN=y
+CONFIG_XEN_BLKDEV_FRONTEND=y
+CONFIG_HVC_XEN=y
+CONFIG_XEN_NETDEV_FRONTEND=y
 CONFIG_VMI=y
 CONFIG_PARAVIRT=y
 CONFIG_PARAVIRT_GUEST=y
Index: linux-2.6/debian/changelog
===================================================================
--- linux-2.6.orig/debian/changelog	2008-01-10 19:05:40.000000000 +0000
+++ linux-2.6/debian/changelog	2008-01-10 19:06:19.000000000 +0000
@@ -63,6 +63,9 @@
   [ Christian T. Steigies ]
   * [m68k]: Update patches from linux-m68k CVS
 
+  [ Ian Campbell ]
+  * [i386]: Enable Xen guest support in all i386 flavours.
+
  -- maximilian attems <[EMAIL PROTECTED]>  Wed, 09 Jan 2008 17:17:56 +0100
 
 linux-2.6 (2.6.23-1~experimental.1) UNRELEASED; urgency=low

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

Reply via email to