Windows 10 VM only starts with 1 core.


Recommended Posts

UPDATE:

I have the cores that I am using for the VM Isolated so Unraid can't use them, but when I don't isolate them and reboot unraid the VM starts fine? But then after restart windows sometimes boots and sometimes hangs... It's like the CPU can't reset. I'm not sure what's going on at all.

 

_________________________

For some reason since 2 days ago my Windows 10 VM will only start if I have 1 core assigned. If I add anymore it will just sit loading at the spinning screen. All cores just hit 100% see attached screenshot.

 

It did manage to start one but after a reboot the same issue.

 

I know it says group 30 not owned, I have now fixed that issue.

 

But that still shows even with one core and starts fine.

 

Thanks for any help.

 

 


ov 23 00:10:16 XSHomeServer kernel: SVM: kvm [2853]: vcpu9, guest rIP: 0xfffffb99d84cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:14:47 XSHomeServer kernel: br0: port 3(vnet1) entered blocking state
Nov 23 00:14:47 XSHomeServer kernel: br0: port 3(vnet1) entered disabled state
Nov 23 00:14:47 XSHomeServer kernel: device vnet1 entered promiscuous mode
Nov 23 00:14:47 XSHomeServer kernel: br0: port 3(vnet1) entered blocking state
Nov 23 00:14:47 XSHomeServer kernel: br0: port 3(vnet1) entered forwarding state
Nov 23 00:14:49 XSHomeServer avahi-daemon[6360]: Joining mDNS multicast group on interface vnet1.IPv6 with address fe80::fc54:ff:fe20:edff.
Nov 23 00:14:49 XSHomeServer avahi-daemon[6360]: New relevant interface vnet1.IPv6 for mDNS.
Nov 23 00:14:49 XSHomeServer avahi-daemon[6360]: Registering new address record for fe80::fc54:ff:fe20:edff on vnet1.*.
Nov 23 00:19:50 XSHomeServer kernel: usb 1-3: reset full-speed USB device number 2 using xhci_hcd
Nov 23 00:24:29 XSHomeServer kernel: svm_set_msr: 2 callbacks suppressed
Nov 23 00:24:29 XSHomeServer kernel: SVM: kvm [2853]: vcpu0, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:32 XSHomeServer kernel: SVM: kvm [2853]: vcpu1, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:32 XSHomeServer kernel: SVM: kvm [2853]: vcpu2, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:32 XSHomeServer kernel: SVM: kvm [2853]: vcpu3, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:32 XSHomeServer kernel: SVM: kvm [2853]: vcpu4, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:32 XSHomeServer kernel: SVM: kvm [2853]: vcpu5, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:32 XSHomeServer kernel: SVM: kvm [2853]: vcpu6, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:32 XSHomeServer kernel: SVM: kvm [2853]: vcpu7, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:33 XSHomeServer kernel: SVM: kvm [2853]: vcpu8, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:33 XSHomeServer kernel: SVM: kvm [2853]: vcpu9, guest rIP: 0xfffff9172a2cec1a unimplemented wrmsr: 0xc0010115 data 0x0
Nov 23 00:24:52 XSHomeServer kernel: usb 1-3: reset full-speed USB device number 2 using xhci_hcd
Nov 23 00:27:30 XSHomeServer avahi-daemon[6360]: Interface vnet1.IPv6 no longer relevant for mDNS.
Nov 23 00:27:30 XSHomeServer avahi-daemon[6360]: Leaving mDNS multicast group on interface vnet1.IPv6 with address fe80::fc54:ff:fe20:edff.
Nov 23 00:27:30 XSHomeServer kernel: br0: port 3(vnet1) entered disabled state
Nov 23 00:27:30 XSHomeServer kernel: device vnet1 left promiscuous mode
Nov 23 00:27:30 XSHomeServer kernel: br0: port 3(vnet1) entered disabled state
Nov 23 00:27:30 XSHomeServer avahi-daemon[6360]: Withdrawing address record for fe80::fc54:ff:fe20:edff on vnet1.
Nov 23 00:27:30 XSHomeServer kernel: usb 1-3: reset full-speed USB device number 2 using xhci_hcd

 

 

 

 




	<?xml version='1.0' encoding='UTF-8'?>

	<domain type='kvm'>

	  <name>Windows 10</name>

	 <uuid>xxxxxxxxx xxxxxxxx</uuid>

	  <metadata>

	    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>

	  </metadata>

	  <memory unit='KiB'>16777216</memory>

	  <currentMemory unit='KiB'>16777216</currentMemory>

	  <memoryBacking>

	    <nosharepages/>

	  </memoryBacking>

	  <vcpu placement='static'>2</vcpu>

	  <cputune>

	    <vcpupin vcpu='0' cpuset='2'/>

	    <vcpupin vcpu='1' cpuset='10'/>

	  </cputune>

	  <os>

	    <type arch='x86_64' machine='pc-q35-4.2'>hvm</type>

	    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>

	    <nvram>/etc/libvirt/qemu/nvram/032e02b4-0499-051e-d106-7f0700080009_VARS-pure-efi.fd</nvram>

	  </os>

	  <features>

	    <acpi/>

	    <apic/>

	    <hyperv>

	      <relaxed state='on'/>

	      <vapic state='on'/>

	      <spinlocks state='on' retries='8191'/>

	      <vendor_id state='on' value='none'/>

	    </hyperv>

	  </features>

	  <cpu mode='host-passthrough' check='none' migratable='on'>

	    <topology sockets='1' dies='1' cores='1' threads='2'/>

	    <cache mode='passthrough'/>

	    <feature policy='require' name='topoext'/>

	  </cpu>

	  <clock offset='localtime'>

	    <timer name='hypervclock' present='yes'/>

	    <timer name='hpet' present='no'/>

	  </clock>

	  <on_poweroff>destroy</on_poweroff>

	  <on_reboot>restart</on_reboot>

	  <on_crash>restart</on_crash>

	  <devices>

	    <emulator>/usr/local/sbin/qemu</emulator>

	    <disk type='block' device='disk'>

	      <driver name='qemu' type='raw' cache='writeback'/>

	      <source dev='/dev/disk/by-id/ata-WDC_WDS240G2G0B-00EPW0_184136802930'/>

	      <target dev='hdc' bus='sata'/>

	      <boot order='1'/>

	      <address type='drive' controller='0' bus='0' target='0' unit='2'/>

	    </disk>

	    <disk type='block' device='disk'>

	      <driver name='qemu' type='raw' cache='writeback'/>

	      <source dev='/dev/disk/by-id/ata-SanDisk_SSD_PLUS_1000GB_20305F802449'/>

	      <target dev='hdd' bus='sata'/>

	      <address type='drive' controller='0' bus='0' target='0' unit='3'/>

	    </disk>

	    <disk type='file' device='disk'>

	      <driver name='qemu' type='qcow2' cache='writeback'/>

	      <source file='/mnt/user/Media/Data/Games/Windows.img'/>

	      <target dev='hde' bus='sata'/>

	      <address type='drive' controller='0' bus='0' target='0' unit='4'/>

	    </disk>

	    <controller type='pci' index='0' model='pcie-root'/>

	    <controller type='pci' index='1' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='1' port='0x8'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>

	    </controller>

	    <controller type='pci' index='2' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='2' port='0x9'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>

	    </controller>

	    <controller type='pci' index='3' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='3' port='0x14'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>

	    </controller>

	    <controller type='pci' index='4' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='4' port='0xa'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>

	    </controller>

	    <controller type='pci' index='5' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='5' port='0xb'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>

	    </controller>

	    <controller type='pci' index='6' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='6' port='0xc'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>

	    </controller>

	    <controller type='pci' index='7' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='7' port='0xd'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>

	    </controller>

	    <controller type='pci' index='8' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='8' port='0xe'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>

	    </controller>

	    <controller type='pci' index='9' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='9' port='0xf'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7'/>

	    </controller>

	    <controller type='pci' index='10' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='10' port='0x10'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>

	    </controller>

	    <controller type='pci' index='11' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='11' port='0x11'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>

	    </controller>

	    <controller type='pci' index='12' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='12' port='0x12'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>

	    </controller>

	    <controller type='pci' index='13' model='pcie-root-port'>

	      <model name='pcie-root-port'/>

	      <target chassis='13' port='0x13'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>

	    </controller>

	    <controller type='virtio-serial' index='0'>

	      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>

	    </controller>

	    <controller type='sata' index='0'>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>

	    </controller>

	    <controller type='usb' index='0' model='ich9-ehci1'>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>

	    </controller>

	    <controller type='usb' index='0' model='ich9-uhci1'>

	      <master startport='0'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>

	    </controller>

	    <controller type='usb' index='0' model='ich9-uhci2'>

	      <master startport='2'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>

	    </controller>

	    <controller type='usb' index='0' model='ich9-uhci3'>

	      <master startport='4'/>

	      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>

	    </controller>

	    <interface type='bridge'>

	      <mac address='52:54:00:f7:0a:98'/>

	      <source bridge='br0'/>

	      <model type='virtio-net'/>

	      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>

	    </interface>

	    <serial type='pty'>

	      <target type='isa-serial' port='0'>

	        <model name='isa-serial'/>

	      </target>

	    </serial>

	    <console type='pty'>

	      <target type='serial' port='0'/>

	    </console>

	    <channel type='unix'>

	      <target type='virtio' name='org.qemu.guest_agent.0'/>

	      <address type='virtio-serial' controller='0' bus='0' port='1'/>

	    </channel>

	    <input type='tablet' bus='usb'>

	      <address type='usb' bus='0' port='1'/>

	    </input>

	    <input type='mouse' bus='ps2'/>

	    <input type='keyboard' bus='ps2'/>

	    <hostdev mode='subsystem' type='pci' managed='yes'>

	      <driver name='vfio'/>

	      <source>

	        <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>

	      </source>

	      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>

	    </hostdev>

	    <hostdev mode='subsystem' type='pci' managed='yes'>

	      <driver name='vfio'/>

	      <source>

	        <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>

	      </source>

	      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>

	    </hostdev>

	    <hostdev mode='subsystem' type='pci' managed='yes'>

	      <driver name='vfio'/>

	      <source>

	        <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>

	      </source>

	      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>

	    </hostdev>

	    <hostdev mode='subsystem' type='pci' managed='yes'>

	      <driver name='vfio'/>

	      <source>

	        <address domain='0x0000' bus='0x0b' slot='0x00' function='0x2'/>

	      </source>

	      <address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>

	    </hostdev>

	    <hostdev mode='subsystem' type='pci' managed='yes'>

	      <driver name='vfio'/>

	      <source>

	        <address domain='0x0000' bus='0x0b' slot='0x00' function='0x3'/>

	      </source>

	      <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>

	    </hostdev>

	    <memballoon model='none'/>

	  </devices>

	</domain>



	 



	[/Code]


 

 

 

 

 

 

 


	-device pcie-root-port,port=0xf,chassis=9,id=pci.9,bus=pcie.0,addr=0x1.0x7 \

	-device pcie-root-port,port=0x10,chassis=10,id=pci.10,bus=pcie.0,multifunction=on,addr=0x2 \

	-device pcie-root-port,port=0x11,chassis=11,id=pci.11,bus=pcie.0,addr=0x2.0x1 \

	-device pcie-root-port,port=0x12,chassis=12,id=pci.12,bus=pcie.0,addr=0x2.0x2 \

	-device pcie-root-port,port=0x13,chassis=13,id=pci.13,bus=pcie.0,addr=0x2.0x3 \

	-device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x7.0x7 \

	-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x7 \

	-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x7.0x1 \

	-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \

	-device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 \

	-blockdev '{"driver":"host_device","filename":"/dev/disk/by-id/ata-WDC_WDS240G2G0B-00EPW0_184136802930","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 ide-hd,bus=ide.2,drive=libvirt-3-format,id=sata0-0-2,bootindex=1,write-cache=on \

	-blockdev '{"driver":"host_device","filename":"/dev/disk/by-id/ata-SanDisk_SSD_PLUS_1000GB_20305F802449","node-name":"libvirt-2-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \

	-blockdev '{"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \

	-device ide-hd,bus=ide.3,drive=libvirt-2-format,id=sata0-0-3,write-cache=on \

	-blockdev '{"driver":"file","filename":"/mnt/user/Media/Data/Games/Windows.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \

	-blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-1-storage","backing":null}' \

	-device ide-hd,bus=ide.4,drive=libvirt-1-format,id=sata0-0-4,write-cache=on \

	-netdev tap,fd=33,id=hostnet0 \

	-device virtio-net,netdev=hostnet0,id=net0,mac=52:54:00:f7:0a:98,bus=pci.1,addr=0x0 \

	-chardev pty,id=charserial0 \

	-device isa-serial,chardev=charserial0,id=serial0 \

	-chardev socket,id=charchannel0,fd=35,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=1 \

	-device vfio-pci,host=0000:0a:00.0,id=hostdev0,bus=pci.2,addr=0x0 \

	-device vfio-pci,host=0000:0a:00.1,id=hostdev1,bus=pci.4,addr=0x0 \

	-device vfio-pci,host=0000:08:00.0,id=hostdev2,bus=pci.5,addr=0x0 \

	-device vfio-pci,host=0000:0b:00.2,id=hostdev3,bus=pci.6,addr=0x0 \

	-device vfio-pci,host=0000:0b:00.3,id=hostdev4,bus=pci.7,addr=0x0 \

	-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \

	-msg timestamp=on

	2020-11-22 22:20:33.678+0000: Domain id=5 is tainted: high-privileges

	2020-11-22 22:20:33.678+0000: Domain id=5 is tainted: host-cpu

	char device redirected to /dev/pts/0 (label charserial0)

	2020-11-22T22:20:37.938484Z qemu-system-x86_64: vfio: Cannot reset device 0000:0b:00.2, depends on group 30 which is not owned.

	2020-11-22T22:20:39.048475Z qemu-system-x86_64: vfio: Cannot reset device 0000:0b:00.2, depends on group 30 which is not owned.

	[/Code]

Screenshot_20201123-021131_Chrome.jpg

Edited by AlexGreenUK
Code line
Link to comment
12 hours ago, AlexGreenUK said:

dies='1'

Remove that part from the "cpu mode" section from your xml so it looks like the following and try again with more cores.

<topology sockets='1' cores='1' threads='2'/>

Not sure how you got that option in there. I never saw Unraid adding that option by itself.

Edited by bastl
Link to comment

Still no luck. I even tried with a new VM so it would be a clean XML and no luck.

 

I have attached some pictures

 

Also it's strange that sometimes I can get through to the diagnosing windows screen and get to the start up repair options but still no luck.

3 hours ago, bastl said:

Remove that part from the "cpu mode" section from your xml so it looks like the following and try again with more cores.


<topology sockets='1' cores='1' threads='2'/>

Not sure how you got that option in there. I never saw Unraid adding that option by itself.

 

Screenshot_20201123-141726_Chrome.jpg

20201123_141829.jpg

Edited by AlexGreenUK
Link to comment
4 hours ago, bastl said:

What devices are you passing through to the VM?

2 USB controllers. Im not sure what the Dummy Controller was but it was saying it needed it to start, I did try without it as well and without passing anything through.

 

It's strange though, last night it seems to of started working again which I can't tell the reason why it should have. I have managed to isolate cores as well and get it to start, I just can't see what I have done to get it to work. I need to try restarting the VM to see if I still have an issue, but at least for now it's running.

 

I will update the post after I have tried a reboot.

 

Thanks for your input 😊

Link to comment
  • 2 months later...

Try removing 

 

 

remove it shuld be there but isen't working for me in unraid 6.8.3
<hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>

and sett hypervclock to 'no'
<timer name='hypervclock' present='no'/>

works for me don't know way

Edited by Vilse(swe)
Link to comment
  • 3 months 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.