[Top][All Lists]
[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.
Re: [Qemu-devel] USB support, Mark Williamson, 2005/11/05