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.
DescriptionRichard W.M. Jones
2011-03-02 09:37:36 UTC
+++ This bug was initially created as a clone of Bug #671126 +++
It would be better if, when you run virt-what on an EC2
instance, it would say something like:
# virt-what
xen
xen-domU
xen-EC2
In 6.0 it was completely wrong about EC2. In 6.1 we fixed that
so it now says:
# virt-what
xen
Comment 3Richard W.M. Jones
2011-06-10 11:14:42 UTC
Looks like we'll be able to investigate this for 6.2.
Comment 4Richard W.M. Jones
2011-08-11 11:40:40 UTC
Push this up to 6.3, it's not a customer bug.
Comment 5Richard W.M. Jones
2012-03-05 13:13:14 UTC
Comment 7RHEL Program Management
2012-07-10 05:51:46 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
Comment 8RHEL Program Management
2012-07-11 02:02:25 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
Comment 9Richard W.M. Jones
2012-08-10 13:17:08 UTC
Pushed to RHEL 6.5 for the same reason as comment 4.
Comment 13Richard W.M. Jones
2013-10-28 08:31:01 UTC
I don't have a way to test any of this, but I have just
added the two upstream patches which are not part of virt-what 1.13
(which includes the missing commit I mentioned in the previous comment).
So please try:
http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6472054
virt-what-1.13-2.el7
(In reply to Richard W.M. Jones from comment #13)
> I don't have a way to test any of this, but I have just
> added the two upstream patches which are not part of virt-what 1.13
> (which includes the missing commit I mentioned in the previous comment).
>
> So please try:
> http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6472054
> virt-what-1.13-2.el7
Downloaded and installed the package you provided, but nothing changed.
[root@ip-10-179-14-42 fedora]# virt-what
xen
grep: /proc/xen/capabilities: No such file or directory
xen-domU
[root@ip-10-179-14-42 fedora]# yum info virt-what
Installed Packages
Name : virt-what
Arch : x86_64
Version : 1.13
Release : 2.el7
Size : 40 k
Repo : installed
From repo : /virt-what-1.13-2.el7.x86_64
<omit some outputs here>
Also, directory `/proc/xen` do exist, but is empty.
[root@ip-10-179-14-42 fedora]# ls -a /proc/xen/
. ..
Comment 15Richard W.M. Jones
2013-10-28 11:16:47 UTC
(In reply to Richard W.M. Jones from comment #15)
> OK, thanks for testing. Looks like this is still buggy
> because the 'grep' command is not sufficiently silenced.
>
> Try this one:
> http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6472395
> virt-what-1.13-3.el7
Here's the result:
[root@ip-10-179-14-42 fedora]# virt-what
xen
xen-domU
[root@ip-10-179-14-42 fedora]# yum info virt-what
Installed Packages
Name : virt-what
Arch : x86_64
Version : 1.13
Release : 3.el7
Size : 40 k
Repo : installed
From repo : /virt-what-1.13-3.el7.x86_64
Testing on RHEL-7.0_HVM_beta-x86_64-4-HVM-Access2 (ami-5b183532)
[ec2-user@ip-10-186-149-84 ~]$ rpm -qa | grep virt-what
virt-what-1.13-3.el7.x86_64
[ec2-user@ip-10-186-149-84 ~]$ sudo virt-what
xen
xen-hvm
Rich,
If this output is ok, or it should also display "xen-EC2"?
Comment 18Richard W.M. Jones
2014-04-11 07:33:30 UTC
(In reply to Wei Shi from comment #17)
> Testing on RHEL-7.0_HVM_beta-x86_64-4-HVM-Access2 (ami-5b183532)
>
> [ec2-user@ip-10-186-149-84 ~]$ rpm -qa | grep virt-what
> virt-what-1.13-3.el7.x86_64
> [ec2-user@ip-10-186-149-84 ~]$ sudo virt-what
> xen
> xen-hvm
>
> Rich,
> If this output is ok, or it should also display "xen-EC2"?
Note that this bug has not been fixed. It should display
something like "xen-EC2" (the exact string hasn't been decided).
It's not expected to at the moment. What it prints above is
fairly reasonable.
Comment 22RHEL Program Management
2014-07-21 15:45:45 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.
Comment 23Richard W.M. Jones
2014-07-21 15:48:44 UTC
I didn't realize that would actually close the bug ...
Comment 26Richard W.M. Jones
2016-06-20 12:22:57 UTC
This package is on the ACL for RHEL 7.3 (yay!). Unfortunately
we don't have a clear fix for this upstream. So I will defer
this to RHEL 7.4 unless we have a clear plan to fix this upstream
and test the fix.
Comment 27Richard W.M. Jones
2017-02-16 12:34:03 UTC
Moving to RHEL 7.5 for the same reasons as comment 26.
Comment 28Richard W.M. Jones
2017-07-19 15:42:10 UTC
This feature has now been implemented by Qi Guo.
*** This bug has been marked as a duplicate of bug 1472871 ***