Red Hat Bugzilla – Bug 1283033
The uefi vars nvram is not deleted after the vm has been
Last modified: 2017-03-06 18:13:04 EST
Description of problem:
The per-vm specific uefi vars nvram should be deleted when the vm is.
This should normally not cause any harm, but if a vm is created with the same name as a previously deleted vm, but with a incompatible uefi (e.g. different architecture), this could cause problems.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a VM named generic
2. Delete the VM
3. ls /var/lib/libvirt/qemu/nvram
generic_VARS.fd still remains there
generic_VARS.fd is deleted
We use the UNDEFINE_NVRAM flag at delete time, so I think that covers this nowadays