Advertisement
Guest User

Untitled

a guest
Sep 6th, 2014
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  2. <name>win7pro</name>
  3. <uuid>fdba38e0-dc1a-yyyy-7b06-yyyyyyyyyy</uuid>
  4. <memory unit='KiB'>4194304</memory>
  5. <currentMemory unit='KiB'>4194304</currentMemory>
  6. <vcpu placement='static'>2</vcpu>
  7. <os>
  8. <type arch='x86_64' machine='pc-0.14'>hvm</type>
  9. <boot dev='hd'/>
  10. </os>
  11. <features>
  12. <acpi/>
  13. <apic/>
  14. <pae/>
  15. </features>
  16. <clock offset='localtime'/>
  17. <on_poweroff>destroy</on_poweroff>
  18. <on_reboot>restart</on_reboot>
  19. <on_crash>restart</on_crash>
  20. <devices>
  21. <emulator>/usr/bin/qemu-kvm</emulator>
  22. <disk type='block' device='disk'>
  23. <driver name='qemu' type='raw'/>
  24. <source dev='/dev/libvirt_lvm/win7'/>
  25. <target dev='vda' bus='virtio'/>
  26. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  27. </disk>
  28. <disk type='file' device='cdrom'>
  29. <driver name='qemu' type='raw'/>
  30. <target dev='hda' bus='ide'/>
  31. <readonly/>
  32. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  33. </disk>
  34. <disk type='file' device='cdrom'>
  35. <driver name='qemu' type='raw'/>
  36. <target dev='hdc' bus='ide'/>
  37. <readonly/>
  38. <address type='drive' controller='0' bus='1' target='0' unit='0'/>
  39. </disk>
  40. <controller type='ide' index='0'>
  41. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  42. </controller>
  43. <controller type='virtio-serial' index='0'>
  44. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  45. </controller>
  46. <controller type='usb' index='0'>
  47. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  48. </controller>
  49. <controller type='pci' index='0' model='pci-root'/>
  50. <interface type='bridge'>
  51. <mac address='52:54:00:71:a3:ac'/>
  52. <source bridge='br0'/>
  53. <model type='virtio'/>
  54. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  55. </interface>
  56. <serial type='pty'>
  57. <target port='0'/>
  58. </serial>
  59. <console type='pty'>
  60. <target type='serial' port='0'/>
  61. </console>
  62. <channel type='spicevmc'>
  63. <target type='virtio' name='com.redhat.spice.0'/>
  64. <address type='virtio-serial' controller='0' bus='0' port='1'/>
  65. </channel>
  66. <input type='tablet' bus='usb'/>
  67. <input type='mouse' bus='ps2'/>
  68. <graphics type='spice' port='5910' autoport='no' listen='0.0.0.0'>
  69. <listen type='address' address='0.0.0.0'/>
  70. </graphics>
  71. <sound model='ac97'>
  72. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  73. </sound>
  74. <video>
  75. <model type='qxl' ram='65536' vram='65536' heads='1'/>
  76. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  77. </video>
  78. <memballoon model='virtio'>
  79. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  80. </memballoon>
  81. </devices>
  82. <qemu:commandline>
  83. <qemu:arg value='-readconfig'/>
  84. <qemu:arg value='/etc/qemu/ich9-ehci-uhci.cfg'/>
  85. <qemu:arg value='-chardev'/>
  86. <qemu:arg value='spicevmc,name=usbredir,id=usbredirchardev1'/>
  87. <qemu:arg value='-device'/>
  88. <qemu:arg value='usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci.0,debug=3'/>
  89. <qemu:arg value='-chardev'/>
  90. <qemu:arg value='spicevmc,name=usbredir,id=usbredirchardev2'/>
  91. <qemu:arg value='-device'/>
  92. <qemu:arg value='usb-redir,chardev=usbredirchardev2,id=usbredirdev2,bus=ehci.0,debug=3'/>
  93. <qemu:arg value='-chardev'/>
  94. <qemu:arg value='spicevmc,name=usbredir,id=usbredirchardev3'/>
  95. <qemu:arg value='-device'/>
  96. <qemu:arg value='usb-redir,chardev=usbredirchardev3,id=usbredirdev3,bus=ehci.0,debug=3'/>
  97. </qemu:commandline>
  98. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement