Advertisement
Guest User

Pastebin_Virt_Crash

a guest
Jun 17th, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.59 KB | None | 0 0
  1. Boot Kernel Line :
  2. GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pci_stub.ids=10de:1401,10de:0fba"
  3.  
  4. -----------------
  5.  
  6. Graphic Card :
  7. Nvidia GTX 960 - 2Go
  8.  
  9. -----------------
  10.  
  11. How I install Windows 10 :
  12. 1- For the installation of Windows 10, i keep "Server SPICE" and "Video QXL".
  13.  
  14. 2- When the installation is finish, i stop the VM, delete "Server SPICE", "Video QXL" in Virt-Manager and i add my Graphic Card (Nvidia GTX960 => 10de:1401)
  15. I edit the .xml with "virsh edit Windows_10" and add between <features></features> this option <kvm><hidden state='on'/></kvm> to able to install Nvidia driver without problem.
  16. I save the file and exit
  17.  
  18. 3- I launch the VM, Windows boot correctly and launch the Nvidia driver setup. Unfortunatly, during the installation i have the BSOD with the error "SYSTEM_THREAD_EXCEPTION_NOT_HANDLED" and the system reboot.
  19.  
  20. -----------------
  21.  
  22. Libvirt XML :
  23. <domain type='kvm'>
  24. <name>Windows_10</name>
  25. <uuid>a63096b1-0de6-4649-b8a1-51e9313e3191</uuid>
  26. <memory unit='KiB'>4194304</memory>
  27. <currentMemory unit='KiB'>4194304</currentMemory>
  28. <vcpu placement='static' current='1'>5</vcpu>
  29. <cputune>
  30. <vcpupin vcpu='0' cpuset='1'/>
  31. <vcpupin vcpu='1' cpuset='2'/>
  32. <vcpupin vcpu='2' cpuset='3'/>
  33. <vcpupin vcpu='3' cpuset='5'/>
  34. <vcpupin vcpu='4' cpuset='6'/>
  35. <emulatorpin cpuset='7'/>
  36. </cputune>
  37. <os>
  38. <type arch='x86_64' machine='pc-i440fx-2.6'>hvm</type>
  39. <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
  40. <nvram>/var/lib/libvirt/qemu/nvram/Windows_10_VARS.fd</nvram>
  41. <bootmenu enable='yes'/>
  42. </os>
  43. <features>
  44. <acpi/>
  45. <apic/>
  46. <kvm>
  47. <hidden state='on'/>
  48. </kvm>
  49. <vmport state='off'/>
  50. <hyperv>
  51. <relaxed state='on'/>
  52. <vapic state='on'/>
  53. <spinlocks state='on' retries='8191'/>
  54. </hyperv>
  55. </features>
  56. <cpu mode='host-model'>
  57. <model fallback='allow'/>
  58. <topology sockets='1' cores='5' threads='1'/>
  59. </cpu>
  60. <clock offset='localtime'>
  61. <timer name='rtc' tickpolicy='catchup'/>
  62. <timer name='pit' tickpolicy='delay'/>
  63. <timer name='hpet' present='no'/>
  64. <timer name='hypervclock' present='yes'/>
  65. </clock>
  66. <on_poweroff>destroy</on_poweroff>
  67. <on_reboot>restart</on_reboot>
  68. <on_crash>restart</on_crash>
  69. <pm>
  70. <suspend-to-mem enabled='no'/>
  71. <suspend-to-disk enabled='no'/>
  72. </pm>
  73. <devices>
  74. <emulator>/usr/bin/kvm</emulator>
  75. <disk type='file' device='disk'>
  76. <driver name='qemu' type='raw'/>
  77. <source file='/media/Win10/Windows_10.img'/>
  78. <target dev='vda' bus='virtio'/>
  79. <boot order='1'/>
  80. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  81. </disk>
  82. <disk type='file' device='cdrom'>
  83. <driver name='qemu' type='raw'/>
  84. <source file='/home/odelpasso/Telechargements/Qemu/virtio-win-0.1.118.iso'/>
  85. <target dev='hdb' bus='ide'/>
  86. <readonly/>
  87. <boot order='2'/>
  88. <address type='drive' controller='0' bus='0' target='0' unit='1'/>
  89. </disk>
  90. <disk type='file' device='cdrom'>
  91. <driver name='qemu' type='raw'/>
  92. <target dev='hdc' bus='ide'/>
  93. <readonly/>
  94. <boot order='3'/>
  95. <address type='drive' controller='0' bus='1' target='0' unit='0'/>
  96. </disk>
  97. <controller type='usb' index='0' model='ich9-ehci1'>
  98. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
  99. </controller>
  100. <controller type='usb' index='0' model='ich9-uhci1'>
  101. <master startport='0'/>
  102. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
  103. </controller>
  104. <controller type='usb' index='0' model='ich9-uhci2'>
  105. <master startport='2'/>
  106. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
  107. </controller>
  108. <controller type='usb' index='0' model='ich9-uhci3'>
  109. <master startport='4'/>
  110. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
  111. </controller>
  112. <controller type='pci' index='0' model='pci-root'/>
  113. <controller type='ide' index='0'>
  114. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  115. </controller>
  116. <interface type='direct'>
  117. <mac address='52:54:00:8b:a0:18'/>
  118. <source dev='enp6s0' mode='bridge'/>
  119. <model type='virtio'/>
  120. <boot order='4'/>
  121. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  122. </interface>
  123. <input type='mouse' bus='ps2'/>
  124. <input type='keyboard' bus='ps2'/>
  125. <hostdev mode='subsystem' type='pci' managed='yes'>
  126. <source>
  127. <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
  128. </source>
  129. <boot order='5'/>
  130. <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
  131. </hostdev>
  132. <hostdev mode='subsystem' type='usb' managed='yes'>
  133. <source>
  134. <vendor id='0x046d'/>
  135. <product id='0xc31c'/>
  136. </source>
  137. </hostdev>
  138. <hostdev mode='subsystem' type='usb' managed='yes'>
  139. <source>
  140. <vendor id='0x3938'/>
  141. <product id='0x1036'/>
  142. </source>
  143. </hostdev>
  144. <hostdev mode='subsystem' type='pci' managed='yes'>
  145. <source>
  146. <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
  147. </source>
  148. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  149. </hostdev>
  150. <memballoon model='virtio'>
  151. <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
  152. </memballoon>
  153. </devices>
  154. </domain>
  155.  
  156. -----------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement