After installing drivers in VM windows goes into boot loop. Any good ideas
Linux: Ubuntu Mate, Kernel 4.12
EDIT:
VM works fine with AMD GPU
QEMU CMD
tiit@ryzen:~/vms$ qemu-system-x86_64 -version QEMU emulator version 2.8.0(Debian 1:2.8+dfsg-3ubuntu2.2) Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project develo
qemu-system-x86_64 -name SVM1 -enable-kvm -machine type=q35,accel=kvm \
-drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \
-drive if=pflash,format=raw,file=OVMF_VARS.fd \
-cpu host,kvm=off,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff,hv_vendor_id=123456789ab \
-smp sockets=1,cores=6 \
-m 8192 -mem-prealloc -balloon none \
-device vfio-pci,host=25:00.0,multifunction=on \
-device vfio-pci,host=25:00.1 \
-usb -usbdevice host:046d:c52e \
-net nic,model=virtio -net bridge,br=br1 \
-device virtio-blk-pci,drive=device_blk_one -drive file=win10.img,format=qcow2,if=none,cache=writeback,id=device_blk_one \
-device ide-cd,drive=device_blk_two,bus=ide.0 -drive file=Windows10.iso,readonly,if=none,id=device_blk_two \
-drive file=virtio-win-0.1.126.iso,readonly,if=none,id=isocd -device ide-cd,drive=isocd \
-monitor stdio \
-display none \
-vga none-
/etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="iommu=1 amd_iommu=on rd.driver.pre=vfio-pci" tiit@ryzen:~/vms$ cat /etc/modprobe.d/vfio.conf options vfio-pci ids=10de:1b80,10de:10f0,1002:68bf,1002:aa58 options vfio-pci disable_vga=1
-
tiit@ryzen:~/vms$ cat /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored kvm kvm_amd vfio vfio_iommu_type1 vfio_pci vfio_virqfd virtio-pci virtio-net virtio-blk virtio-balloon virtio-ring virtio
-
Host CPU: AMD Ryzen 1700X Host MB: MSI X370 GAMING PRO CARBON [Bios: 1.7, AGESA Code 1.0.0.6 ]