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.

Latest Linux Hardware Reviews
  1. 13-Way Low-End GPU Comparison With AMD's AM1 Athlon
  2. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  3. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  4. Overclocking The AMD AM1 Athlon & Sempron APUs
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Wine 1.7.17 Works On Its Task Scheduler, C Run-Time
  2. The Improv ARM Board Still Isn't Shipping; Riding A Dead Horse?
  3. Debian To Maintain 6.0 Squeeze As An LTS Release
  4. Wasteland 2 Is Finally Released For Linux Gamers
  5. FreeBSD Advances For ARM, Bhyve, Clang
  6. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  7. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  8. QEMU 2.0 Released With ARM, x86 Enhancements
  9. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  10. R600 Gallium3D Disables LLVM Back-End By Default
  11. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  12. Fedora Workstation Is Making Me Quite Excited
Latest Forum Discussions
  1. Suggestions about how to make a Radeon HD 7790 work decently?
  2. The GNOME Foundation Is Running Short On Money
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Radeon 8000M problematic on Linux?
  5. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  6. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  7. Suspected PHP Proxy Issue
  8. Change installation destination from home directory