test-paravirt-net-vifname.xml 1.3 KB
Newer Older
1 2 3
<domain type='xen'>
  <name>XenGuest1</name>
  <uuid>c7a5fdb0-cdaf-9455-926a-d65c16db1809</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>592896</memory>
  <currentMemory unit='KiB'>403456</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7 8 9 10
  <bootloader>/usr/bin/pygrub</bootloader>
  <os>
    <type arch='i686' machine='xenpv'>linux</type>
  </os>
P
Philipp Hahn 已提交
11
  <clock offset='utc' adjustment='reset'/>
12 13 14 15 16 17 18 19 20 21 22 23
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/HostVG/XenGuest1'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:66:94:9c'/>
      <source bridge='br0'/>
24
      <script path='vif-bridge'/>
25 26 27 28
      <target dev='net0'/>
      <model type='e1000'/>
    </interface>
    <console type='pty'>
29
      <target type='xen' port='0'/>
30 31
    </console>
    <input type='mouse' bus='xen'/>
L
Li Zhang 已提交
32
    <input type='keyboard' bus='xen'/>
33 34 35
    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
J
Ján Tomko 已提交
36 37 38
    <video>
      <model type='xen' heads='1' primary='yes'/>
    </video>
39
    <memballoon model='xen'/>
40 41
  </devices>
</domain>