LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-29-2012, 11:08 AM   #1
tilman1
Member
 
Registered: Mar 2007
Location: Stuttgart, Germany
Distribution: gentoo
Posts: 61

Rep: Reputation: 15
qemu and usb


Hello

I setup qemu on windows using an ubuntu image and a 3.7.1 linux kernel as guest. It boots fine. I then installed LIBUSB-WIN32 as described in
http://sourceforge.net/apps/trac/libusb-win32/wiki to make the usb ports available in the linux image. This does not work, i.e.
"info usbhost" does not return any usb device.

Not quite sure if this is the appropriate forum for that as this seems to related to the windows implementation of qemu. I would appreciate help however...

Thanks
Tilman
 
Old 12-30-2012, 10:30 AM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 10,255

Rep: Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256Reputation: 1256
Not sure where you got qemu on windows. Try Qemu manager. Much more simple to use. I think I have used usb on it.


This should work on common versions of qemu. http://qemu.weilnetz.de/qemu-doc.html#pcsys_005fusb from command line or alt 2 monitor.

I have never needed http://sourceforge.net/apps/trac/libusb-win32/wiki, what is going on that you need that?
 
Old 01-22-2013, 02:04 PM   #3
tilman1
Member
 
Registered: Mar 2007
Location: Stuttgart, Germany
Distribution: gentoo
Posts: 61

Original Poster
Rep: Reputation: 15
I have never needed http://sourceforge.net/apps/trac/libusb-win32/wiki, what is going on that you need that?[/QUOTE]

I have no driver on windows for the usb device. libusb provides some sort of generic driver so that the usb device can be accessible to qemu. At least this is how I understand it.
 
Old 01-22-2013, 06:09 PM   #4
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 478

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by tilman1 View Post
I have never needed http://sourceforge.net/apps/trac/libusb-win32/wiki, what is going on that you need that?
I have no driver on windows for the usb device. libusb provides some sort of generic driver so that the usb device can be accessible to qemu. At least this is how I understand it.[/QUOTE]

Its the other way around.

The virtual machine (host) provides an environment to the guest OS that mimics hardware. The host virtual machine program provides the device descriptions that are passed to the guest OS. The USB devices can be created, simulating a device that can be set up with the generic Windows USB drivers.
I use virt-manager and kvm and the created VMs have USB devices by default. I assume qemu can do the same.
 
  


Reply

Tags
qemu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13.37 Running from USB (Done with qemu) ljones0 Slackware 8 05-20-2013 10:37 AM
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
qemu usb permissions hemp4fuel Slackware 5 08-02-2009 05:42 PM
usb in qemu neutrino17 Linux - General 2 05-07-2008 12:25 PM
USB Linux w/ QEMU badomun Linux - Newbie 2 01-21-2008 07:23 PM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration