bhyve: passthrough SMART info from host nvme controller

2020-03-17 Thread Wanpeng Qian
Hello all. I have an idea about provide SMART of nvme controller. Currently bhyve's nvme controller didn't provide any SMART information. if we provide fake SMART, that is meaningless. I am thinking we can read the host nvme controller SMART and provide that to guest. such as nvme,disk1.img,ma

Re: USB device passthrough implementation

2020-03-17 Thread Daniel Nicolescu
Sure, when we will get there. Thank you On Tue, Mar 17, 2020 at 4:09 PM Wojciech Puchar 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. > > > tryi

Re: USB device passthrough implementation

2020-03-17 Thread Daniel Nicolescu
Hi, We would like to implement it in user-space. On Tue, Mar 17, 2020 at 3:13 PM Hans Petter Selasky wrote: > Hi, > > On 2020-03-17 13:41, Daniel Nicolescu wrote: > > Hi, > > > > We want to implement the USB pass through feature for bhyve so that users > > will be able to pass through individua

Re: USB device passthrough implementation

2020-03-17 Thread Wojciech Puchar
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

Re: USB device passthrough implementation

2020-03-17 Thread Hans Petter Selasky
Hi, On 2020-03-17 13:41, Daniel Nicolescu wrote: Hi, 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 trying to emulate the USB controller and pass to the virtual machine only one port. * We need

Re: USB device passthrough implementation

2020-03-17 Thread Peter Grehan
Hi Daniel, * We need to disconnect the USB device from host: we are currently not very familiar with the kernel API to perform this See usbconfig(8) and the detach_kernel_driver command. It's probably fine to request a user to issue that command, similar to how external commands are required

USB device passthrough implementation

2020-03-17 Thread Daniel Nicolescu
Hi, 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 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 curre