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:


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.