Bug 1739338
Summary: | libvirtd crashes when remove vtpm device from guest xml | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Yanqiu Zhang <yanqzhan> | ||||
Component: | libvirt | Assignee: | Ján Tomko <jtomko> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yanqiu Zhang <yanqzhan> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 8.1 | CC: | chhu, dyuan, fjin, jdenemar, jferlan, jtomko, marcandre.lureau, xuzhang, yanqzhan | ||||
Target Milestone: | rc | ||||||
Target Release: | 8.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | libvirt-5.6.0-2.el8 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-11-06 07:18:12 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: | |||||||
Attachments: |
|
Description
Yanqiu Zhang
2019-08-09 05:08:55 UTC
Created attachment 1602004 [details]
gdb-full.txt
Pushed upstream as: commit d8326cb8826170019c74018511d76c58665ab282 Author: Ján Tomko <jtomko> CommitDate: 2019-08-09 14:55:10 +0200 Revert "tpm: Check TPM XML device configuration changes after edit" Redefining a domain via virDomainDefineXML should not give different results based on an already existing definition. Also, there's a crasher somewhere in the code: https://bugzilla.redhat.com/show_bug.cgi?id=1739338 This reverts commit 94b3aa55f83ada33a9fdda66068d58ef1a56c0a5 Signed-off-by: Ján Tomko <jtomko> Reviewed-by: Jiri Denemark <jdenemar> git describe: v5.6.0-115-gd8326cb882 Verify this bug with: libvirt-5.6.0-5.module+el8.1.0+4229+2e4e348c.x86_64 qemu-kvm-4.1.0-10.module+el8.1.0+4234+33aa4f57.x86_64 swtpm-0.1.0-1.20190425gitca85606.module+el8.1.0+3966+4a23dca1.1.x86_64 swtpm-tools-0.1.0-1.20190425gitca85606.module+el8.1.0+3966+4a23dca1.1.x86_64 libtpms-0.6.1-0.20190121git9dc915572b.module+el8.1.0+3523+b348b848.2.x86_64 vtpm device can be removed from guest xml successfully by virsh edit or define after guest shutdown, or even when guest running, without crash. vtpm encryption test will be tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1753821. Mark this bug as verified per comment6. (And in that comment, means remove from *inactive* xml when guest/swtpm running or shutdown, sorry for potential ambiguity.) 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 |