1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Using USB Redirection With QEMU/KVM

Virtualization

Published on 02 July 2012 07:29 AM EDT
Written by Michael Larabel in Virtualization
Comment On This Article

For those not up to speed on the latest features for Linux virtualization when using QEMU/KVM, there is support since for USB device redirection over the network for virtual machines.

Using USB redirection with Linux KVM virtualization has been possible since last year, but only today a full-length guide on using this feature has been posted to Linux-KVM.com.

There are two USB redirection modes support: using Red Hat's SPICE protocol or via a TCP server. The TCP solution doesn't depend upon SPICEwhile also supporting other remoting protocols like VNC. For using SPICE there is a GUI-based tool for configuring the USB device redirection while the TCP solution has support built into the virt-manager program.

The Linux-KVM.com guide provides information on how to utilize this USB re-direction with QEMU/KVM.
USB redirection is a nice feature of KVM with many possible use cases. Two that immediately come to mind include backing data from your virtual machine locally or attaching usb devices that provide additional functionality to your guest virtual machine. All this without having physical access to your KVM virtual server.

The big downside to the method explained in this post is having to use multiple management tools to use this feature. In this case it required using virt-manager to configure and start/stop your virtual machine and a separate tool called spicy to perform the usb redirection to your guest.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  2. Intel 120GB 530 Series SSD Linux Performance
  3. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
  4. AMD's Windows Catalyst Driver Remains Largely Faster Than Linux Drivers
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
  2. Is The Open-Source NVIDIA Driver Fast Enough For Steam On Linux Gaming?
  3. Linux 3.18 File-System Performance Minimally Changed But Possible Regressions
  4. AMD Radeon Gallium3D Is Catching Up & Sometimes Beating Catalyst On Linux
Latest Linux News
  1. Scientific Linux 6.6 vs. Scientific Linux 7.0 Benchmarks
  2. Qualcomm Looks To Get Into The ARM Server Business
  3. HHVM 3.4 Adds New Features, Support
  4. More Radeon Driver Changes Queued For Linux 3.19
  5. Unigine 2.0 Alpha 2 Adds C# Support
  6. FFmpeg Is Returning To Ubuntu With 15.04 Release
  7. Linux Version Of Civilization: Beyond Earth Still Coming Along
  8. Yahoo To Become Default Search Provider For Firefox
  9. Better Fan Control Support Coming To The Open-Source Radeon Driver
  10. PTS 5.4 Milestone 6 Released - Official "Lipki" Release Is Near
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. Debian Developer Resigns From The Systemd Maintainership Team
  3. Debian Init System Coupling Vote Results
  4. Ubuntu Developers Still Thinking What To Do About Adobe Flash Support
  5. How to get rid of Linux
  6. how to configure module phoromatic ?
  7. Major Performance Breakthrough Discovered For Intel's Mesa Driver
  8. Script for Fan Speed Control