[et-mgmt-tools] replacing a file under kvm

David Lutterkort lutter at redhat.com
Thu Aug 28 20:33:39 UTC 2008


On Thu, 2008-08-28 at 12:46 -0400, Bryan Kearney wrote:
> I know you should not do this, but I am just curious. Assume I have a 
> virtual machine running (git appliance) and I rebuild the image, thus 
> replacing on the file system the backing for the machine I see in 
> virt-manager. If I destroy the machine via virt-manager has it attempted 
> to write bits to the underliing file?

If it's backed by a file, normal Unix fs semantics make sure that
nothing evil happens: even though you deleted the file in the
filesystem, it won't really go away until after it is not being used
anymore, i.e. until after the VM shuts down.

David





More information about the et-mgmt-tools mailing list