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

[Xen-changelog] [xen-unstable] A small fix to the documentation to reflect recent changes to the



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID e2d593dd1689f448329302868c2e64934e176236
# Parent  bc14f1e1961abe28911dd043605e808ad98cc0c2
A small fix to the documentation to reflect recent changes to the
'cfgbootpolicy' command.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/python/xen/xm/cfgbootpolicy.py |    4 ++--
 tools/python/xen/xm/main.py          |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r bc14f1e1961a -r e2d593dd1689 tools/python/xen/xm/cfgbootpolicy.py
--- a/tools/python/xen/xm/cfgbootpolicy.py      Tue Nov 21 10:19:01 2006 +0000
+++ b/tools/python/xen/xm/cfgbootpolicy.py      Tue Nov 21 10:21:00 2006 +0000
@@ -37,7 +37,7 @@ def help():
     return """
     Adds a 'module' line to the Xen grub configuration file entry
     so that Xen boots with a specific access control policy. If
-    kernelversion is not given, then this script tries to determine
+    boot-title is not given, then this script tries to determine
     it by looking for a title starting with \"XEN\". If there are
     multiple entries matching, then it must be called with the unique
     beginning of the title's name.\n"""
@@ -57,7 +57,7 @@ def insert_policy(boot_file, alt_boot_fi
 def insert_policy(boot_file, alt_boot_file, user_title, policy_name):
     """
     inserts policy binary file as last line of the grub entry
-    matching the kernel_version version
+    matching the user_title or default title
     """
     if user_title:
         #replace "(" by "\(" and ")" by "\)" for matching
diff -r bc14f1e1961a -r e2d593dd1689 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Tue Nov 21 10:19:01 2006 +0000
+++ b/tools/python/xen/xm/main.py       Tue Nov 21 10:21:00 2006 +0000
@@ -158,7 +158,7 @@ SUBCOMMAND_HELP = {
     'dry-run'       :  ('<ConfigFile>',
                         'Test if a domain can access its resources.'),
     'resources'     :  ('', 'Show info for each labeled resource.'),
-    'cfgbootpolicy' :  ('<policy> [kernelversion]',
+    'cfgbootpolicy' :  ('<policy> [boot-title]',
                         'Add policy to boot configuration.'),
     'dumppolicy'    :  ('', 'Print hypervisor ACM state information.'),
     'loadpolicy'    :  ('<policy.bin>', 'Load binary policy into hypervisor.'),

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.