Windows 10 was working now black screen


dmwa

Recommended Posts

This has happened twice and I don't know what I am doing wrong

 

Unraid 6.8.3

I was setting up my first Windows 10 VM following Space Invader's, and other guides.   I have downloaded a rom for my GTX 960, making sure it is UEFI - all fine.  

 

Got the windows rom.

Got the latest virtio-win, 1.185.

 

Windows starts setting up, and the main screen loads.  

 

I go into device manager, but the gtx 960 graphics card cannot be seen. 

 

I only see the windows default display driver.  I also am unable to update this like Space invader does - it just says this is the latest driver.

 

I then start updating the drivers for the other 3 unrecognised devices.  The first two work fine.  The 3rd is not recognised and searching e: as per space invader's video doesnt find a device or driver for it.

 

Following the next steps I load up e: and try to load the qemu-ge-X64 file but it is about now the display goes black and loses the hdmi signal.  The file I don't think even loads as I don't see anything like the usual windows install messages- just coincidental timing (maybe).  

 

 

This last time I found the log full.  (How do I clear it by the way?)  I can't seem to get the log to display either, likely due to size.

And I find my Domains share turned orange.

 

An earlier attempt, which I know I got some settings wrong as I didn't get this far, started filling up the log file fast too.  The last line had repeated over and over again hundreds of times - so assuming the same thing is happening.  

 

Any ideas?

 

ErrorWarningSystemArrayLogin

-chardev socket,id=charmonitor,fd=33,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x7.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x7 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x7.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x7.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=libvirt-3-format,id=virtio-disk2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/Windows.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-cd,bus=ide.0,unit=0,drive=libvirt-2-format,id=ide0-0-0,bootindex=2 \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.0,unit=1,drive=libvirt-1-format,id=ide0-0-1 \
-netdev tap,fd=35,id=hostnet0,vhost=on,vhostfd=37 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:33:15:94,bus=pci.0,addr=0x2 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=36,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.0,addr=0x5 \
-device vfio-pci,host=0000:02:00.1,id=hostdev1,bus=pci.0,addr=0x6 \
-device usb-host,hostbus=3,hostaddr=7,id=hostdev2,bus=usb.0,port=1 \
-device usb-host,hostbus=3,hostaddr=6,id=hostdev3,bus=usb.0,port=2 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-12-05 07:40:52.558+0000: Domain id=3 is tainted: high-privileges
2020-12-05 07:40:52.558+0000: Domain id=3 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-12-05T07:40:56.067856Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.0,addr=0x5: Failed to mmap 0000:02:00.0 BAR 1. Performance may be slow
2020-12-05T07:42:48.983494Z qemu-system-x86_64: terminating on signal 15 from pid 11600 (/usr/sbin/libvirtd)
libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know
libusb: error [do_close] A cancellation hasn't even been scheduled on the transfer for which the device is closing
2020-12-05 07:42:50.584+0000: shutting down, reason=destroyed
2020-12-05 07:44:42.027+0000: starting up libvirt version: 5.10.0, qemu version: 4.2.0, kernel: 4.19.107-Unraid, hostname: Cosmos
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME='/var/lib/libvirt/qemu/domain-4-001 Windows 10' \
XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-4-001 Windows 10/.local/share' \
XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-4-001 Windows 10/.cache' \
XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-4-001 Windows 10/.config' \
QEMU_AUDIO_DRV=none \
/usr/local/sbin/qemu \
-name 'guest=001 Windows 10,debug-threads=on' \
-S \
-object 'secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-4-001 Windows 10/master-key.aes' \
-machine pc-i440fx-4.2,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off \
-cpu host,hv-time,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \
-m 16384 \
-overcommit mem-lock=off \
-smp 13,sockets=1,cores=13,threads=1 \
-uuid 334fb738-7d57-d77f-d040-826e8b3aca60 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=33,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x7.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x7 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x7.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x7.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=libvirt-3-format,id=virtio-disk2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/Windows.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-cd,bus=ide.0,unit=0,drive=libvirt-2-format,id=ide0-0-0,bootindex=2 \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.0,unit=1,drive=libvirt-1-format,id=ide0-0-1 \
-netdev tap,fd=35,id=hostnet0,vhost=on,vhostfd=36 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:33:15:94,bus=pci.0,addr=0x3 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=37,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device usb-tablet,id=input0,bus=usb.0,port=3 \
-vnc 0.0.0.0:0,websocket=5700 \
-k en-us \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 \
-device usb-host,hostbus=3,hostaddr=7,id=hostdev0,bus=usb.0,port=1 \
-device usb-host,hostbus=3,hostaddr=6,id=hostdev1,bus=usb.0,port=2 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-12-05 07:44:42.027+0000: Domain id=4 is tainted: high-privileges
2020-12-05 07:44:42.027+0000: Domain id=4 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-12-05T07:46:02.014671Z qemu-system-x86_64: terminating on signal 15 from pid 11600 (/usr/sbin/libvirtd)
libusb: error [do_close] Device handle closed while transfer was still being processed, but the device is still connected as far as we know
libusb: error [do_close] A cancellation hasn't even been scheduled on the transfer for which the device is closing
2020-12-05 07:46:02.415+0000: shutting down, reason=destroyed
2020-12-05 08:19:33.669+0000: starting up libvirt version: 5.10.0, qemu version: 4.2.0, kernel: 4.19.107-Unraid, hostname: Cosmos
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME='/var/lib/libvirt/qemu/domain-5-001 Windows 10' \
XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-5-001 Windows 10/.local/share' \
XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-5-001 Windows 10/.cache' \
XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-5-001 Windows 10/.config' \
QEMU_AUDIO_DRV=none \
/usr/local/sbin/qemu \
-name 'guest=001 Windows 10,debug-threads=on' \
-S \
-object 'secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-5-001 Windows 10/master-key.aes' \
-machine pc-q35-4.2,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off \
-cpu host,hv-time,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \
-m 16384 \
-overcommit mem-lock=off \
-smp 1,sockets=1,cores=1,threads=1 \
-uuid ca139c43-d4f8-7d84-bc98-fec19d25f0de \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=33,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \
-device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
-device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \
-device pcie-root-port,port=0xb,chassis=4,id=pci.4,bus=pcie.0,addr=0x1.0x3 \
-device pcie-root-port,port=0xc,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x4 \
-device pcie-root-port,port=0xd,chassis=6,id=pci.6,bus=pcie.0,addr=0x1.0x5 \
-device qemu-xhci,p2=15,p3=15,id=usb,bus=pcie.0,addr=0x7 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \
-device virtio-blk-pci,scsi=off,bus=pci.3,addr=0x0,drive=libvirt-3-format,id=virtio-disk2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/Windows.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-cd,bus=ide.0,drive=libvirt-2-format,id=sata0-0-0,bootindex=2 \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.1,drive=libvirt-1-format,id=sata0-0-1 \
-netdev tap,fd=35,id=hostnet0,vhost=on,vhostfd=37 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:01:8e:1c,bus=pci.1,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=38,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.4,addr=0x0 \
-device vfio-pci,host=0000:02:00.1,id=hostdev1,bus=pci.5,addr=0x0 \
-device usb-host,hostbus=3,hostaddr=7,id=hostdev2,bus=usb.0,port=1 \
-device usb-host,hostbus=3,hostaddr=6,id=hostdev3,bus=usb.0,port=2 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-12-05 08:19:33.669+0000: Domain id=5 is tainted: high-privileges
2020-12-05 08:19:33.669+0000: Domain id=5 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-12-05T08:19:37.117080Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.4,addr=0x0: Failed to mmap 0000:02:00.0 BAR 1. Performance may be slow
2020-12-05T09:11:50.628381Z qemu-system-x86_64: terminating on signal 15 from pid 11600 (/usr/sbin/libvirtd)
2020-12-05 09:11:53.261+0000: shutting down, reason=shutdown
2020-12-05 09:14:30.109+0000: starting up libvirt version: 5.10.0, qemu version: 4.2.0, kernel: 4.19.107-Unraid, hostname: Cosmos
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME='/var/lib/libvirt/qemu/domain-6-001 Windows 10' \
XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-6-001 Windows 10/.local/share' \
XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-6-001 Windows 10/.cache' \
XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-6-001 Windows 10/.config' \
QEMU_AUDIO_DRV=none \
/usr/local/sbin/qemu \
-name 'guest=001 Windows 10,debug-threads=on' \
-S \
-object 'secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-6-001 Windows 10/master-key.aes' \
-machine pc-q35-4.2,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off \
-cpu host,hv-time,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \
-m 16384 \
-overcommit mem-lock=off \
-smp 12,sockets=1,cores=6,threads=2 \
-uuid ca139c43-d4f8-7d84-bc98-fec19d25f0de \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=33,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \
-device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
-device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \
-device pcie-root-port,port=0xb,chassis=4,id=pci.4,bus=pcie.0,addr=0x1.0x3 \
-device pcie-root-port,port=0xc,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x4 \
-device pcie-root-port,port=0xd,chassis=6,id=pci.6,bus=pcie.0,addr=0x1.0x5 \
-device qemu-xhci,p2=15,p3=15,id=usb,bus=pcie.0,addr=0x7 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \
-device virtio-blk-pci,scsi=off,bus=pci.3,addr=0x0,drive=libvirt-3-format,id=virtio-disk2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/Windows.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-cd,bus=ide.0,drive=libvirt-2-format,id=sata0-0-0,bootindex=2 \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.1,drive=libvirt-1-format,id=sata0-0-1 \
-netdev tap,fd=35,id=hostnet0,vhost=on,vhostfd=36 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:01:8e:1c,bus=pci.1,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=38,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.4,addr=0x0 \
-device vfio-pci,host=0000:02:00.1,id=hostdev1,bus=pci.5,addr=0x0 \
-device usb-host,hostbus=3,hostaddr=7,id=hostdev2,bus=usb.0,port=1 \
-device usb-host,hostbus=3,hostaddr=6,id=hostdev3,bus=usb.0,port=2 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-12-05 09:14:30.109+0000: Domain id=6 is tainted: high-privileges
2020-12-05 09:14:30.109+0000: Domain id=6 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-12-05T09:14:33.646097Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.4,addr=0x0: Failed to mmap 0000:02:00.0 BAR 1. Performance may be slow
2020-12-05T09:17:05.410213Z qemu-system-x86_64: terminating on signal 15 from pid 11600 (/usr/sbin/libvirtd)
2020-12-05 09:17:07.642+0000: shutting down, reason=shutdown
2020-12-05 09:23:03.483+0000: starting up libvirt version: 5.10.0, qemu version: 4.2.0, kernel: 4.19.107-Unraid, hostname: Cosmos
LC_ALL=C \
PATH=/bin:/sbin:/usr/bin:/usr/sbin \
HOME='/var/lib/libvirt/qemu/domain-7-001 Windows 10' \
XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-7-001 Windows 10/.local/share' \
XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-7-001 Windows 10/.cache' \
XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-7-001 Windows 10/.config' \
QEMU_AUDIO_DRV=none \
/usr/local/sbin/qemu \
-name 'guest=001 Windows 10,debug-threads=on' \
-S \
-object 'secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-7-001 Windows 10/master-key.aes' \
-machine pc-q35-4.2,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off \
-cpu host,hv-time,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \
-m 16384 \
-overcommit mem-lock=off \
-smp 12,sockets=1,cores=6,threads=2 \
-uuid ca139c43-d4f8-7d84-bc98-fec19d25f0de \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=33,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \
-device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \
-device pcie-root-port,port=0xa,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \
-device pcie-root-port,port=0xb,chassis=4,id=pci.4,bus=pcie.0,addr=0x1.0x3 \
-device pcie-root-port,port=0xc,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x4 \
-device pcie-root-port,port=0xd,chassis=6,id=pci.6,bus=pcie.0,addr=0x1.0x5 \
-device qemu-xhci,p2=15,p3=15,id=usb,bus=pcie.0,addr=0x7 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/001 Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \
-device virtio-blk-pci,scsi=off,bus=pci.3,addr=0x0,drive=libvirt-3-format,id=virtio-disk2,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/Windows.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-cd,bus=ide.0,drive=libvirt-2-format,id=sata0-0-0,bootindex=2 \
-blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.173-2.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.1,drive=libvirt-1-format,id=sata0-0-1 \
-netdev tap,fd=35,id=hostnet0,vhost=on,vhostfd=36 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:01:8e:1c,bus=pci.1,addr=0x0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev socket,id=charchannel0,fd=38,server,nowait \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \
-device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.4,addr=0x0,romfile=/mnt/user/isos/Gigabyte.GTX960.4096.150702.rom \
-device vfio-pci,host=0000:02:00.1,id=hostdev1,bus=pci.5,addr=0x0 \
-device usb-host,hostbus=3,hostaddr=7,id=hostdev2,bus=usb.0,port=1 \
-device usb-host,hostbus=3,hostaddr=6,id=hostdev3,bus=usb.0,port=2 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-12-05 09:23:03.483+0000: Domain id=7 is tainted: high-privileges
2020-12-05 09:23:03.483+0000: Domain id=7 is tainted: host-cpu
char device redirected to /dev/pts/0 (label charserial0)
2020-12-05T09:23:07.021055Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,x-vga=on,bus=pci.4,addr=0x0,romfile=/mnt/disk1/isos/Gigabyte.GTX960.4096.150702.rom: Failed to mmap 0000:02:00.0 BAR 1. Performance may be slow
2020-12-05T09:32:13.534740Z qemu-system-x86_64: vfio_region_write(0000:02:00.0:region1+0xe0000, 0x0,8) failed: Device or resource busy
2020-12-05T09:32:13.534795Z qemu-system-x86_64: vfio_region_write(0000:02:00.0:region1+0xe0008, 0x0,8) failed: Device or resource busy

 

Link to comment

Other information;
 

Config:

mobo: Asus Z10PA-D8

cpus: Xeon E5-2660 v3

memory: 64GB Samsung ECC

graphics: Gigabyte GTX 960

 

Unraid: 6.8.3

 

I have made a number of attempts to get a VM up and running, but the furthest I get is as follows:

Installation starts, displaying via the graphics card.

Windows installs without connections to the net.

 

Once in windows I go to device manager: 

  • but although I have the rom (Gigabyte.GTX960.4096.150702.rom) for the graphics card, the card is not listed in device manager.
  • I try updating the microsoft display driver, from the virtio-win-0.1.185.iso but it says latest driver already installed.  So the Red Hat QXL won't install.
  • There are then 3 other devices needing drivers - 2 update from virtio-win-0.1.185.iso but the third isn't recognised (says unrecognised device but on Space Invader's video it appears it should be PCI Simple Communications Controller.

 

I then try and install the guest agent.  I click on the file, but before the usual windows installing software animations appear the screen goes black.  

And no matter what I do I am unable to start it back up - always has a black screen.

 

I notice from the logs:
Dec  5 15:31:54 Cosmos kernel: vfio_ecap_init: 0000:02:00.0 hiding ecap 0x1e@0x258
Dec  5 15:31:54 Cosmos kernel: vfio_ecap_init: 0000:02:00.0 hiding ecap 0x19@0x900
Dec  5 15:31:54 Cosmos kernel: vfio-pci 0000:02:00.0: BAR 1: can't reserve [mem 0xb0000000-0xbfffffff 64bit pref]
Dec  5 15:31:55 Cosmos acpid: input device has been disconnected, fd 5
Dec  5 15:31:58 Cosmos kernel: vfio-pci 0000:02:00.0: BAR 1: can't reserve [mem 0xb0000000-0xbfffffff 64bit pref]
Dec  5 15:31:58 Cosmos kernel: vfio-pci 0000:02:00.0: BAR 1: can't reserve [mem 0xb0000000-0xbfffffff 64bit pref]

 

 

pci 0000:02 I think is my graphics card.

 

Any help appreciated.

Link to comment
  • 7 months later...
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.