Bug 719284

Summary: If a VM is deleted, it's .save file should also be removed
Product: Red Hat Enterprise Linux 6 Reporter: Dan Yasny <dyasny>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: acathrow, dallan, dyuan, mzhan, rwu
Target Milestone: rc   
Target Release: 6.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-07 18:51:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Yasny 2011-07-06 10:49:22 UTC
Description of problem:
Whent he file is left around, it causes https://bugzilla.redhat.com/show_bug.cgi?id=719282 - a new VM reusing the old VM name cannot start because of an existing .save file

Version-Release number of selected component (if applicable):
libvirt-0.8.7-18.el6.x86_64


How reproducible:
always

Steps to Reproduce:
1.create VM
2.start VM
3.in virt-manager go to virtual machine>shut down>save
4. delete VM
  
Actual results:
.save file remains in /var/lib/libvirt/qemu/save/

Expected results:
$vmname.save should be deleted if the VM is gone

Additional info: