|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3] xen: Allow a default compiled-in command line using Kconfig
Hi Jan, On 03/07/2017 02:18 PM, Jan Beulich wrote: On 07.03.17 at 14:48, <julien.grall@xxxxxxx> wrote:On 03/07/2017 12:52 PM, Jan Beulich wrote:On 07.03.17 at 12:21, <blackskygg@xxxxxxxxx> wrote:2017-03-07 17:36 GMT+08:00 Jan Beulich <JBeulich@xxxxxxxx>:On 07.03.17 at 09:34, <blackskygg@xxxxxxxxx> wrote: My knowledge is quite limited on boot process for x86. How do you pass the kernel/initrd/xsm blob on UEFI? Can you do it from the command line or are you using the -cfg=... and specify it in a file?
On ARM we have two way to boot Xen:
- Using UEFI bootloader with either Device-Tree or ACPI
- Using non-UEFI bootloader with Device-Tree only
In the case of UEFI bootloader, we are using the xen configuration file
to describe the modules (e.g kernel, initramfs, XSM) and the both xen
and DOM0 command line.
For non-UEFI bootloader, we have designed the boot protocol based on the device-tree and will allows you to specify both xen and DOM0 and all the modules (see [1]). The bootloader needs to be able to modify the device-tree (such via a shell like on U-boot) or the user needs to modify the device-tree before hand. To answer your question, a bootloader supporting only a single line would still need to be modified to provide the various modules. At that stage, adding DOM0 command line is very easy. Now, if you tell me that all the modules can be described on the UEFI command line, then I think handling '--' would be nice. If not, I don't think it is worth it. Cheers, [1] http://xenbits.xen.org/docs/unstable/misc/arm/device-tree/booting.txt -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |