sexpr2xml-net-e1000.xml 1.2 KB
Newer Older
1 2 3
<domain type='xen' id='6'>
  <name>pvtest</name>
  <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
    <interface type='bridge'>
25
      <mac address='00:11:22:33:44:55'/>
26
      <source bridge='xenbr2'/>
27
      <script path='vif-bridge'/>
28 29 30 31
      <target dev='vif6.0'/>
      <model type='e1000'/>
    </interface>
    <console type='pty'>
32
      <target type='xen' port='0'/>
33
    </console>
P
Pavel Hrdina 已提交
34 35
    <input type='mouse' bus='xen'/>
    <input type='keyboard' bus='xen'/>
36
    <memballoon model='xen'/>
37 38
  </devices>
</domain>