You need to sign in or sign up before continuing.
xml2sexpr-disk-block-shareable.xml 962 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<domain type='xen'>
  <name>pvtest</name>
  <uuid>49a0c6ffc066539264983632d093c2e7</uuid>
  <bootloader>/usr/bin/pygrub</bootloader>
  <os>
    <type>linux</type>
    <kernel>/var/lib/xen/boot_kernel.BCkYBN</kernel>
    <initrd>/var/lib/xen/boot_ramdisk.sjOK9_</initrd>
    <cmdline>ro root=/dev/VolGroup00/LogVol00</cmdline>
  </os>
  <currentMemory>393216</currentMemory>
  <memory>524288</memory>
  <vcpu>1</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <driver name='tap' type='aio'/>
      <source file='/var/lib/xen/images/rhel5pv.img'/>
      <target dev='xvda'/>
      <shareable/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:23:9e:eb'/>
      <source bridge='xenbr0'/>
      <script path='vif-bridge'/>
    </interface>
    <graphics type='vnc' port='-1' keymap='en-us'/>
    <console/>
  </devices>
</domain>