xml2sexpr-no-source-cdrom.xml 928 字节
Newer Older
1 2 3 4 5 6 7 8
<domain type='xen' id='6'>
  <name>test</name>
  <uuid>cc2315e7d26a307a438c6d188ec4c09c</uuid>
  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
E
Eric Blake 已提交
9 10
  <memory unit='KiB'>391168</memory>
  <currentMemory unit='KiB'>358400</currentMemory>
11 12 13 14 15 16 17 18 19 20 21 22 23
  <vcpu>1</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <interface type='ethernet'>
      <mac address='00:16:3e:0a:7b:39'/>
24
      <model type='e1000'/>
25 26 27 28
    </interface>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/sda8'/>
29
      <target dev='hda'/>
30 31 32 33 34 35 36 37
    </disk>
    <disk device='cdrom'>
      <target dev='hdc'/>
      <readonly/>
    </disk>
    <graphics type='vnc' port='5906'/>
  </devices>
</domain>