[Bug 863991] New: openSUSE 13.1 guest vm does not see passthrough usb hd (wd passport 1T)
https://bugzilla.novell.com/show_bug.cgi?id=863991 https://bugzilla.novell.com/show_bug.cgi?id=863991#c0 Summary: openSUSE 13.1 guest vm does not see passthrough usb hd (wd passport 1T) Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: KVM AssignedTo: kvm-bugs@forge.provo.novell.com ReportedBy: rob.verduijn@gmail.com QAContact: jdouglas@suse.com Found By: --- Blocker: --- Created an attachment (id=578629) --> (http://bugzilla.novell.com/attachment.cgi?id=578629) output from lsusb -vvs off the usb device on the kvm host User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 When installing opensuse13.1 as a kvm guest it does not see the passthrough usb hd. when using a different os for the vm (arch linux) the device is visible in the virtual machine, therefore I can rule out any errors in the kvm host. Reproducible: Always Steps to Reproduce: 1.create an opensuse virtual machine with kvm 2.finish installation using defaults 3.log in as root 4.issue lsusb and take note of current usb devices 5.shut down virtual machine 6.in virt-manager edit the machine and add hardware 7.select the USB-host device option and add the usb hd. 8 apply 9.boot the vm 10.log in as root and issue lsusb, compare with results from step 4 11. see that no usb device is added Actual Results: usb-host device passthrough device not visible in vm-guest Expected Results: usb-host device passthrough device should be visible in vm-guest I've added the outut of the lsusb -vvs so you can see what hardware I use to for the usbpassthrough -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863991 https://bugzilla.novell.com/show_bug.cgi?id=863991#c1 Bruce Rogers <brogers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |brogers@suse.com InfoProvider| |rob.verduijn@gmail.com AssignedTo|kvm-bugs@forge.provo.novell |brogers@suse.com |.com | --- Comment #1 from Bruce Rogers <brogers@suse.com> 2014-02-24 17:47:50 UTC --- Are you using libvirt to manage these guests? If so, please provide the logs from /var/log/libvirt/qemu. If you used the qemu / qemu-kvm command-line directly, please provide the command-line you used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863991 https://bugzilla.novell.com/show_bug.cgi?id=863991#c2 --- Comment #2 from Rob Verduijn <rob.verduijn@gmail.com> 2014-02-28 10:18:03 UTC --- Created an attachment (id=580503) --> (http://bugzilla.novell.com/attachment.cgi?id=580503) the qemu log for this machine -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863991 https://bugzilla.novell.com/show_bug.cgi?id=863991#c3 --- Comment #3 from Rob Verduijn <rob.verduijn@gmail.com> 2014-02-28 10:18:37 UTC --- Created an attachment (id=580504) --> (http://bugzilla.novell.com/attachment.cgi?id=580504) the xml definition from the guest -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863991 https://bugzilla.novell.com/show_bug.cgi?id=863991#c4 Rob Verduijn <rob.verduijn@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|rob.verduijn@gmail.com | --- Comment #4 from Rob Verduijn <rob.verduijn@gmail.com> 2014-02-28 10:18:53 UTC --- Sorry for the delay, my spare time is rather limited and I had to create a testsetup where the host was opensuse13.1 x86_64 and the guest opensuse 13.1 x86_64 Now that I've done a new host installation the guest will not even start when the usb-passthrough device is configured. The guest does start when the usb-passthrough device is removed from the configuration. I get the following error : Error starting domain: internal error: early end of file from monitor: possible problem: qemu-system-x86_64: -device usb-host,hostbus=5,hostaddr=4,id=hostdev0: Parameter 'driver' expects device type details : Error starting domain: internal error: early end of file from monitor: possible problem: qemu-system-x86_64: -device usb-host,hostbus=5,hostaddr=4,id=hostdev0: Parameter 'driver' expects device type Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 127, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1325, in startup self._backend.create() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 866, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error: early end of file from monitor: possible problem: qemu-system-x86_64: -device usb-host,hostbus=5,hostaddr=4,id=hostdev0: Parameter 'driver' expects device type I've recreated an opensuse vm with libvirt, using the defaults I've attached the opensuse13.xml and the qemu log you requested. Also I used the following extra repositorie for the host : http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=863991 https://bugzilla.novell.com/show_bug.cgi?id=863991#c5 Peter McDonough <send.post@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |send.post@gmx.net --- Comment #5 from Peter McDonough <send.post@gmx.net> 2014-08-24 12:01:54 UTC --- I think this bug is a duplicate of: https://bugzilla.novell.com/show_bug.cgi?id=863933 I've got similar problems. Host: openSuSE 13.1 64bit plus Virtualization repo Guests: openSuSE 13.1 32bit Windows 8.1 Trying to create an usb connections with several devices as described above failed. usb-scanner, hd-drive, flash drive with similar error messages. Example: Error message with a flash drive, trying to connect to the Windows VM --------------- Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 127, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/domain.py", line 1355, in startup self._backend.create() File "/usr/lib64/python2.7/site-packages/libvirt.py", line 951, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error: process exited while connecting to monitor: 2014-08-20T17:10:19.344457Z qemu-system-x86_64: -device usb-host,hostbus=2,hostaddr=8,id=hostdev0: 'usb-host' is not a valid device model name ----------------- Additional test via CLI: qemu-kvm /lokal/VMs/images_kvm/Win8_Pro.qcow2 -usb -device usb-host,hostbus=2,hostaddr=8 Warning: default mac address being used, creating potential for address conflict qemu-system-x86_64: -device usb-host,hostbus=2,hostaddr=7: 'usb-host' is not a valid device model name cu Peter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com