Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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