> bootadm give me an error if I try to put the options in the module line:
> 
> bash-3.2# bootadm set-menu default=6
> bootadm: module command on line 60 not recognized.
> 
> while give no errors if I put those options in kernel line.

Yep, I've noticed such a problem, too.

I think a bug for this problem has already been filed:
6744273 Unable to bootadm set-menu default to xVM: "module command on line <x> 
not recognized"
http://bugs.opensolaris.org/view_bug.do?bug_id=6744273


http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/boot/bootadm/bootadm.c#module_parser

   2646             strcmp(arg, XEN_KERNEL_MODULE_LINE) == 0 ||
   2647             strcmp(arg, XEN_KERNEL_MODULE_LINE_ZFS) == 0) {

This should probably use strstr() or strncmp() to detect the
module$ lines containing the xvm / xen dom0 kernel
-- 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to