热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

kvmusb2.0

Virt-Manageraddssupportforusb2Wednesday,April4,2012-10:40HaydnSolomonThemostrecentreleaseo

Virt-Manager adds support for usb2



The most recent release of virt-manager tagged 0.9.1-1 released at the end of January 2012 now includes support for usb 2.x. In this post I‘ll briefly walk through the new virt-manager user interface for usb2. USB 2 support has been available by special command line options but not in a simple gui interface until now. This is something that qemu users have been wanting on for a long time and virt-manager now makes it easily accessible to the wider qemu/kvm user community.

技术分享

Using USB2

Using usb2 is now included in virt-manager by way of a new ehci adapter. By default this usb controller interface is added to your virtual machines so there‘s nothing special you need to do except select the usb controller type availble in your virtual machine. Once you have upgraded to this version of virt-manager, look at your virtual machine details page and you‘ll see the new controller labelled as "Controller USB".  

技术分享

One thing to note is that the default setting of the usb controller is set to "Default" which is actually usb1. This is not very clear in the user interface. Note: You must select the dropdown list and select "USB2" in order to use the machine‘s usb2 adapter. 

技术分享

Once you‘ve selected USB2, select "USB Host Device" as you normally would and select the host device on the right pane then Click on Finish.

技术分享

If for some reason no device description shows up in your details page as the screenshot shows above you can open up a terminal and issue the lsusb command to list the usb devices with their corresponding addresses.

技术分享

Removing the usb device from your virtual machine works just as the old interface did; select your usb device from the details page and click "Remove" then apply.

技术分享

The nice thing about the usb2 interface over usb1 is that there‘s no need to reboot in order to attach and detach usb devices. Just be aware that the default setting is usb1.

 

http://www.linux-kvm.com/content/virt-manager-adds-support-usb2


推荐阅读
author-avatar
dfadsgafg4
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有