Bug 795299 - Qemu-kvm should refuse to start in migration listening mode when there is usb-host device
Summary: Qemu-kvm should refuse to start in migration listening mode when there is usb...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Juan Quintela
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-20 07:41 UTC by Shaolong Hu
Modified: 2012-02-28 02:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-28 02:49:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Shaolong Hu 2012-02-20 07:41:23 UTC
Description of problem:
-------------------------
When there is "pci-assign" device and "-incoming" in cmd, qemu-kvm fails to start, it should be the same when there is "usb-host" device.


Version-Release number of selected component (if applicable):
--------------------------------------------------------------
qemu-kvm-0.12.1.2-2.231.el6.x86_64


How reproducible:
-----------------
100%

Steps to Reproduce:
-------------------
1.boot guest with "-device usb-host,hostbus=X,hostaddr=X,id=X -incoming tcp:0:5555" where the usb-host device does exist.

  
Actual results:
-----------------
Qemu-kvm starts successfully and begins to listen.


Expected results:
------------------
Qemu-kvm should refuse to start and prompt error.

Comment 2 Chao Yang 2012-02-21 02:33:59 UTC
FYI:
https://bugzilla.redhat.com/show_bug.cgi?id=723870
#1: we should fail migration if usb devices tagged without migration support
#15: fail migration with usb device passthru'd

Fail migration instead of refusing launch listening mode works as designed, I think.

Comment 4 Juan Quintela 2012-02-27 13:59:04 UTC
also notice that usb is different from pci passthrough.  usb understands hot-plug/unplug natively.  In pci, that is much, much more complicated.

For comment 3, I guess that we can close this bugzilla?

Comment 5 Shaolong Hu 2012-02-28 02:49:11 UTC
(In reply to comment #4)
> also notice that usb is different from pci passthrough.  usb understands
> hot-plug/unplug natively.  In pci, that is much, much more complicated.
> 
> For comment 3, I guess that we can close this bugzilla?

Since current solution works well, no need to be consistent with pci passthrough way, close this as WONTFIX.


Note You need to log in before you can comment on or make changes to this bug.