test-no-source-cdrom.xml 1.8 KB
Newer Older
1 2 3
<domain type='xen'>
  <name>test</name>
  <uuid>cc2315e7-d26a-307a-438c-6d188ec4c09c</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>391168</memory>
  <currentMemory unit='KiB'>358400</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7
  <os>
8
    <type arch='x86_64' machine='xenfv'>hvm</type>
9
    <loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
10 11 12 13 14 15 16
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
17
  <clock offset='variable' adjustment='0' basis='utc'/>
18 19 20 21
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
22
    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
23
    <disk type='block' device='disk'>
24
      <driver name='phy' type='raw'/>
25 26
      <source dev='/dev/sda8'/>
      <target dev='hda' bus='ide'/>
27
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
28 29
    </disk>
    <disk type='block' device='cdrom'>
30
      <driver name='phy' type='raw'/>
31 32
      <target dev='hdc' bus='ide'/>
      <readonly/>
33
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
34
    </disk>
35
    <controller type='xenbus' index='0'/>
36
    <controller type='ide' index='0'/>
37 38 39
    <interface type='bridge'>
      <mac address='00:16:3e:0a:7b:39'/>
      <source bridge='xenbr0'/>
40
      <script path='vif-bridge'/>
41
      <model type='e1000'/>
42 43 44 45 46
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
47
      <target type='serial' port='0'/>
48 49
    </console>
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
50
    <input type='keyboard' bus='ps2'/>
51 52 53
    <graphics type='vnc' port='-1' autoport='yes'>
      <listen type='address'/>
    </graphics>
J
Ján Tomko 已提交
54
    <video>
55
      <model type='cirrus' vram='8192' heads='1' primary='yes'/>
J
Ján Tomko 已提交
56
    </video>
57
    <memballoon model='xen'/>
58 59
  </devices>
</domain>