what does "virsh destroy" really ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Tue Oct 6 11:09:27 UTC 2020



----- Am 6. Okt 2020 um 1:12 schrieb Digimer lists at alteeve.ca:

> On 2020-10-05 6:04 p.m., Lentes, Bernd wrote:
>> Hi,
>> 
>> what does "virsh destroy" with the domain ? Send a kill -9 to the process ?
>> 
>> Bernd
>> 
> 
> It forces the guest off, like pulling the power on a hardware machine.
> Not sure of the exact mechanism behind the scenes. It does leave the
> server defined and you can reboot it again later (albeit like restoring
> power to a normal machine, so it might need to replay journals, etc).


Hi,

I know what it does, i'd like to know _how_ it does it.
Maybe i have to look in the source code, although i'm not a big code reader and much less a code developer.
Where can i find it ?

Bernd
Helmholtz Zentrum München

Helmholtz Zentrum München




More information about the libvirt-users mailing list