direct-io.hg

changeset 1864:dcfb8f179d72

bitkeeper revision 1.1108.1.9 (40ffc482ecTQvwco24bTny6XsTfKJg)

Update doc to reflect code changes.
author mjw@wray-m-3.hpl.hp.com
date Thu Jul 22 13:43:30 2004 +0000 (2004-07-22)
parents b5427b1bb6c1
children 9ba2ea718083
files docs/xen_config.html
line diff
     1.1 --- a/docs/xen_config.html	Thu Jul 22 13:42:39 2004 +0000
     1.2 +++ b/docs/xen_config.html	Thu Jul 22 13:43:30 2004 +0000
     1.3 @@ -1,15 +1,15 @@
     1.4  <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     1.5  <html>
     1.6  <head>
     1.7 -  <meta http-equiv="content-type"
     1.8 - content="text/html; charset=ISO-8859-1">
     1.9 +  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    1.10    <title>Xen Configuration Syntax</title>
    1.11  </head>
    1.12  <body>
    1.13  <center>
    1.14  <h1>Xen Configuration Syntax</h1>
    1.15  <br>
    1.16 -Version 0.1<br>2004 June 21<br>
    1.17 +<!-- Version 0.1<br>2004 June 21<br> -->
    1.18 +Version 0.2<br>2004 July 19<br>
    1.19  </center>
    1.20  
    1.21  <h1>Xen Configuration</h1>
    1.22 @@ -20,7 +20,7 @@ called SXP.
    1.23  
    1.24  The SXP syntax is s-expressions (sxprs), a simple bracketed abstract syntax.
    1.25  Python lists are used to represent its parsed form, with a support
    1.26 -api providing  access to fields and values (class xenmgr.sxp).
    1.27 +api providing  access to fields and values (class xen.xend.sxp).
    1.28  
    1.29  <h1>SXP syntax</h1>
    1.30  <p>A general s-expression has the syntax:
    1.31 @@ -59,11 +59,17 @@ The top-level element, a virtual machine
    1.32  <ul>
    1.33      <li>name: string, required. Domain name.
    1.34      <li>id: int, optional, default generated. Domain unique id.
    1.35 -    <li>memory: int, optional, default 128. Domain memory in MB.
    1.36 +    <li>memory: int, required. Domain memory in MB.
    1.37 +    <li>cpu: int, optional. Cpu to run on.
    1.38      <li>image: linux | netbsd | ..., required. Domain image (OS-specific element).
    1.39      <li>controller: any device controller type, optional, default none.
    1.40      <li>device: any device type, optional, repeats. Device.
    1.41 -    <li>auto-restart: bool, optional, default false. Auto-restart flag.
    1.42 +    <li>restart: string, optional, default onreboot. Restart mode, one of
    1.43 +        <ul><li>onreboot: restart the domain when it exits with code reboot.
    1.44 +            <li>always: always restart the domain when it exits.
    1.45 +            <li>never:  never restart the domain.
    1.46 +        </ul>
    1.47 +    <li>console: int, optional, default 9600 + domain id. Console port.
    1.48  </ul>
    1.49  
    1.50  <h2>(image (linux)) element</h2>
    1.51 @@ -98,13 +104,13 @@ The domain may not have virtual network 
    1.52  <h2>(device (vif)) element</h2>
    1.53  Defines a virtual network interface.
    1.54  <ul>
    1.55 -    <li>mac: string, optional, default generated. Interface MAC address.
    1.56 -    <li>quota info: optional. Subelements bytes and usecs.
    1.57 +    <li>mac: string, required. Interface MAC address.
    1.58      <li>bridge: string, optional, default system-dependent. Bridge to connect to.
    1.59 +    <li>script: string, optional, default system-dependent. Vif script to use
    1.60 +        when bringing the interface up or down.
    1.61 +    <li>ip: IP address, optional, no default. May be repeated. An IP address
    1.62 +    or CIDR-format subnet the vif may use.
    1.63  </ul>
    1.64 -A random MAC is assined is not specified.
    1.65 -The interface is connected to the system default bridge if no bridge
    1.66 -is specified.
    1.67  
    1.68  <h2>(device (vbd)) element</h2>
    1.69  Defines a virtual block device.
    1.70 @@ -135,14 +141,6 @@ Contains a list of vif elements:
    1.71    <li>vnet: id of vnet the vif is assigned to.
    1.72  </ul>
    1.73  
    1.74 -<h2>(vfr) element</h2>
    1.75 -Defines the ip addresses for vifs (may go away soon).
    1.76 -Contains a list of vif elements:
    1.77 -<ul>
    1.78 -  <li>id: vif index
    1.79 -  <li>ip: vif ip address
    1.80 -</ul>
    1.81 -
    1.82  <h1>Examples</h1>
    1.83  <p> A vm  with 64 MB memory, root on /dev/xda1 (mapped from /dev/hda1),
    1.84  one vif with default MAC.