热门标签 | 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


推荐阅读
  • Python对象特性0x01:所有Python对象都有三个特性以及属性*身份:每一个对象都有一个唯一的身份标识自己,任何一个都可以用内建函数id()来得到。*类型:决定了可以保存什 ... [详细]
  • ARM LCD屏调试3屏的应用编程
    2011-06-2519:20:47驱动自己写完了,应用函数自己就不写了,找了一点代码参考,移植并修改了一下,配合之前的定义的接口文档,我贴出部分代码。目录:一,开发环境1二 ... [详细]
  • Hibernate的入门:
    1下载Hibernate5http:sourceforge.netprojectshibernatefileshibernate-orm5.0.7.Finalhibernate-r ... [详细]
  • 1、dt视图结构内容dt+结构名要么dt+结构名+住址kddt_object_headernt!_OBJECT_HEADER+0x000PointerCount:Int4B+0x ... [详细]
  • https:developers.weixin.qq.comminiprogramdevapinetworksocket.htmlwxconnectsocke ... [详细]
  • 一,深浅拷贝看拷贝列子day19-1.py假如修改的元素是一个列表,源列表也会发生变化day19-2.py为什么会这样,因为第一次修改的是一个不可变元素对应的指针发生了变化,第二次 ... [详细]
  • 实验六提交版
    1.21.3part2共用体与结构体类型的区别?答:共用体与结构体的区别在于它们的表示方法不同。结构体内,结构体的各成员顺序排列存储,每个成员都有自己独立的存储位置,而共用体的情况 ... [详细]
  • JS swiper轮播图完美兼容手机端
    swiper ... [详细]
  • php黄色波浪线什么意思?
    导读:今天编程笔记来给各位分享关于php黄色波浪线什么意思的相关内容,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览: ... [详细]
  • 使用IGP和BGP的配合达到降低路由容量目的的实验与总结
    本文描述了OSPF和BGP配合来降低路由器的容量压力的实验和总结,有助于对IGP协议和BGP协议的互 ... [详细]
  • Forexamplewehavefollowingcode:$(el).hide()el.style.display'none'$(el).forEach((){ ... [详细]
  • 导读:今天编程笔记来给各位分享关于php技术员是什么的相关内容,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!本文目录一览: ... [详细]
  • 如何绘制直观易懂的时标网络图
    时标网络图是用活动的定位和长度表示活动历时的项目网络图。是含网络逻辑的横道图,并且是任何以工作位置和长度代表其持续时间的项目网络图。项目经理圈子在时标网络图中,以实箭线表示工作,实 ... [详细]
  • D-War(8.4.3)CrawlinginprocessCrawlingfailedTimeLimit:3000MS    MemoryLimit:0KB  ... [详细]
  • 1.html页面如何使用swiper对swiper不熟练的小伙伴们可能不知道怎么开始使用它,那么下面就让我来简单讲述一下关于swiper的使用流程,这 ... [详细]
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社区 版权所有