Bug 953304

Summary: Serial number of some USB devices must be fixed for older RHEL machine types
Product: Red Hat Enterprise Linux 7 Reporter: Paolo Bonzini <pbonzini>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, armbru, hhuang, juzhang, kraxel, michen, pbonzini, qzhang, rhod, shu, sluo, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-7.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 953302 Environment:
Last Closed: 2014-06-13 10:04:00 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: 977864, 983991    
Bug Blocks: 841379, 895959, 983997, 984008, 984010, 987757    

Description Paolo Bonzini 2013-04-17 21:30:54 UTC
Old-enough RHEL6 machine types used '1' as the serial number of USB HID devices.  This should not change upon migration.

This should be doable upstream too.

RHEL6 is also not migrating the devices for those old versions.  This is a hack and is not needed in RHEL7.

Comment 6 Markus Armbruster 2013-09-09 12:11:21 UTC
Likewise, usb-hub and usb-storage need fixed serial numbers for machine types rhel-6.3.0 and older, and usb-ccid for all rhel-6*.

Comment 7 Miroslav Rezanina 2013-09-26 09:33:44 UTC
Fix included in qemu-kvm-1.5.3-7.el7

Comment 9 Shaolong Hu 2013-11-27 10:17:56 UTC
Verified on qemu-kvm-1.5.3-19.el7.x86_64:

1. boot guest with:

#/usr/libexec/qemu-kvm -enable-kvm -smp 4 -m 4G -name rhel6.3-64 -uuid 3f2ea5cd-3d29-48ff-aab2-23df1b6ae213 -boot order=cd -monitor stdio -usb -device usb-tablet,id=input0,serial=123456 -vnc :10 -monitor tcp::1234,server,nowait -nodefaults -drive file=RHEL-Server-7.0-64-virtio.qcow2,cache=none,if=none,rerror=stop,werror=stop,id=drive-virtio-disk0,format=qcow2,aio=native -device virtio-blk-pci,drive=drive-virtio-disk0,id=device-virtio-disk0,bootindex=1 -vga cirrus


2. in guest:

# lsusb -v

...
iSerial 5 123456
...

Comment 10 Ludek Smid 2014-06-13 10:04:00 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.