Stephen C. Tweedie wrote:> I've been looking at the next steps to try to get Xen running fully on
> top of pv_ops. To that end, I've (just) started looking at one of the
> next major jobs --- i686 dom0 on pv_ops.
>
Great!
> There are still a number of things needing done to reach parity with
> xen-unstable:
>
> x86_64 xen on pv_ops
>
I think once pvops has been unified, Xen support should be fairly
straightforward. I wrote most of the existing code with 64-bit in mind,
so I'm hoping I got it right...
> Paravirt framebuffer/keyboard
> CPU hotplug
> Balloon
>
I've done some preliminary work on balloon and hotplug. I think balloon
should make more use of memory hotplug, but a straight port would be a
good first step.
> kexec
> driver domains
>
> but it looks like these can largely proceed in parallel if desired.
>
> My short-term goal with this is simply to come up with a first-pass
> merge of the linux-2.6.18-xen.hg dom0 support into the current
> kernel.org tree's pv_ops support. No major refactoring in the first
> pass, but absolutely no *-xen.c code copying.
>
Yes. #ifdefs are the way to go here.
> I'm just starting this, but at least with the version magic check (see
>
> http://lists.xensource.com/archives/html/xen-devel/2007-11/msg00601.html
>
I was just about to post a fix for this.
> ) out of the way, an SMP dom0 running pv_ops gets all the way through
> start_kernel() and into rest_init() before dying with an unsupported cr0
> write. (I'm using direct console hypercalls for printk for now, full
> xencons is not working yet.)
>
I have some early dom0 patches already, though they're a few months old
now. Not much there, but I did do an early console implementation.
> I'm happy to put up a git tree for this once it gets anywhere.
We'd
> need to decide which tree to track for that purpose --- Linus's, or
> perhaps the tglx or mingo x86 merge tree might make more sense.
>
Yes, I think the x86 tree is where we need to be, since there's a lot of
activity there.
I'll attach my dom0 patches for whatever use you can make of them. The
definitely won't apply to anything, not least because of the arch merge
(though it looks like they did get converted by script), but also
because they're based on some defunct experimental booting-from-bzImage
patches. But perhaps there's some useful stuff in there.
I've also attached my xen-balloon and hotplug patches as-is. They don't
work completely, but they should be closer to applying.
J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-dom0-boot.patch
Type: text/x-patch
Size: 6090 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-dom0-boot-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-dom0-xenbus.patch
Type: text/x-patch
Size: 1584 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-dom0-xenbus-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-dom0-ide.patch
Type: text/x-patch
Size: 2507 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-dom0-ide-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-dom0-console.patch
Type: text/x-patch
Size: 3840 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-dom0-console-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-dom0-set_fixmap.patch
Type: text/x-patch
Size: 7189 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-dom0-set_fixmap-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-signature-check.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-signature-check-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-balloon.patch
Type: text/x-patch
Size: 25580 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-balloon-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-cpu-hotplug.patch
Type: text/x-patch
Size: 7208 bytes
Desc: not available
Url :
http://lists.linux-foundation.org/pipermail/virtualization/attachments/20071121/65286c45/xen-cpu-hotplug-0001.bin