Bug 750831

Summary: booting guest with emulated USB stick and physical USB stick under dhci failed
Product: Red Hat Enterprise Linux 6 Reporter: Xiaomei Gao <xigao>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: acathrow, bsarathy, juzhang, michen, mkenneth, qzhou, virt-maint, wquan, xwei
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-03 01:56:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Xiaomei Gao 2011-11-02 13:29:10 UTC
Description of problem:
-----------------------
passthrough emulated usb stick and physical usb stick to guest under dhci, core dumped


Version-Release number of selected component (if applicable):
------------------------------------------------------------
host:
qemu-kvm-0.12.1.2-2.207.el6.x86_64
2.6.32-214.el6.x86_64
guest:
2.6.32-214.el6.x86_64


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


Steps to Reproduce:
-------------------
1. create storage.raw
   qemu-img create -f raw usb-storage.raw 10G
2. boot guest 
/usr/libexec/qemu-kvm -enable-kvm -M rhel6.2.0 -smp 2 -m 2G -name RHEL-Server-6.2-64 -uuid c56fbdc2-dab0-4f87-9342-f0a45d9a84bf -drive file=/home/RHEL-    Server-6.2-64.raw,cache=none,media=disk,if=none,rerror=stop,werror=stop,id=drive-ide-disk0,format=raw -device ide-drive,drive=drive-ide-disk0,id=device-virtio-disk0,bootindex=0 -netdev tap,script=/etc/qemu-ifup,id=netdev0 -device rtl8139,netdev=netdev0,id=device-net0,mac=9a:fe:9d:9b:24:50,id=ndev00idqBCDBo,bus=pci.0,addr=0x3 -boot order=cd,menu=on -monitor stdio -spice port=8000,disable-ticketing -vga qxl -balloon virtio -usb -device usb-host,hostbus=1,hostaddr=3,id=hostdev1 -drive file=/home/storage.raw,if=none,id=storage0,media=disk,cache=none,format=raw -device usb-storage,drive=storage0
   
  
Actual results:
---------------
qemu-kvm: /builddir/build/BUILD/qemu-kvm-0.12.1.2/hw/usb.c:345: usb_packet_complete: Assertion `p->owner != ((void *)0)' failed.
Aborted (core dumped)

Expected results:
-----------------
boot guest with emulated USB stick and physical USB stick assigned from host under dhci successfully

Comment 2 juzhang 2011-11-03 01:56:29 UTC

*** This bug has been marked as a duplicate of bug 740707 ***