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.
The issue seems to be harmless, code was added to skip assigned device mmio regions from sev mapping when added, but the reciprocal code on removal was missed. Please test if this brew build resolves the warning: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=22630995
(In reply to Alex Williamson from comment #3)
> The issue seems to be harmless, code was added to skip assigned device mmio
> regions from sev mapping when added, but the reciprocal code on removal was
> missed. Please test if this brew build resolves the warning:
> https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=22630995
This build works well, the issue is gone. Thanks.
Best regards,
Pei
Fixed in upstream commit which will be included in 4.1-rc1
commit 56e2ec9488b3b281130e064929f8ae5595d6ac39
Author: Alex Williamson <alex.williamson>
Date: Mon Jul 15 08:28:39 2019 -0600
target/i386: sev: Do not unpin ram device memory region
The commit referenced below skipped pinning ram device memory when
ram blocks are added, we need to do the same when they're removed.
Cc: Brijesh Singh <brijesh.singh>
Cc: Paolo Bonzini <pbonzini>
Fixes: cedc0ad539af ("target/i386: sev: Do not pin the ram device memory region")
Signed-off-by: Alex Williamson <alex.williamson>
Message-Id: <156320087103.2556.10983987500488190423.stgit>
Reviewed-by: Singh, Brijesh <brijesh.singh>
Signed-off-by: Paolo Bonzini <pbonzini>
(In reply to Alex Williamson from comment #6)
> Fixed in upstream commit which will be included in 4.1-rc1
This is a RHEL BZ, isn't a backport necessary?
(In reply to Eduardo Habkost from comment #7)
> (In reply to Alex Williamson from comment #6)
> > Fixed in upstream commit which will be included in 4.1-rc1
>
> This is a RHEL BZ, isn't a backport necessary?
Yes, I didn't immediately recognize that this was a RHEL bz rather than RHAV since the initial report was based on QEMU 4.0. Moving back to assigned.
Verified by qemu-kvm-2.12.0-82.module+el8.1.0+3738+0d8c0249.x86_64:
Steps:
1. Boot guest with sev and device assignment
2. Hot unplug vfio-pci devices, qemu works well.
(qemu) device_del pf1
(qemu) device_del pf2
(qemu)
3. Reboot/shutdown guest, works well. No any error.
So this bug has been fixed very well.
Move to 'VERIFIED'.
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, 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-2019:3345