Skip to contentSkip to conversation

tools/init-xenstore-domain: fix description of --param

PATCH In review Olaf Hering 2 participants 2 messages Apr 23, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/init-xenstore-domain: fix description of --param

The string is for the binary within the domain, not for the domain itself.

Fixes commit 83c365e6395f39c7ff91785b400682173d5e5d04

---
 tools/helpers/init-xenstore-domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/helpers/init-xenstore-domain.c +1 -1
index 6836002f0b..8543a5efd6 100644
@@ -58,7 +58,7 @@ static void usage(void)
 "  --memory <memory size>     size of the domain in MB, mandatory\n"
 "  --flask <flask-label>      optional flask label of the domain\n"
 "  --ramdisk <ramdisk-file>   optional ramdisk file for the domain\n"
-"  --param <cmdline>          optional additional parameters for the domain\n"
+"  --param <cmdline>          optional additional parameters for xenstored\n"
 "  --name <name>              name of the domain (default: Xenstore)\n"
 "  --maxmem <max size>        maximum memory size in the format:\n"
 "                             <MB val>|<a>/<b>|<MB val>:<a>/<b>\n"
#1 lore raw
Quoted 1 line · Olaf Hering

The string is for the binary within the domain, not for the domain itself.

Sorry, that is not true.

Just because the Mini-OS based xenstore stubdom doesn't need any other parameters but the xenstore ones doesn't mean that this is true for all possible xenstore domains.

The parameters passed via --params are just passed on to the domain. How the domain is filtering out parameters not meant for xenstore is not relevant here.

Juergen