Bug 1776183

Summary: Add driver manifest to the ISO/RPM
Product: Red Hat Enterprise Linux 8 Reporter: Tomáš Golembiovský <tgolembi>
Component: virtio-winAssignee: Vadim Rozenfeld <vrozenfe>
virtio-win sub component: distribution QA Contact: lijin <lijin>
Status: CLOSED WONTFIX Docs Contact:
Severity: medium    
Priority: medium CC: ailan, crobinso, ddepaula, juzhang, lijin, lrotenbe, mtessun, vrozenfe
Version: 8.1Keywords: RFE, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-25 07:30:48 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:    
Bug Blocks: 1828347    

Description Tomáš Golembiovský 2019-11-25 09:24:34 UTC
Please add driver manitfest file to the virtio-win ISO. Today it is not easy for layered products (like RHV) to find out if an ISO contains newer version of drivers than what is actually installed in the guest. There is no direct mapping between driver version and ISO version. 

For each driver present on the ISO it would be nice to have at least the following information:
- driver name
- driver version
- target windows version

Comment 5 Cole Robinson 2020-01-19 20:28:05 UTC
There's a public build with this info available now, virtio-win-0.1.173-3
ISO link: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.173-3/virtio-win-0.1.173.iso

The file is 'data/info.json'. I kept it generic in case we want to add more data to it in the future.

The format is slightly different that what was discussed internally. Originally it was:

  [{list}, {of}, {driver}, {mappings}, ...]

Now it is:

  {"drivers": [{list}, {of}, {driver}, {mappings}, ...]}

Again incase we want to extend it in the future

The packaging implementation should be picked up automatically by RHEL whenever they build next,
if using upstream virtio-win-pkg-scripts. Here's the commit:

https://github.com/crobinso/virtio-win-pkg-scripts/commit/898d5792d7fdda5ffbb6ef6f03118d0e0c704417

Comment 6 Cole Robinson 2020-01-23 16:25:20 UTC
Since the upstream work is done, I'll assign this to Danilo who will likely do the downstream build

Comment 7 Danilo de Paula 2020-03-24 18:50:50 UTC
Moving to Vadim as the maintainer of the next virtio-win builds.

Comment 8 Tomáš Golembiovský 2020-05-04 13:28:24 UTC
Any progress on this? When can we expect this to be released?

Also, upstream build contains the manifest only in the ISO. It would be preferable to have it in the RPM as well as the ISO. Would that be possible?

Comment 10 Vadim Rozenfeld 2020-05-05 02:37:31 UTC
(In reply to Tomáš Golembiovský from comment #8)
> Any progress on this? When can we expect this to be released?
> 
> Also, upstream build contains the manifest only in the ISO. It would be
> preferable to have it in the RPM as well as the ISO. Would that be possible?

We have such request from several people. 
I will keep in mind not to forget adding it to the next official rpm build.

Comment 29 RHEL Program Management 2021-05-25 07:30:48 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.