sexpr2xml-fv-serial-udp.xml 1.6 KB
Newer Older
1 2 3
<domain type='xen' id='1'>
  <name>fvtest</name>
  <uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>409600</memory>
  <currentMemory unit='KiB'>409600</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7 8 9 10 11 12 13 14
  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
P
Philipp Hahn 已提交
15
  <clock offset='utc' adjustment='reset'/>
16 17 18
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
19 20 21 22 23
  <devices>
    <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/root/foo.img'/>
24
      <backingStore/>
25
      <target dev='hda' bus='ide'/>
26 27 28 29
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/root/boot.iso'/>
30
      <backingStore/>
31
      <target dev='hdc' bus='ide'/>
32 33
      <readonly/>
    </disk>
34 35 36
    <interface type='bridge'>
      <mac address='00:16:3e:1b:b1:47'/>
      <source bridge='xenbr0'/>
37
      <script path='vif-bridge'/>
38 39
      <target dev='vif1.0'/>
    </interface>
40 41
    <serial type='udp'>
      <source mode='bind' host='localhost' service='9999'/>
42
      <source mode='connect' host='localhost' service='9998'/>
43 44 45 46
      <target port='0'/>
    </serial>
    <console type='udp'>
      <source mode='bind' host='localhost' service='9999'/>
47
      <source mode='connect' host='localhost' service='9998'/>
48
      <target type='serial' port='0'/>
49
    </console>
50
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
51
    <input type='keyboard' bus='ps2'/>
52
    <graphics type='vnc' port='5901' autoport='no'/>
53 54
  </devices>
</domain>