LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-07-2022, 11:31 PM   #1
lakis70
Member
 
Registered: Jan 2021
Location: Athens Greece
Distribution: slackware puppylinux
Posts: 46

Rep: Reputation: Disabled
qemu-system-arm and USB


Hello
I want to ask how i can make the guest shown from host as USB peripheral (not to use the hosts usb devices). I want to virtual plug my guest and lsusb on host to list it. Also i want to run adbd on guest and adb on host.
QEMU is 6.2 and OS is Slackware 15. I try with versatilepb and virtio machines.
 
Old 07-09-2022, 01:32 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,147

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
QEMU already has host emulation, so should be able to support connecting your virtual device. Making it look like its an actual device to your host may require a driver on the host to create a virtual controller. When I looked around for such a beast I found https://sourceforge.net/projects/usb-vhci/ which seems to be an active project. I don't know what it would take to get it to talk to QEMU, though.
 
Old 07-11-2022, 06:27 PM   #3
lakis70
Member
 
Registered: Jan 2021
Location: Athens Greece
Distribution: slackware puppylinux
Posts: 46

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
I don't know what it would take to get it to talk to QEMU, though.
me too
 
Old 07-12-2022, 10:25 PM   #4
lakis70
Member
 
Registered: Jan 2021
Location: Athens Greece
Distribution: slackware puppylinux
Posts: 46

Original Poster
Rep: Reputation: Disabled
I think one part of the problem is that the device tree doesn't mention the otg423 controller that why if i load the g_ether module dmesg says <<couldn't find an available UDC - added [g_ether] to list of pending drivers>>. Someone with more knowledge about? I will try the vexpress dts.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] QEMU x86 System Emulation on ARM CPU mablett Linux - Virtualization and Cloud 4 10-04-2022 04:13 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
Error "Kernel image must be specified" (qemu-system-arm) ottavio Linux - Virtualization and Cloud 0 08-18-2011 12:40 PM
How do I quit the QEMU emulator running an ARM system? Codeless Linux - Newbie 1 11-09-2010 02:55 PM
buildroot images not working with qemu-system-arm ramitwadhwa Linux - Embedded & Single-board computer 0 10-19-2010 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration