Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Boot Kernel Line :
- GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pci_stub.ids=10de:1401,10de:0fba"
- -----------------
- Graphic Card :
- Nvidia GTX 960 - 2Go
- -----------------
- How I install Windows 10 :
- 1- For the installation of Windows 10, i keep "Server SPICE" and "Video QXL".
- 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)
- 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.
- I save the file and exit
- 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.
- -----------------
- Libvirt XML :
- <domain type='kvm'>
- <name>Windows_10</name>
- <uuid>a63096b1-0de6-4649-b8a1-51e9313e3191</uuid>
- <memory unit='KiB'>4194304</memory>
- <currentMemory unit='KiB'>4194304</currentMemory>
- <vcpu placement='static' current='1'>5</vcpu>
- <cputune>
- <vcpupin vcpu='0' cpuset='1'/>
- <vcpupin vcpu='1' cpuset='2'/>
- <vcpupin vcpu='2' cpuset='3'/>
- <vcpupin vcpu='3' cpuset='5'/>
- <vcpupin vcpu='4' cpuset='6'/>
- <emulatorpin cpuset='7'/>
- </cputune>
- <os>
- <type arch='x86_64' machine='pc-i440fx-2.6'>hvm</type>
- <loader readonly='yes' type='pflash'>/usr/share/OVMF/OVMF_CODE.fd</loader>
- <nvram>/var/lib/libvirt/qemu/nvram/Windows_10_VARS.fd</nvram>
- <bootmenu enable='yes'/>
- </os>
- <features>
- <acpi/>
- <apic/>
- <kvm>
- <hidden state='on'/>
- </kvm>
- <vmport state='off'/>
- <hyperv>
- <relaxed state='on'/>
- <vapic state='on'/>
- <spinlocks state='on' retries='8191'/>
- </hyperv>
- </features>
- <cpu mode='host-model'>
- <model fallback='allow'/>
- <topology sockets='1' cores='5' threads='1'/>
- </cpu>
- <clock offset='localtime'>
- <timer name='rtc' tickpolicy='catchup'/>
- <timer name='pit' tickpolicy='delay'/>
- <timer name='hpet' present='no'/>
- <timer name='hypervclock' present='yes'/>
- </clock>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>restart</on_crash>
- <pm>
- <suspend-to-mem enabled='no'/>
- <suspend-to-disk enabled='no'/>
- </pm>
- <devices>
- <emulator>/usr/bin/kvm</emulator>
- <disk type='file' device='disk'>
- <driver name='qemu' type='raw'/>
- <source file='/media/Win10/Windows_10.img'/>
- <target dev='vda' bus='virtio'/>
- <boot order='1'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
- </disk>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <source file='/home/odelpasso/Telechargements/Qemu/virtio-win-0.1.118.iso'/>
- <target dev='hdb' bus='ide'/>
- <readonly/>
- <boot order='2'/>
- <address type='drive' controller='0' bus='0' target='0' unit='1'/>
- </disk>
- <disk type='file' device='cdrom'>
- <driver name='qemu' type='raw'/>
- <target dev='hdc' bus='ide'/>
- <readonly/>
- <boot order='3'/>
- <address type='drive' controller='0' bus='1' target='0' unit='0'/>
- </disk>
- <controller type='usb' index='0' model='ich9-ehci1'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
- </controller>
- <controller type='usb' index='0' model='ich9-uhci1'>
- <master startport='0'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
- </controller>
- <controller type='usb' index='0' model='ich9-uhci2'>
- <master startport='2'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
- </controller>
- <controller type='usb' index='0' model='ich9-uhci3'>
- <master startport='4'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
- </controller>
- <controller type='pci' index='0' model='pci-root'/>
- <controller type='ide' index='0'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
- </controller>
- <interface type='direct'>
- <mac address='52:54:00:8b:a0:18'/>
- <source dev='enp6s0' mode='bridge'/>
- <model type='virtio'/>
- <boot order='4'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
- </interface>
- <input type='mouse' bus='ps2'/>
- <input type='keyboard' bus='ps2'/>
- <hostdev mode='subsystem' type='pci' managed='yes'>
- <source>
- <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
- </source>
- <boot order='5'/>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
- </hostdev>
- <hostdev mode='subsystem' type='usb' managed='yes'>
- <source>
- <vendor id='0x046d'/>
- <product id='0xc31c'/>
- </source>
- </hostdev>
- <hostdev mode='subsystem' type='usb' managed='yes'>
- <source>
- <vendor id='0x3938'/>
- <product id='0x1036'/>
- </source>
- </hostdev>
- <hostdev mode='subsystem' type='pci' managed='yes'>
- <source>
- <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
- </source>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
- </hostdev>
- <memballoon model='virtio'>
- <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
- </memballoon>
- </devices>
- </domain>
- -----------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement