sexpr2xml-fv-serial-pipe.xml 1.7 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
  <os>
    <type>hvm</type>
9
    <loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
10 11 12 13 14
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
15
  <clock offset='variable' adjustment='0' basis='utc'/>
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
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
27 28 29 30
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/root/boot.iso'/>
31
      <backingStore/>
32
      <target dev='hdc' bus='ide'/>
33
      <readonly/>
34
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
35
    </disk>
36
    <controller type='ide' index='0'/>
37 38 39
    <interface type='bridge'>
      <mac address='00:16:3e:1b:b1:47'/>
      <source bridge='xenbr0'/>
40
      <script path='vif-bridge'/>
41 42
      <target dev='vif1.0'/>
    </interface>
43 44 45 46 47 48
    <serial type='pipe'>
      <source path='/tmp/serial.pipe'/>
      <target port='0'/>
    </serial>
    <console type='pipe'>
      <source path='/tmp/serial.pipe'/>
49
      <target type='serial' port='0'/>
50
    </console>
51
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
52
    <input type='keyboard' bus='ps2'/>
53
    <graphics type='vnc' port='-1' autoport='yes'/>
54
    <memballoon model='xen'/>
55 56
  </devices>
</domain>