32-on-64 work progress
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Gerd Hoffmann <[email protected]> 10/11/06 11:11 AM >>>
Quoted 6 lines
In an attempt to get some feedback on the ways I'm currently implementing this, I'm sending the set of patches as I currently have them. These permit a 32-bit PAE Linux dom0 kernel to come up on a 64-bit hypervisor, but progress only goes this far currently (very early during invocation of the first user mode code page table permissions aren't set correctly yet, making Xen kill the guest).
Quoted 8 lines
Do you have any plans how domU bootup is going to work? Especially how hypercalls where one domain (typically dom0) changes the state of another domain are supposed to work? That includes the complete XEN_DOMCTL_* family, also some memory management hypercalls such as mach2phys and pagetable updates, maybe more. These are used by the domain tools to create a new domain and somehow must handle the case that we want be able to build 32bit guest domains from a 64bit dom0 (and visa versa?).
I didn't spend thoughts on the tools side - Emmanuel was expected to work from that side I think. surely what you say needs to be considered (and for the part of those hypercalls already implemented should already be, minus any bugs or oversights)
Jan
Hi,
Quoted 4 lines
I didn't spend thoughts on the tools side - Emmanuel was expected to work from that side I think. surely what you say needs to be considered (and for the part of those hypercalls already implemented should already be, minus any bugs or oversights)
How do they work? Using the native version of dom0 (as suggested by Keir) for those hypercalls where it is possible? How do you handle setvcpucontest, where the 64bit struct isn't a superset of the 32bit version? I think for at least that one, maybe also others, we have to pass compat structs through native hypercalls. And maybe also visa versa, so you can boot 64bit guests when running 32bit dom0 (within some limits of course ...).
My current stack of patches (which also includes some other bits) is here:
http://www.suse.de/~kraxel/patches/kraxel-unstable-zweiblum-hg11751-quilt/
Alot of the domain builder code can handle non-native guests already, the hypercalls which actually boot the domain are still missing though.
cheers,
Gerd
Signature · 2 lines
Gerd Hoffmann <[email protected]> http://www.suse.de/~kraxel/julika-dora.jpeg