test-fullvirt-usbmouse.xml 1.4 KB
Newer Older
1 2
<domain type='xen'>
  <name>XenGuest2</name>
3
  <uuid>c7a5fdb2-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
  <os>
8
    <type arch='i686' machine='xenfv'>hvm</type>
9 10 11 12 13 14
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/>
    <apic/>
15
    <pae/>
16
  </features>
P
Philipp Hahn 已提交
17
  <clock offset='utc' adjustment='reset'/>
18 19 20
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
21 22 23 24 25
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/HostVG/XenGuest2'/>
26
      <target dev='hda' bus='ide'/>
27 28 29 30
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/root/boot.iso'/>
31
      <target dev='hdc' bus='ide'/>
32 33 34
      <readonly/>
    </disk>
    <interface type='bridge'>
35
      <mac address='00:16:3e:66:92:9c'/>
36
      <source bridge='xenbr1'/>
37
      <script path='vif-bridge'/>
38
      <model type='e1000'/>
39 40 41
    </interface>
    <input type='mouse' bus='usb'/>
    <input type='mouse' bus='ps2'/>
42 43 44
    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
45 46
  </devices>
</domain>