Advertisement
Guest User

libvirt domain XML -- windows guest

a guest
Feb 4th, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. <!--
  2. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  3. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  4. virsh edit win7
  5. or other application using the libvirt API.
  6. -->
  7.  
  8. <domain type='kvm'>
  9. <name>win7</name>
  10. <uuid>0fcfa03d-2e13-4478-95f6-2ebf256903bc</uuid>
  11. <memory unit='KiB'>1228800</memory>
  12. <currentMemory unit='KiB'>568320</currentMemory>
  13. <vcpu placement='static' current='1'>2</vcpu>
  14. <os>
  15. <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
  16. <boot dev='hd'/>
  17. </os>
  18. <features>
  19. <acpi/>
  20. <apic/>
  21. <pae/>
  22. </features>
  23. <cpu mode='custom' match='exact'>
  24. <model fallback='allow'>Opteron_G2</model>
  25. </cpu>
  26. <clock offset='localtime'>
  27. <timer name='rtc' tickpolicy='catchup'/>
  28. <timer name='pit' tickpolicy='delay'/>
  29. <timer name='hpet' present='no'/>
  30. </clock>
  31. <on_poweroff>destroy</on_poweroff>
  32. <on_reboot>restart</on_reboot>
  33. <on_crash>restart</on_crash>
  34. <pm>
  35. <suspend-to-mem enabled='no'/>
  36. <suspend-to-disk enabled='no'/>
  37. </pm>
  38. <devices>
  39. <emulator>/usr/bin/kvm</emulator>
  40. <disk type='file' device='disk'>
  41. <driver name='qemu' type='qcow2'/>
  42. <source file='/var/lib/libvirt/images/win7.qcow2'/>
  43. <target dev='hdc' bus='ide'/>
  44. <address type='drive' controller='0' bus='1' target='0' unit='0'/>
  45. </disk>
  46. <disk type='file' device='cdrom'>
  47. <driver name='qemu' type='raw'/>
  48. <source file='/home/john/qemu-drivers/spice-guest-tools-0.74.iso'/>
  49. <target dev='hdd' bus='ide'/>
  50. <readonly/>
  51. <address type='drive' controller='0' bus='1' target='0' unit='1'/>
  52. </disk>
  53. <controller type='usb' index='0' model='ich9-ehci1'>
  54. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
  55. </controller>
  56. <controller type='usb' index='0' model='ich9-uhci1'>
  57. <master startport='0'/>
  58. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
  59. </controller>
  60. <controller type='usb' index='0' model='ich9-uhci2'>
  61. <master startport='2'/>
  62. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
  63. </controller>
  64. <controller type='usb' index='0' model='ich9-uhci3'>
  65. <master startport='4'/>
  66. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
  67. </controller>
  68. <controller type='pci' index='0' model='pci-root'/>
  69. <controller type='ide' index='0'>
  70. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  71. </controller>
  72. <controller type='virtio-serial' index='0'>
  73. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  74. </controller>
  75. <interface type='network'>
  76. <mac address='52:54:00:c5:b4:4e'/>
  77. <source network='default'/>
  78. <model type='virtio'/>
  79. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  80. </interface>
  81. <serial type='pty'>
  82. <target port='0'/>
  83. </serial>
  84. <console type='pty'>
  85. <target type='serial' port='0'/>
  86. </console>
  87. <channel type='spiceport'>
  88. <source channel='org.spice-space.webdav.0'/>
  89. <target type='virtio' name='org.spice-space.webdav.0'/>
  90. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  91. </channel>
  92. <channel type='spicevmc'>
  93. <target type='virtio' name='com.redhat.spice.0'/>
  94. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  95. </channel>
  96. <input type='tablet' bus='usb'/>
  97. <input type='mouse' bus='ps2'/>
  98. <input type='keyboard' bus='ps2'/>
  99. <graphics type='spice' autoport='yes' listen='127.0.0.1'>
  100. <listen type='address' address='127.0.0.1'/>
  101. </graphics>
  102. <sound model='ich6'>
  103. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  104. </sound>
  105. <video>
  106. <model type='qxl' ram='65536' vram='65536' heads='1'/>
  107. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  108. </video>
  109. <redirdev bus='usb' type='spicevmc'>
  110. </redirdev>
  111. <redirdev bus='usb' type='spicevmc'>
  112. </redirdev>
  113. <redirdev bus='usb' type='spicevmc'>
  114. </redirdev>
  115. <redirdev bus='usb' type='spicevmc'>
  116. </redirdev>
  117. <memballoon model='virtio'>
  118. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  119. </memballoon>
  120. </devices>
  121. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement