sexpr2xml-pv-vfb-type-crash.xml 1.0 KB
Newer Older
1 2 3
<domain type='xen' id='1'>
  <name>test2vm</name>
  <uuid>a36f6e38-f498-b06c-5fad-b04947392dbe</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7 8 9 10
  <bootloader>/usr/bin/pygrub</bootloader>
  <os>
    <type>linux</type>
  </os>
P
Philipp Hahn 已提交
11
  <clock offset='utc' adjustment='reset'/>
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/vg_dom0test/test2vm'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:36:68:9f:5d'/>
      <source bridge='virbr0'/>
      <script path='/etc/xen/scripts/vif-bridge'/>
      <target dev='vif1.0'/>
    </interface>
    <console type='pty'>
29
      <target type='xen' port='0'/>
30 31 32 33 34
    </console>
    <input type='mouse' bus='xen'/>
    <graphics type='vnc' port='-1' autoport='yes'/>
  </devices>
</domain>