Advertisement
synthnassizer

win7vnc_xml

Sep 28th, 2014
875
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. root@vms:~# cat /etc/libvirt/qemu/win7vnc.xml
  2. <!--
  3. WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
  4. OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  5. virsh edit win7vnc
  6. or other application using the libvirt API.
  7. -->
  8.  
  9. <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  10. <name>win7vnc</name>
  11. <uuid>9314a9b3-78e9-8959-3a03-b0271e53c53d</uuid>
  12. <memory unit='KiB'>2097152</memory>
  13. <currentMemory unit='KiB'>2097152</currentMemory>
  14. <vcpu placement='static'>2</vcpu>
  15. <os>
  16. <type arch='x86_64' machine='pc-1.1'>hvm</type>
  17. <boot dev='cdrom'/>
  18. <boot dev='hd'/>
  19. </os>
  20. <features>
  21. <acpi/>
  22. <apic/>
  23. <pae/>
  24. </features>
  25. <clock offset='localtime'/>
  26. <on_poweroff>destroy</on_poweroff>
  27. <on_reboot>restart</on_reboot>
  28. <on_crash>restart</on_crash>
  29. <devices>
  30. <emulator>/usr/bin/kvm</emulator>
  31. <disk type='file' device='disk'>
  32. <driver name='qemu' type='qcow2'/>
  33. <source file='/mnt/hd_nass/vms/win7/win7.img'/>
  34. <target dev='vda' bus='virtio'/>
  35. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  36. </disk>
  37. <disk type='file' device='cdrom'>
  38. <driver name='qemu' type='raw'/>
  39. <source file='/mnt/hd_nass/isos/win7_sp1_ult_64bit/Windows 7 SP1 Ultimate (64 Bit).iso'/>
  40. <target dev='hda' bus='ide'/>
  41. <readonly/>
  42. <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  43. </disk>
  44. <disk type='file' device='cdrom'>
  45. <driver name='qemu' type='raw'/>
  46. <source file='/mnt/hd_nass/isos/virtio-win-0.1-81.iso'/>
  47. <target dev='hdc' bus='ide'/>
  48. <readonly/>
  49. <address type='drive' controller='0' bus='1' target='0' unit='0'/>
  50. </disk>
  51. <controller type='usb' index='0'>
  52. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  53. </controller>
  54. <controller type='ide' index='0'>
  55. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  56. </controller>
  57. <interface type='network'>
  58. <mac address='52:54:00:97:11:fe'/>
  59. <source network='default'/>
  60. <model type='virtio'/>
  61. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  62. </interface>
  63. <serial type='pty'>
  64. <target port='0'/>
  65. </serial>
  66. <console type='pty'>
  67. <target type='serial' port='0'/>
  68. </console>
  69. <input type='tablet' bus='usb'/>
  70. <input type='mouse' bus='ps2'/>
  71. <graphics type='vnc' port='5900' autoport='no'/>
  72. <video>
  73. <model type='vga' vram='9216' heads='1'/>
  74. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  75. </video>
  76. <memballoon model='virtio'>
  77. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  78. </memballoon>
  79. </devices>
  80. <qemu:commandline>
  81. <qemu:arg value='-bios'/>
  82. <qemu:arg value='/usr/share/vgabios/hackedbios.bin'/>
  83. </qemu:commandline>
  84. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement