Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: boot.cfg



On Thu, Sep 18, 2008 at 6:35 AM, Robert Swindells <rjs%fdy2.demon.co.uk@localhost> wrote:

The syntax of the command line matches what Xen can handle, it looks
for " -- " and either sends anything after this or any explicit module
argument to the dom0.

It would be simple to set the mmo_string field of the multiboot_module
struct to something in boot(8), but I would prefer not to do this unless
an equivalent field was added to bi_modulelist entry.


Is this multiboot syntax generic enough to load initrd.img+vmlinuz as well?  Or is this specific to Xen?
If it is Xen specific it seems like boot(8) could be taught to reassemble the arguments into Xen's preferred format so that
boot.cfg could have more human friendly syntax.  Also shouldn't using "load" be enough for boot(8) to know that modules should be enabled?

Examples:
menu=Boot Xen:
    load /netbsd-DOM0 bootdev=wd0a ro console=pc
    multiboot xen.gz dom0_mem=65536 console=vga

versus:
menu=Boot Xen:modules enabled;load /netbsd.dom0;multiboot xen.gz dom0_mem=65536 console=vga -- bootdev=wd0a ro console=pc

-Andrew


Home | Main Index | Thread Index | Old Index