vmkload_mod

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
VMnix  

NAME

vmkload_mod - VMkernel module loader  

SYNOPSIS

vmkload_mod OPTIONS MODULE-BINARY PARAMETERS  

COPYRIGHT

VMware ESX is Copyright 1998-2009 VMware, Inc. All rights reserved.  

DESCRIPTION

vmkload_mod is a program that is used to load modules into the VMkernel. vmkload_mod can also be used to unload a module, list the loaded modules, and list the available parameters for each module. The MODULE-BINARY part of the command line is required when a module is loaded. The PARAMETERS part of the command line is optional and only makes sense to use when a module is being loaded.

 

OPTIONS


-b
--brief

    List out the current modules that are loaded. Show only basic
    information.

-e
--exportsym

    Export all global symbols from this module (i.e. any function or
    variable not marked static).  This will allow other modules to use
    exported functions and variables from the loaded module.  If you
    use this option, the module will have to be written such that
    symbols are in a separate namespace to avoid conflicts.

-h
--help

    Print out a short help message.

-l
--list

    List out the current modules that are loaded.

-m ALIAS
--mod-name ALIAS

    Load the module named as the given alias, rather than using the
    default base filename.

-s
--showinfo

    List general module information, including all available module
    parameters that can be specified in the PARAMETER section of the
    command line.

-u MODULE-NAME
--unload MODULE-NAME

    Unload the named module.

-v <0-10>
--verbose <0-10>

    Enable debug logging.  Larger values generate more logging.

 

PARAMETERS

Modules can specify parameters that can be set on the command line. A list of these parameters is shown via the --showinfo option. In order to set one of these parameters, a name-value pair must be specified at the end of the command line. The syntax is of the form name=value. Any number of parameters can be specified. Quotes may be placed around values which contain spaces (but must be escaped from the shell).

 

EXAMPLES

vmkload_mod /usr/lib/vmware/vmkmod/e100.o debug=5


   loads the module /usr/lib/vmware/vmkmod/e100.o into the VMkernel.  
   The module parameter debug will be set to the value 5.

vmkload_mod -m cosShadow tcpip2 cosShadow=\"1\"


   finds the tcpip2 module in the default paths and loads it with the
   name cosShadow.  The module parameter cosShadow will be set
   to the value 1.

vmkload_mod --exportsym /usr/lib/vmware/vmkmod/vmklinux


   loads the module /usr/lib/vmware/vmkmod/vmklinux into the VMkernel.
   All exported symbols from this module will be available to other 
   modules that are subsequently loaded.  The vmklinux module is the 
   module that allows Linux device drivers to run in the VMkernel so 
   it is one of the few modules for which the --exportsym option makes 
   sense.


 

Index

NAME
SYNOPSIS
COPYRIGHT
DESCRIPTION
OPTIONS
PARAMETERS
EXAMPLES

This document was created by man2html, using the manual pages. Brought to you by Bouke Groenescheij, www.jume.nl
Time: 15:25:41 GMT, May 26, 2009