Geck0 Posted December 20, 2021 Share Posted December 20, 2021 I'm new to VMs, having used unRaid for a couple of years now. I've watched the 'beginner videos' by SpaceInvader on this subject, but I am puzzled by the results. In the Bios I've enable XHCI for USB. I've enable PCIe ACS override. These are my IOMMU groupings for some of my USB controller / devices. You will notice that I' haven't select 1022:149c and my understanding is that I need to do this to bind it to VFIO. However, its still available to the VM, even if if I haven't selected it. I was having trouble starting the VM, because of the two lighting node cores having the same designations. I managed to get around this by selecting them using the BUS and Device ID, which I've posted about today. However, I added them using XML. The tick boxes in the VM remain unticked. More importantly, if I ticked them in System's device manager to be bonded to the VFIO, they don't show up in device manager, nor do they show up in the VM as an option. I have tried to find the answer to this, but its not obvious. I don't know if the reason they don't show up is because they're now hidden from unRaid, in which case how do I pass them to a particular VM?? If I leave them unselected in device manager then I would not expect them to be available to a VM. So, I'm working with it, but its not clear to me how this works? Quote Link to comment
SimonF Posted December 20, 2021 Share Posted December 20, 2021 5 hours ago, Geck0 said: I'm new to VMs, having used unRaid for a couple of years now. I've watched the 'beginner videos' by SpaceInvader on this subject, but I am puzzled by the results. In the Bios I've enable XHCI for USB. I've enable PCIe ACS override. These are my IOMMU groupings for some of my USB controller / devices. You will notice that I' haven't select 1022:149c and my understanding is that I need to do this to bind it to VFIO. However, its still available to the VM, even if if I haven't selected it. I was having trouble starting the VM, because of the two lighting node cores having the same designations. I managed to get around this by selecting them using the BUS and Device ID, which I've posted about today. However, I added them using XML. The tick boxes in the VM remain unticked. More importantly, if I ticked them in System's device manager to be bonded to the VFIO, they don't show up in device manager, nor do they show up in the VM as an option. I have tried to find the answer to this, but its not obvious. I don't know if the reason they don't show up is because they're now hidden from unRaid, in which case how do I pass them to a particular VM?? If I leave them unselected in device manager then I would not expect them to be available to a VM. So, I'm working with it, but its not clear to me how this works? mapping that device to vfio will alocate the whole usb controller to the vm. bus and dev numbers can change. My plugin USB manager support same vendor and product ids and will auto hotplug without passing through a whole controller. Quote Link to comment
Geck0 Posted December 27, 2021 Author Share Posted December 27, 2021 Thanks, Simon. I've tried your USB plugin. I had some limited success, but can see the benefits, great work. I've passed through the USB controllers for now, until I get to grips with how I plan to set up my VMs, I've currently only got one Windows 10 vm Quote Link to comment
Recommended Posts
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.