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 1959154 - [ESXi][RHEL8] ESXi AARCH64 Bringup for Virt-What
Summary: [ESXi][RHEL8] ESXi AARCH64 Bringup for Virt-What
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virt-what
Version: ---
Hardware: aarch64
OS: All
unspecified
low
Target Milestone: beta
: ---
Assignee: Richard W.M. Jones
QA Contact: YongkuiGuo
URL:
Whiteboard:
Depends On:
Blocks: 1959167
TreeView+ depends on / blocked
 
Reported: 2021-05-10 19:25 UTC by Razvan Corneliu C.R. VILT
Modified: 2022-06-08 09:56 UTC (History)
6 users (show)

Fixed In Version: virt-what-1.18-12.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:32:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4370 0 None None None 2021-11-09 19:32:53 UTC

Description Razvan Corneliu C.R. VILT 2021-05-10 19:25:55 UTC
Virt-what doesn't recognize VMware VMs for AARCH64/ARM (with licensing implications in ESXi Fling for ARM and Fusion v.Next for ARM). I've created and attached a patch that adds both support for recognizing ESXi and the automated tests for it.

The patch is available in bug #1959152 (the EL7 version of this bug).

Comment 1 Richard W.M. Jones 2021-05-10 20:07:10 UTC
Patch added upstream:
http://git.annexia.org/?p=virt-what.git;a=commit;h=09094be5f2afa21bb5b8221580303f125fd90d0c

Comment 2 YongkuiGuo 2021-05-11 08:25:05 UTC
Hi rjones,

We don't have ESXi for aarch64 platform or hardware, so this bug has to be verified by reporter(Razvan Corneliu C.R. VILT).

Comment 3 Richard W.M. Jones 2021-05-11 17:52:29 UTC
Adding Martin for awareness.

Martin, for background, after demonstrating ESXi on Arm at a
conference several years ago, VMware seem to have produced some
kind of tech demo / preview product.  You can read more about it
here: https://flings.vmware.com/esxi-arm-edition

This bug is about whether we should port changes to virt-what
for this platform (actually the changes are not really specific
to Arm exactly, but are fixes to virt-what for later VMware
hypervisors that happen to be necessary for Arm).

There are also similar bugs for adding open-vmware-tools to RHEL.

Comment 4 Razvan Corneliu C.R. VILT 2021-05-12 20:44:09 UTC
Hi Guys,

I can obviously test a new RPM spin. The code has already been tested and the submitted patch was applied exactly as a patch to the newest src.rpm from EL8 before it was submitted. Note that you can test this by yourselves as long as you have an 8GB Raspberry PI 4 lying somewhere. Alternatively, I can create a VM for you to test on my home lab as long as you can share an SSH key.

This patch together with the other ones for SystemD and open-vmware-tools are needed for an upcoming version of ESXi that will support AARCH64 (beta is already in the wild) and a upcoming version of VMware Fusion for M1 based Macs.

Thanks,
R.

Comment 5 Richard W.M. Jones 2021-05-12 21:02:06 UTC
> Note that you can test this by yourselves as long as you have an
> 8GB Raspberry PI 4 lying somewhere.

Although I don't have one spare right at the moment (mine is running
Fedora), I might go down this route in future.  Are VMware giving
away previews/trials of ESXi/Aarch64 somewhere, like their 60 day
ESXi on x86 trial?

In the meantime is it possible you could test what was committed
upstream?  It should compile directly on RHEL 8 Aarch64, you'll only
need to install a few packages like gcc:

# dnf install git gcc autoconf automake libtool

$ git clone git://git.annexia.org/virt-what.git
$ cd virt-what
$ autoreconf -i
$ ./configure
$ make

To test it (without installing) run this command as root:

# PATH=.:$PATH ./virt-what

(It should print "vmware")

If it works upstream then I think we should be good here because what
I intend to package in RHEL 8/9 would be basically identical.  And I
can work on the Raspberry Pi later on.

Comment 6 John Ferlan 2021-06-17 20:56:17 UTC
Rich - assigning directly to you instead of virt-maint as this has an ITR and is for 8.5, so should have a real owner. Also set OtherQA to note that QA is not expected locally.

Left a needinfo on qa contact to set qa_ack+ in order to get release+ so we can hopefully move this along...

Comment 7 Richard W.M. Jones 2021-06-18 10:39:00 UTC
Note that after I make this change, virt-what will have
more capability in RHEL 8 than in RHEL 9.  In particular
RHEL 9 is currently missing this feature, and there doesn't
seem to be any bug for it filed against RHEL 9.

Also we added support upstream for Alibaba Cloud Linux, which
will not be present in RHEL 8 or 9.

Comment 8 Richard W.M. Jones 2021-06-18 10:40:17 UTC
Sorry, my mistake.  There is a bug against RHEL 9 already:
https://bugzilla.redhat.com/show_bug.cgi?id=1959174

Comment 11 Richard W.M. Jones 2021-06-18 11:14:46 UTC
I placed the proposed virt-what packages here in case
anyone wishes to do testing outside Red Hat:

http://oirase.annexia.org/tmp/bz1959154/

Comment 12 YongkuiGuo 2021-06-21 09:09:08 UTC
Verified with package:
virt-what-1.18-12.el8

Steps:

[yoguo@arm64-build-el8-01 ~] $ sudo rpm -Uvh virt-what-1.18-12.el8.aarch64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:virt-what-1.18-12.el8            ################################# [ 50%]
Cleaning up / removing...
   2:virt-what-1.18-7.el8             ################################# [100%]
[yoguo@arm64-build-el8-01 ~]$ sudo virt-what
vmware

It works as expected. Thanks Răzvan Corneliu C.R. VILT for providing the test env.

Comment 14 errata-xmlrpc 2021-11-09 19:32:37 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 (virt-what bug fix and enhancement update), 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-2021:4370


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