Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: root= vs. boodev=
On Sun, Jun 17, 2007 at 10:42:19PM +0200, Pavel Cahyna wrote:
> > it's 'bootdev='
>
> our multiboot support also uses root= . Could NetBSD/Xen support this for
> consistency?
Yes, it's easy:
--- xen_machdep.c 22 Jan 2006 20:15:51 -0000 1.16
+++ xen_machdep.c 18 Jun 2007 14:34:10 -0000
@@ -187,7 +187,8 @@
switch (what) {
case XEN_PARSE_BOOTDEV:
- if (strncasecmp(opt, "bootdev=", 8) == 0)
+ if (strncasecmp(opt, "bootdev=", 8) == 0 ||
+ strncasecmp(opt, "root=", 5) == 0)
strncpy(xcp->xcp_bootdev, opt + 8,
sizeof(xcp->xcp_bootdev));
break;
--
Manuel Bouyer, LIP6, Universite Paris VI.
Manuel.Bouyer%lip6.fr@localhost
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index