qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] USB support


From: Lonnie Mendez
Subject: Re: [Qemu-devel] USB support
Date: Sat, 5 Nov 2005 11:24:19 -0600
User-agent: KMail/1.8.2

On Saturday 05 November 2005 11:10 am, Fabrice Bellard wrote: 
> 1) The host OS must not use the USB device. It means in particular that 
> no host OS driver must be present for that device. The solution I am 
> using is to rename the host kernel module "usb-storage.o" to 
> "usb-storage.o.disabled" so that it is not loaded by Linux. Then QEMU 
> can exclusively access to the corresponding host storage USB device. The 
> same apply to every other type of USB devices.

   usb devfs has a disconnect ioctl (USBDEVFS_DISCONNECT) which
allows you to disconnect a single device from a driver.

   A suggestion is to hook the interface up to qemu monitor.  Then you would 
be able to list usb devices and then claim only the ones you want to use.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]