xml2sexpr-curmem.xml 664 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<domain type='xen' id='5'>
  <name>rhel5</name>
  <uuid>4f77abd2301958e83bab6fbf2118f880</uuid>
  <bootloader>/usr/bin/pygrub</bootloader>
  <memory>394240</memory>
  <currentMemory>179200</currentMemory>
  <vcpu>1</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <interface type='bridge'>
      <source bridge='xenbr0'/>
      <mac address='00:16:3e:1d:06:15'/>
      <script path='vif-bridge'/>
    </interface>
    <disk type='file' device='disk'>
      <driver name='tap' type='aio'/>
      <source file='/xen/rhel5.img'/>
20
      <target dev='xvda'/>
21 22 23
    </disk>
  </devices>
</domain>