Bug 1472871

Summary: Update virt-what to detect AWS platform.
Product: Red Hat Enterprise Linux 7 Reporter: Flos Qi Guo <qguo>
Component: virt-whatAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: rjones, xchen, xiliang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-what-1.18-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1644493 1644497 (view as bug list) Environment:
Last Closed: 2018-04-10 16:22:43 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: 1113520, 1288337, 1301891, 1644493, 1644497    
Attachments:
Description Flags
Update virt-what to detect AWS via dmidecode data. none

Description Flos Qi Guo 2017-07-19 14:56:49 UTC
Created attachment 1301150 [details]
Update virt-what to detect AWS via dmidecode data.

> Description of problem:
Current virt-what just shows up 'xen,xen-hvm' on Amazon AWS platform. A little patch can help to detect these systems.

> Version-Release number of selected component (if applicable):
virt-what-1.13-8.el7.x86_64 or latest upstream

> How reproducible:
Always

> Steps to Reproduce:
1. Start AWS instance.
2. Run virt-what as root

> Actual results:
Returned output:
xen
xen-hvm

> Expected results:
Output can be:
xen
xen-hvm
aws

> Additional info:
Please kindly check the patch in the attachment.

Comment 2 Richard W.M. Jones 2017-07-19 15:40:27 UTC
Thanks, I have pushed the patch upstream here:

http://git.annexia.org/?p=virt-what.git;a=commitdiff;h=dc32228184622b28f412f527c0f353347db029b8

Comment 3 Richard W.M. Jones 2017-07-19 15:42:10 UTC
*** Bug 681464 has been marked as a duplicate of this bug. ***

Comment 4 Flos Qi Guo 2017-07-20 01:41:16 UTC
Thank you Richard! ;)

Comment 5 Xianghua Chen 2017-07-31 06:32:17 UTC
Can reproduce this bug with :
virt-what-1.13-10.el7.x86_64

Steps:
1. Apply for a AWS account and start an rhel7.4 instance
2. 
# sudo virt-what
xen
xen-hvm

Comment 7 Xianghua Chen 2018-01-17 07:33:37 UTC
Verified with packages:
virt-what-1.18-4.el7.x86_64

Steps:
1. Apply for a AWS account and start an rhel7.5 instance
2. 
# sudo virt-what
xen
xen-hvm
aws

Comment 10 errata-xmlrpc 2018-04-10 16:22:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0896