sexpr2xml-net-routed.xml 1.2 KB
Newer Older
1 2
<domain type='xen' id='6'>
  <name>pvtest</name>
3
  <uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>430080</memory>
  <currentMemory unit='KiB'>430080</currentMemory>
6
  <vcpu placement='static'>2</vcpu>
7 8 9 10 11 12
  <os>
    <type>linux</type>
    <kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
    <initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
    <cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os  </cmdline>
  </os>
P
Philipp Hahn 已提交
13
  <clock offset='utc' adjustment='reset'/>
14 15 16 17 18
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
19
      <driver name='file' type='raw'/>
20
      <source file='/root/some.img'/>
21
      <target dev='xvda' bus='xen'/>
22
    </disk>
23
    <controller type='xenbus' index='0'/>
24 25
    <interface type='ethernet'>
      <mac address='00:11:22:33:44:55'/>
26
      <ip address='172.14.5.6' family='ipv4'/>
27
      <script path='vif-routed'/>
28
      <target dev='vif6.0'/>
29
    </interface>
30
    <console type='pty'>
31
      <target type='xen' port='0'/>
32
    </console>
P
Pavel Hrdina 已提交
33 34
    <input type='mouse' bus='xen'/>
    <input type='keyboard' bus='xen'/>
35
    <memballoon model='xen'/>
36 37
  </devices>
</domain>