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 2044162

Summary: [RHEL9.1] Enable virtio-mem as tech-preview on ARM64 QEMU
Product: Red Hat Enterprise Linux 9 Reporter: Guowen Shan <gshan>
Component: qemu-kvmAssignee: Guowen Shan <gshan>
qemu-kvm sub component: General QA Contact: Zhenyu Zhang <zhenyzha>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: david, eric.auger, jherrman, lijin, mrezanin, virt-maint, yihyu, zhenyzha
Version: 9.1Keywords: FutureFeature, Reopened, Triaged
Target Milestone: rcFlags: gshan: needinfo-
gshan: needinfo-
pm-rhel: mirror+
Target Release: 9.1   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-7.0.0-2.el9 Doc Type: If docs needed, set a value
Doc Text:
See https://bugzilla.redhat.com/show_bug.cgi?id=2014487
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 09:53:29 UTC Type: Feature Request
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: 2044155    
Bug Blocks: 1924294, 2044172, 2047797    

Description Guowen Shan 2022-01-24 07:20:06 UTC
This bug is created to enable virtio-mem from QEMU side on ARM64. The
corresponding guest kernel work is tracked by bug 2044155. The similar
work has been done on x86 via bug 2014484

Comment 1 Guowen Shan 2022-01-28 07:10:35 UTC
The QEMU patches have been merged to upstream.

https://www.mail-archive.com/qemu-devel@nongnu.org/msg861122.html

b1b87327a9 hw/arm/virt: Support for virtio-mem-pci
1263615efe virtio-mem: Correct default THP size for ARM64

Comment 2 Guowen Shan 2022-04-06 01:09:36 UTC
This depends on the work to enable virtio-mem in kernel, which is tracked
by bug 2044155

Comment 6 Guowen Shan 2022-04-25 07:08:55 UTC
Zhenyu, virtio-mem device is available now from the following package.
I also tried the 'qemu-kvm' binary and virtio-mem works as expected.

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=44837626

Thanks,
Gavin

Comment 7 Miroslav Rezanina 2022-04-25 12:10:40 UTC
Removed Fixed in version as this BZ require additional changes.

Comment 10 Zhenyu Zhang 2022-05-06 07:45:09 UTC
Testing, will update the results later.

Comment 15 Zhenyu Zhang 2022-05-07 08:45:38 UTC
Hello Gavin,

According to comment11-14 I think virtio-mem verification is complete, 
Since this patch has been merged into downstream so I want to set the bug as closed currentrelease.
What do you think?

Comment 17 Zhenyu Zhang 2022-05-07 09:19:37 UTC
Close this bug as current-release according to comment15 and comment16.

Comment 18 Zhenyu Zhang 2022-05-09 06:10:06 UTC
Hello Miroslav,

Sorry to bother you.
Although this bug has actually been verified, but according to Workflow QE needs to wait for the bug to become ON_QA before setting verify.
So I reverted the bug to the previous MODIFIED state and set Verified: tested
Please help to change the bug status.

Comment 20 Miroslav Rezanina 2022-05-13 06:12:27 UTC
(In reply to Zhenyu Zhang from comment #18)
> Hello Miroslav,
> 
> Sorry to bother you.
> Although this bug has actually been verified, but according to Workflow QE
> needs to wait for the bug to become ON_QA before setting verify.
> So I reverted the bug to the previous MODIFIED state and set Verified: tested
> Please help to change the bug status.

Thanks for info, Zhenyu. I'll take care of the BZ.

Comment 23 Zhenyu Zhang 2022-05-13 07:43:17 UTC
According to comment12 - comment16 set bug to verified

Comment 31 errata-xmlrpc 2022-11-15 09:53:29 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 (Moderate: qemu-kvm security, 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/RHSA-2022:7967