"H. Peter Anvin" <hpa@xxxxxxxxx> writes: > Rusty Russell wrote: >> >> BTW, wrt. a new "platform type" field, should it go something like this? >> >> -0235/3 N/A pad2 Unused >> +0235/1 2.07+ platform_type Runtime platform (see below) >> +0236/2 N/A pad2 Unused >> ... >> + platform_type: >> + For kernels which can boot on multiple platforms. Currently >> + 0 == native (normal), 1 == lguest (paravirtualized). >> > > Well, yes, but we need to think about if there is more things that > should be added. There *definitely* should be space for a platform data > pointer, to start out with. I would also like to see a platform data > field, as well as a bootloader extension field (we're going to have that > problem soon enough.) Well in the paravirt case since we are starting virtually mapped if we don't start with vmlinux but bzImage we need to define what that virtual address space should contain, and where in the address space it is safe to put those page tables. Of the requirements I have heard so far that is the trickiest one. Because it basically requires us to have a reasonable worst case estimate of how much memory we are going to use before we start using the bootmem allocator. Eric _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization