/ libxml2 / test / relaxng / libvirt_0.xml
libvirt_0.xml
 1  <domain type='xen' id='6'>
 2    <name>pvtest</name>
 3    <uuid>596a5d2171f48fb2e068e2386a5c413e</uuid>
 4    <os>
 5      <type>linux</type>
 6      <kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
 7      <initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
 8      <cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os  </cmdline>
 9    </os>
10    <memory>430080</memory>
11    <vcpu>2</vcpu>
12    <on_poweroff>destroy</on_poweroff>
13    <on_reboot>destroy</on_reboot>
14    <on_crash>destroy</on_crash>
15    <devices>
16      <disk type='file' device='disk'>
17        <driver name='file'/>
18        <source file='/root/some.img'/>
19        <target dev='xvda'/>
20      </disk>
21      <graphics type='vnc' port='-1' autoport='yes' listen="127.0.0.1" passwd="123456" keymap="ja"/>
22    </devices>
23  </domain>