Bug 1268290
Summary: | Cannot migrate USB camera | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Andrei Stepanov <astepano> | ||||
Component: | spice | Assignee: | Default Assignee for SPICE Bugs <rh-spice-bugs> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | SPICE QE bug list <spice-qe-bugs> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.2 | CC: | astepano, cfergeau, dblechte, tpelka, victortoso | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-03-30 09:08:54 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1268879 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Andrei Stepanov
2015-10-02 12:48:22 UTC
Created attachment 1079438 [details]
remote-viewer log
The bug successfully reproduced on RHEL-7.2-Snapshot-4.0: kernel-3.10.0-320.el7.x86_64 qemu-kvm-1.5.3-104.el7.x86_64 spice-server-0.12.4-15.el7.x86_64 I want bring more light on this bug. The bug is not about migration. Migration only exposure it. I found different behavior depending how to pass arguments to qemu-kvm Variant_1 (reproduces the bug): -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 -readconfig /etc/qemu-kvm/ich9-ehci-uhci.cfg Variant_2 (doesn't reproduce bug): -readconfig /etc/qemu-kvm/ich9-ehci-uhci.cfg -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 Even more. With Variant_1 I can _only_ record voice data (arecord -f cd file.wav) using camera's microphone. I cannot capture video with Variant_1. USB flash stick driver works fine with both: Variant_1 and Variant_2. It can migrate successfully. I am not sure that rhbz#1268879 fixes this problem. But, what I am sure of is that, as long as rhbz#1268879 is open this bug cannot be verified. Host is: kernel-3.10.0-367.el7.x86_64 qemu-kvm-1.5.3-109.el7.x86_64 I can successfully migrate two different USB cameras. From: /usr/libexec/qemu-kvm -m 1024 -spice port=$SRCPORT,disable-ticketing,addr=$SRCIPADDR,seamless-migration=on -vga qxl -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent,debug=0 -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -readconfig /etc/qemu-kvm/ich9-ehci-uhci.cfg -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 $GUEST_IMAGE_PATH -monitor stdio -usb -device intel-hda -device hda-duplex (qemu) client_migrate_info spice spice-bkr02 3001 (qemu) migrate -d tcp:127.0.0.1:55555 To: /usr/libexec/qemu-kvm -m 1024 -spice port=$DSTPORT,disable-ticketing,addr=$SRCIPADDR,seamless-migration=on -vga qxl -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent,debug=0 -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -readconfig /etc/qemu-kvm/ich9-ehci-uhci.cfg -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 $GUEST_IMAGE_PATH -monitor stdio -usb -device intel-hda -device hda-duplex -incoming tcp:$DSTMIGIPADDR:$DSTMIGPORT Where: export SRCPORT=3000 export SRCIPADDR="::" export DSTPORT="3001" export DSTIPADDR="::" export GUEST_IMAGE_PATH="/root/rhel71-64_guest.qcow2" export DSTMIGIPADDR="127.0.0.1" export DSTMIGPORT="55555" It works for me. I considering this bug a consequence of Bug 1268879 and as per Comment 8, this is fixed. *** This bug has been marked as a duplicate of bug 1268879 *** |