graphics-spice-timeout.xml 3.3 KB
Newer Older
1
<domain type='kvm'>
2 3
  <name>f14</name>
  <uuid>553effab-b5e1-2d80-dfe3-da4344826c43</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>1048576</memory>
  <currentMemory unit='KiB'>1048576</currentMemory>
6
  <vcpu placement='static'>2</vcpu>
7 8 9 10 11 12 13 14 15 16 17
  <os>
    <type arch='i686' machine='pc'>hvm</type>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
    <bootmenu enable='yes'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
18
  <cpu mode='custom' match='exact' check='partial'>
19 20 21 22
    <model fallback='allow'>core2duo</model>
    <vendor>Intel</vendor>
    <topology sockets='1' cores='2' threads='1'/>
    <feature policy='require' name='ds'/>
23 24 25 26 27 28 29 30 31 32 33 34
    <feature policy='require' name='acpi'/>
    <feature policy='require' name='ss'/>
    <feature policy='require' name='ht'/>
    <feature policy='require' name='tm'/>
    <feature policy='require' name='pbe'/>
    <feature policy='require' name='ds_cpl'/>
    <feature policy='require' name='vmx'/>
    <feature policy='require' name='est'/>
    <feature policy='require' name='tm2'/>
    <feature policy='require' name='cx16'/>
    <feature policy='require' name='xtpr'/>
    <feature policy='require' name='lahf_lm'/>
35 36 37 38 39 40
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
41
    <emulator>/usr/bin/qemu-system-i686</emulator>
42 43 44 45 46 47 48 49 50 51 52
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/lib/libvirt/images/f14.img'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
53
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
54 55 56 57 58 59 60
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </controller>
61 62 63
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
64
    <controller type='pci' index='0' model='pci-root'/>
65 66 67
    <interface type='ethernet'>
      <mac address='52:54:00:71:70:89'/>
      <script path='/etc/qemu-ifup'/>
68
      <model type='rtl8139'/>
69 70 71 72
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
73
    <input type='keyboard' bus='ps2'/>
74 75 76
    <graphics type='spice' port='5900' autoport='no' passwd='sercet' passwdValidTo='2011-05-31T16:11:22' connected='disconnect'>
      <listen type='address'/>
    </graphics>
77 78 79 80
    <sound model='ac97'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </sound>
    <video>
81
      <model type='vga' vram='16384' heads='1' primary='yes'/>
82 83 84 85 86 87 88
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>