Bug 1728947
| Summary: | Hot unplug vfio-pci NIC devices from sev guest will cause qemu-kvm: sev_ram_block_removed: failed to unregister region | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Pei Zhang <pezhang> | |
| Component: | qemu-kvm | Assignee: | Amnon Ilan <ailan> | |
| Status: | CLOSED ERRATA | QA Contact: | Pei Zhang <pezhang> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 8.1 | CC: | alex.williamson, chayang, ddepaula, ehabkost, jinzhao, juzhang, leiyang, virt-maint, zhguo | |
| Target Milestone: | rc | Flags: | knoel:
mirror+
|
|
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | qemu-kvm-4.1.0-1.module+el8.1.0+3966+4a23dca1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1728958 (view as bug list) | Environment: | ||
| Last Closed: | 2019-11-06 07:17:49 UTC | Type: | Bug | |
| 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: | ||||
| Bug Blocks: | 1728958 | |||
|
Description
Pei Zhang
2019-07-11 05:26:45 UTC
See bug 1728958, this is the same issue. The fix is already in QEMU 4.1-rc1. As this is against RHAV, I expect this should move to ON_QA, fixed in v4.1-rc1. As noted in comment #3, fixed by: 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> Verified with qemu-kvm-4.1.0-4.module+el8.1.0+4020+16089f93.x86_64: Following steps of Description. After hot plug PFs, qemu works well without 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/RHBA-2019:3723 |