Bug 694554

Summary: [6.2 FEAT] Backport serial number support for virtio-blk devices (QEMU)
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
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: amit.shah, ddutile, jjarvis, juzhang, mkenneth, nobody+PNT0273897, sbest, virt-maint
Target Milestone: betaKeywords: FutureFeature, OtherQA
Target Release: 6.2   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-08 04:47:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 638197, 659725, 693510    
Attachments:
Description Flags
Add virtio disk identification support none

Description IBM Bug Proxy 2011-04-07 16:12:22 UTC
1. Feature Overview:
Feature Id: [71154]
a. Name of Feature: [6.2 FEAT] Backport serial number support for virtio-blk devices (QEMU)
b. Feature Description
Add serial number support for virtio block devices to enable /dev/disk/by-id symlinks which provide
a unique path to the device.

2. Feature Details:
Sponsor: LTC Open Virtualization
Architectures:  x86_64, 
Arch Specificity: purely common code
Affects Kernel Modules: No
Delivery Mechanism: Backport
Category: other
Request Type: Other
d. Upstream Acceptance: Accepted
Sponsor Priority P2
f. Severity: normal
IBM Confidential: No
Code Contribution: IBM code
g. Component Version Target: ---

3. Business Case
Multiple STG products will utilize disk hotplug support in KVM and require a method for uniquely
identifying virtio block devices.

4. Primary contact at Red Hat:
John Jarvis, jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Gregory F. McIntire, mcintire.com

Technical contact(s):
Ryan A. Harper, raharper.com

Comment 2 RHEL Program Management 2011-04-07 16:24:12 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 John Jarvis 2011-04-11 16:24:26 UTC
IBM is signed up to test and provide feedback, setting OtherQA.

Comment 4 IBM Bug Proxy 2011-05-18 16:50:28 UTC
Created attachment 499640 [details]
Add virtio disk identification support


------- Comment on attachment From strosake.com 2011-05-18 12:45 EDT-------


Backport of the following patch:

commit 2930b313dd602d67a568815b0b031b824916cec9
Author: john cooper <john.cooper>
Date:   Fri Jul 2 13:44:25 2010 -0400

    Add virtio disk identification support

    This patch adds the final missing bits for support of
    passing a serial/id string to a virtio-blk guest driver.

    The guest-side component already exists in the virtio
    driver, and has recently been reworked by Ryan to export
    a /sys interface for retrieval of the id from guest userland.

    Signed-off-by: john cooper <john.cooper>
    Signed-off-by: Kevin Wolf <kwolf>

Comment 5 Don Dutile (Red Hat) 2011-06-07 19:07:18 UTC
Dupe of 694553? Asking Amit to confirm.

Comment 6 Amit Shah 2011-06-08 04:47:17 UTC
Patch posted in another bug; marking as a dup.

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