Date: Tue, 17 Mar 2020 17:40:55 +0200 From: Daniel Nicolescu <daniel.nicolescu10@gmail.com> To: Wojciech Puchar <wojtek@puchar.net> 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: <CAG9wUUN6SYbMvHCpMJX5eXOwPUYZbSDbYjhn%2B6ZomBLT_5H=rw@mail.gmail.com> In-Reply-To: <alpine.BSF.2.20.2003171504420.72297@puchar.net> References: <CAG9wUUNFOX-nt6FP1K0hcXycE1AvfzXpa9UdD9%2BQvZeBfY5KJA@mail.gmail.com> <alpine.BSF.2.20.2003171504420.72297@puchar.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Sure, when we will get there. Thank you On Tue, Mar 17, 2020 at 4:09 PM Wojciech Puchar <wojtek@puchar.net> wrote: > > 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?CAG9wUUN6SYbMvHCpMJX5eXOwPUYZbSDbYjhn%2B6ZomBLT_5H=rw>