<div dir="ltr">Okay, I disabled xHCI in the bios and mapped all the ports. I want all 6 on Host Controller #2 to be passed through to the quest. It's 00:1a.0. I select that in Libvirt, so how do I make the mask which I want permanently passed through.<div><br></div><div>There are 6 ports on Controller #2. For Controller #1, there are 10 ports. However, 4 are under a hub that is on port 5. I could not find a port 6 for controller #1.<br><div><br></div><div>BTW, if you have one guest, you may want to check out the patches for qemu that use your host keyboard and mouse and pass them through as a PS2/USB device and you use both ctrl keys to switch back and forth.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 February 2016 at 16:44, Samuel Holland <span dir="ltr"><<a href="mailto:samuel@sholland.org" target="_blank">samuel@sholland.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/23/2016 10:38 AM, Jonathan Scruggs wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I pass through 0:14, won't I loose USB on my host? I have a USB<br>
keyboard and mouse and need USB for other things like thumb drives.<br>
</blockquote>
<br></span>
If you pass through 0:14.0, every port with a 1 in the mask will be<br>
passed through to the guest (inaccessible on the host). If you pass<br>
through 0:1a.0 and 0:1d.0, every port with a 0 in the mask will be<br>
passed through tho the guest. You should do one or the other, but not both.<br>
<br>
No matter which controller(s) you pass through, you still must run the<br>
setpci command on the xHCI controller (0:14.0).<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jon<br>
</blockquote><div class="HOEnZb"><div class="h5">
<br>
--<br>
Regards,<br>
Samuel Holland <<a href="mailto:samuel@sholland.org" target="_blank">samuel@sholland.org</a>><br>
</div></div></blockquote></div><br></div>