Date: Tue, 17 Mar 2020 15:09:04 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: Daniel Nicolescu <daniel.nicolescu10@gmail.com> Cc: freebsd-virtualization@freebsd.org, freebsd-hackers@freebsd.org, patrascu.naina14@gmail.com, Mihai Carabas <mihai.carabas@cs.pub.ro> Subject: Re: USB device passthrough implementation Message-ID: <alpine.BSF.2.20.2003171504420.72297@puchar.net> In-Reply-To: <CAG9wUUNFOX-nt6FP1K0hcXycE1AvfzXpa9UdD9%2BQvZeBfY5KJA@mail.gmail.com> References: <CAG9wUUNFOX-nt6FP1K0hcXycE1AvfzXpa9UdD9%2BQvZeBfY5KJA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> We want to implement the USB pass through feature for bhyve so that users > will be able to pass through individual USB devices like in QEMU. We are i want to be your beta tester. > trying to emulate the USB controller and pass to the virtual machine only > one port. > > * We need to disconnect the USB device from host: we are currently not very > familiar with the kernel API to perform this in most cases you actually don't have to. just use /dev/ugen/* devices simply make it as a parameter for bhyve usbpassthrough=a/device where a is virtual USB device number (i don't think you want to emulate more than one bus - one xhci is already done in bhyve), and device would be like /dev/ugenX.Y
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.2003171504420.72297>