direct-io.hg

changeset 12498:e2d593dd1689

A small fix to the documentation to reflect recent changes to the
'cfgbootpolicy' command.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Nov 21 10:21:00 2006 +0000 (2006-11-21)
parents bc14f1e1961a
children 00ed59a6f043
files tools/python/xen/xm/cfgbootpolicy.py tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/cfgbootpolicy.py	Tue Nov 21 10:19:01 2006 +0000
     1.2 +++ b/tools/python/xen/xm/cfgbootpolicy.py	Tue Nov 21 10:21:00 2006 +0000
     1.3 @@ -37,7 +37,7 @@ def help():
     1.4      return """
     1.5      Adds a 'module' line to the Xen grub configuration file entry
     1.6      so that Xen boots with a specific access control policy. If
     1.7 -    kernelversion is not given, then this script tries to determine
     1.8 +    boot-title is not given, then this script tries to determine
     1.9      it by looking for a title starting with \"XEN\". If there are
    1.10      multiple entries matching, then it must be called with the unique
    1.11      beginning of the title's name.\n"""
    1.12 @@ -57,7 +57,7 @@ def strip_title(line):
    1.13  def insert_policy(boot_file, alt_boot_file, user_title, policy_name):
    1.14      """
    1.15      inserts policy binary file as last line of the grub entry
    1.16 -    matching the kernel_version version
    1.17 +    matching the user_title or default title
    1.18      """
    1.19      if user_title:
    1.20          #replace "(" by "\(" and ")" by "\)" for matching
     2.1 --- a/tools/python/xen/xm/main.py	Tue Nov 21 10:19:01 2006 +0000
     2.2 +++ b/tools/python/xen/xm/main.py	Tue Nov 21 10:21:00 2006 +0000
     2.3 @@ -158,7 +158,7 @@ SUBCOMMAND_HELP = {
     2.4      'dry-run'       :  ('<ConfigFile>',
     2.5                          'Test if a domain can access its resources.'),
     2.6      'resources'     :  ('', 'Show info for each labeled resource.'),
     2.7 -    'cfgbootpolicy' :  ('<policy> [kernelversion]',
     2.8 +    'cfgbootpolicy' :  ('<policy> [boot-title]',
     2.9                          'Add policy to boot configuration.'),
    2.10      'dumppolicy'    :  ('', 'Print hypervisor ACM state information.'),
    2.11      'loadpolicy'    :  ('<policy.bin>', 'Load binary policy into hypervisor.'),