[libvirt-users] SIGTERM signal to qemu-kvm process

Michal Privoznik mprivozn at redhat.com
Thu Apr 9 08:24:32 UTC 2015


On 08.04.2015 10:24, Jatin Davey wrote:
> Hi
> 
> I am using QEMU 0.12.1 as the hypervisor in my RHEL installation of 6.5.
> 
> I wanted to know if there are any side-effects with respect to VM image
> corruption when i use SIGTERM signal to kill a qemu-kvm process which
> effectively stops my VM running on the host.

It's equivalent to plugging the power cord from a computer. If you're
using journaled FS, disks should be in consistent state, however you
still may experience data loss. Moreover, I'd advice you to use
virDomainDestroy() API (or 'virsh destroy').

Michal




More information about the libvirt-users mailing list