Re: [openstack-dev] [nova] Question about USB passthrough

2014-03-13 Thread Liuji (Jeremy)
Hi,

I have written a wiki about usb controller and usb-passthrough in 
https://wiki.openstack.org/wiki/Nova/proposal_about_usb_passthrough.

Hope I can get your good advices.

Thanks,
Jeremy Liu

> -Original Message-
> From: Liuji (Jeremy) [mailto:jeremy@huawei.com]
> Sent: Thursday, February 27, 2014 9:59 AM
> To: yunhong.ji...@linux.intel.com; OpenStack Development Mailing List (not
> for usage questions)
> Cc: Luohao (brian); Yuanjing (D)
> Subject: Re: [openstack-dev] [nova] Question about USB passthrough
> 
> Yes, PCI devices like GPU or HBA are common resources, admin/user do not
> need to specify which device to which VM. So current PCI passthrough function
> can meet user scenarios.
> 
> But USB devices have different user scenarios. Take USB key or USB disk as
> example, admin/user may need the content in USB device but not the device
> itself, so admin/user should specify which USB device to which VM.
> 
> There are other things needed to be considered too, for example USB device
> may need a matched USB controller but not the default USB 1.1 controller
> created by qemu.
> 
> I'm not clear about how to provide this function but still want to write a 
> wiki so
> that more people can participate in the discussion.
> 
> Thanks,
> Jeremy Liu
> 
> > -Original Message-
> > From: yunhong jiang [mailto:yunhong.ji...@linux.intel.com]
> > Sent: Wednesday, February 26, 2014 1:17 AM
> > To: OpenStack Development Mailing List (not for usage questions)
> > Cc: bpavlo...@mirantis.com; Luohao (brian); Yuanjing (D)
> > Subject: Re: [openstack-dev] [nova] Question about USB passthrough
> >
> > On Tue, 2014-02-25 at 03:05 +, Liuji (Jeremy) wrote:
> > > Now that USB devices are used so widely in private/hybrid cloud like
> > > used as USB key, and there are no technical issues in libvirt/qemu.
> > > I think it a valuable feature in openstack.
> >
> > USB key is an interesting scenario. I assume the USB key is just for
> > some specific VM, wondering how the admin/user know which usb disk to
> which VM?
> >
> > --jyh
> >
> >
> > ___
> > OpenStack-dev mailing list
> > OpenStack-dev@lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Question about USB passthrough

2014-02-26 Thread Liuji (Jeremy)
Yes, PCI devices like GPU or HBA are common resources, admin/user do not need 
to specify which device to which VM. So current PCI passthrough function can 
meet user scenarios.

But USB devices have different user scenarios. Take USB key or USB disk as 
example, admin/user may need the content in USB device but not the device 
itself, so admin/user should specify which USB device to which VM.

There are other things needed to be considered too, for example USB device may 
need a matched USB controller but not the default USB 1.1 controller created by 
qemu.

I'm not clear about how to provide this function but still want to write a wiki 
so that more people can participate in the discussion.

Thanks,
Jeremy Liu

> -Original Message-
> From: yunhong jiang [mailto:yunhong.ji...@linux.intel.com]
> Sent: Wednesday, February 26, 2014 1:17 AM
> To: OpenStack Development Mailing List (not for usage questions)
> Cc: bpavlo...@mirantis.com; Luohao (brian); Yuanjing (D)
> Subject: Re: [openstack-dev] [nova] Question about USB passthrough
> 
> On Tue, 2014-02-25 at 03:05 +, Liuji (Jeremy) wrote:
> > Now that USB devices are used so widely in private/hybrid cloud like
> > used as USB key, and there are no technical issues in libvirt/qemu.
> > I think it a valuable feature in openstack.
> 
> USB key is an interesting scenario. I assume the USB key is just for some
> specific VM, wondering how the admin/user know which usb disk to which VM?
> 
> --jyh
> 
> 
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Question about USB passthrough

2014-02-25 Thread yunhong jiang
On Tue, 2014-02-25 at 03:05 +, Liuji (Jeremy) wrote:
> Now that USB devices are used so widely in private/hybrid cloud like
> used as USB key, and there are no technical issues in libvirt/qemu.
> I think it a valuable feature in openstack.

USB key is an interesting scenario. I assume the USB key is just for
some specific VM, wondering how the admin/user know which usb disk to
which VM?

--jyh


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Question about USB passthrough

2014-02-24 Thread Liuji (Jeremy)
Hi,

It is a good implementation of USB redirection function of 
http://usbip.sourceforge.net/.

But now I more concern about how to provide USB passthrough.

Now that USB devices are used so widely in private/hybrid cloud like used as 
USB key, and there are no technical issues in libvirt/qemu.
I think it a valuable feature in openstack.

So, are there any further suggestions?

Thanks,
Jeremy Liu

> -Original Message-
> From: gustavo panizzo  [mailto:gfa...@zumbi.com.ar]
> Sent: Tuesday, February 25, 2014 2:25 AM
> To: OpenStack Development Mailing List (not for usage questions)
> Cc: Liuji (Jeremy); bpavlo...@mirantis.com; Luohao (brian); Yuanjing (D)
> Subject: Re: [openstack-dev] [nova] Question about USB passthrough
> 
> On 02/24/2014 01:10 AM, Liuji (Jeremy) wrote:
> > Hi, Boris and all other guys:
> >
> > I have found a BP about USB device passthrough in
> https://blueprints.launchpad.net/nova/+spec/host-usb-passthrough.
> > I have also read the latest nova code and make sure it doesn't support USB
> passthrough by now.
> >
> > Are there any progress or plan for USB passthrough?
> use usbip, it works today and is awesome!
> 
> http://usbip.sourceforge.net/
> 
> >
> >
> > Thanks,
> > Jeremy Liu
> >
> > ___
> > OpenStack-dev mailing list
> > OpenStack-dev@lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> --
> 1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Question about USB passthrough

2014-02-24 Thread gustavo panizzo
On 02/24/2014 01:10 AM, Liuji (Jeremy) wrote:
> Hi, Boris and all other guys:
>
> I have found a BP about USB device passthrough in 
> https://blueprints.launchpad.net/nova/+spec/host-usb-passthrough. 
> I have also read the latest nova code and make sure it doesn't support USB 
> passthrough by now.
>
> Are there any progress or plan for USB passthrough?
use usbip, it works today and is awesome!

http://usbip.sourceforge.net/

>
>
> Thanks,
> Jeremy Liu
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] Question about USB passthrough

2014-02-24 Thread yunhong jiang
On Mon, 2014-02-24 at 04:10 +, Liuji (Jeremy) wrote:
> I have found a BP about USB device passthrough in
> https://blueprints.launchpad.net/nova/+spec/host-usb-passthrough. 
> I have also read the latest nova code and make sure it doesn't support
> USB passthrough by now.
> 
> Are there any progress or plan for USB passthrough?

I don't know anyone is working on USB passthrough.

--jyh


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] Question about USB passthrough

2014-02-23 Thread Liuji (Jeremy)
Hi, Boris and all other guys:

I have found a BP about USB device passthrough in 
https://blueprints.launchpad.net/nova/+spec/host-usb-passthrough. 
I have also read the latest nova code and make sure it doesn't support USB 
passthrough by now.

Are there any progress or plan for USB passthrough?


Thanks,
Jeremy Liu

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev