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 671126 - virt-what does not detect EC2 Xen instances
Summary: virt-what does not detect EC2 Xen instances
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-what
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 681464
TreeView+ depends on / blocked
 
Reported: 2011-01-20 13:22 UTC by Richard W.M. Jones
Modified: 2013-08-27 07:04 UTC (History)
8 users (show)

Fixed In Version: virt-what-1.3-4.2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 681464 (view as bug list)
Environment:
Last Closed: 2011-05-19 13:34:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0604 0 normal SHIPPED_LIVE new package: virt-what 2011-05-18 17:56:31 UTC

Description Richard W.M. Jones 2011-01-20 13:22:48 UTC
Description of problem:

(Thanks to Marek Goldmann for additional testing)

virt-what doesn't detect EC2 Xen instances.  Fedora running on
these does not have any /proc/xen directory.

Instead /sys/hypervisor/type contains the string "xen" (sans quotes).

Version-Release number of selected component (if applicable):

1.6

Additional info:

This is the official way to detect variations of Xen:
http://lxr.xensource.com/lxr/source/tools/misc/xen-detect.c

Comment 1 Richard W.M. Jones 2011-01-20 13:24:10 UTC
(In reply to comment #0)
> virt-what doesn't detect EC2 Xen instances.  Fedora running on
> these does not have any /proc/xen directory.

Sorry, there is a /proc/xen directory but it is empty.

Comment 5 Jinxin Zheng 2011-02-18 10:41:08 UTC
Richard, how can we have access to an instance of the EC2? We don't have such resource to do the verification test.

Comment 10 Richard W.M. Jones 2011-03-02 09:38:52 UTC
(In reply to comment #9)
> I'm happy anyway that for 6.1 it at least detects the
> EC2 is virtualized and is a variant of Xen.  And we
> can look at fixing the rest for the next version.

Cloned this as bug 681464, so we can fix this properly
for 6.2 or later.

Comment 12 errata-xmlrpc 2011-05-19 13:34:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0604.html


Note You need to log in before you can comment on or make changes to this bug.