>> Does usb devices works with Xen2.0, even when only domaim0 is present?>Yes, we"ve had success reports. Hi, can u tell me the exact procedure to get USB devices working on Xen. I tried connecting a USB mouse and then "cat /dev/input/mouse" it said "no such device".>My USB virtualisation stuff (give guests control of individual USB ports) >is in progess but I keep getting distracted by other things (most recently >the 2.0 release).Can you tell me if this would require you to make modifications to both Xen as well the linux kernel or just one of them? Deepak ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> -----Original Message----- > From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel- > admin@lists.sourceforge.net] On Behalf Of Deepak Manohar > Sent: 19 October 2004 22:54 > To: xen-devel@lists.sourceforge.net > Subject: [Xen-devel] USB driver > > >> Does usb devices works with Xen2.0, even when only domaim0 ispresent?> > >Yes, we"ve had success reports. > > > Hi, > > can u tell me the exact procedure to get USB devices working on Xen. > I tried connecting a USB mouse and then "cat /dev/input/mouse" it said > "no such device".Do you have USB support enabled in the XenoLinux kernel for Dom0? I don''t think it is on by default.> >My USB virtualisation stuff (give guests control of individual USBports)> >is in progess but I keep getting distracted by other things (most > recently > >the 2.0 release). > > Can you tell me if this would require you to make modifications to > both Xen as well the linux kernel or just one of them?It should only require changes to XenoLinux. Essentially we would give one VM access to the USB HW and then have faked USB controllers in other domains talking via some control channel to the USB VM. We''ll probably fake out a virtual USB hub per domain to which we can assign real USB devices. Basically a similar approach to what we do with PCI. Rolf> Deepak > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide onITManagersJournal> Use IT products in your business? Tell us what you think of them. Giveus> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Do you have USB support enabled in the XenoLinux kernel for Dom0? I > don''t think it is on by default.To enable it, do: cd xen-2.0.bk/linux-2.6.8.1-xen0/ make ARCH=xen xconfig # now enable the USB options that are relevant to you cp .config ../install/boot/config-2.6.8.1-xen0 cd .. make world Alternatively, re-use a config from an old kernel that has your preferred options enabled: cd path_to_old_config xen-2.0.bk/install/boot/config-2.6.8.1-xen0 cd xen-2.0.bk make world> > Can you tell me if this would require you to make modifications to > > both Xen as well the linux kernel or just one of them? > > It should only require changes to XenoLinux. Essentially we would give > one VM access to the USB HW and then have faked USB controllers in other > domains talking via some control channel to the USB VM. We''ll probably > fake out a virtual USB hub per domain to which we can assign real USB > devices. Basically a similar approach to what we do with PCI.Xen basically doesn''t care about USB anyhow, so it''ll all be done at the level of domain 0. There''s not a lot for me to add to Rolf''s description. I think that it should be possible to get pretty good performance USB virtualisation. As far as unpriv domains are concerned they will have a USB controller of type "Xen HCI" instead of UHCI, OHCI or EHCI as you get for real hardware. This host controller will be implemented entirely in software and will talk to a "backend" driver in dom0, which will in turn talk to the actual USB hardware. HTH, Mark ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel