Public bug reported:

I'm trying to passthrough USB Flash drive from Host to Guest with virt-
manager with no success.

1. I'm starting virt-manager.
2. Putting my USB Flash drive into USB port.
3. Adding USB Host Device with my USB Flash drive. It appears in hardware list 
as USB 090c:1000 device.
4. I'm starting my VM and when it is finished no usb device I can see in my 
guest: lsusb doesn't shows it.
-------------------
I tried another way. When VM is started I executed:

$ sudo virt-xml Kubuntu-16.04.x-x86_64-14GiB --update --add-device 
--host-device 090c:1000
Для пристрою успішно виконано дію hotplug.
Домен «Kubuntu-16.04.x-x86_64-14GiB» успішно визначено.

But nothing's changed in guest system: no any new device appeared.
-------------------
I tried also:
1. Creating usbhostdev.xml file with the following content:

<hostdev mode='subsystem' type='usb'>
        <source>
                <vendor id='0x090c'/>
                <product id='0x1000'/>
        </source>
</hostdev>

2. $ sudo virsh attach-device Kubuntu-16.04.x-x86_64-14GiB
/tmp/usbhostdev.xml

This also added USB 090c:1000 device in virt-manager but nothing's
changed is guest system again.

I think this is a bug or something I'm doing wrong possibly.

Some additional info:
Host: Kubuntu 16.04 LTS
Linux: 4.7.0-040700rc7-generic x86_64
libvirt-bin: 1.3.1-1ubuntu10.1
qemu-system-x86: 2.5+dfsg-5ubuntu10.2

Guest: Kubuntu 16.04 LTS / Windows 7 x64
Linux: 4.4.0-28-generic x86_64

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: virt-manager 1:1.3.2-3ubuntu1.16.04.1
Uname: Linux 4.7.0-040700rc7-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Jul 15 22:40:58 2016
InstallationDate: Installed on 2014-06-08 (768 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
PackageArchitecture: all
SourcePackage: virt-manager
UpgradeStatus: Upgraded to xenial on 2016-02-04 (161 days ago)

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages xenial

** Summary changed:

- USB Host Device passthrought [Host --> Guest] is not working with virt-manager
+ USB Host Device passthrought [Host --> Guest] is not working

** Also affects: libvirt (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1603558

Title:
  USB Host Device passthrought [Host --> Guest] is not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1603558/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to