Re: quickest way to stop VM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thx lot, Eric 

Sent from my iPhone4S


On Aug 13, 2012, at 3:21 PM, Eric Blake <eblake@xxxxxxxxxx> wrote:

> On 08/13/2012 04:05 PM, Harish Patil wrote:
>> Hello
>> Which is the quickest way to stop KVM guest VM. I am not interested in
>> saving anything; I just have to make sure that VM apps are ended quickly.
>> i) virsh shutdown
> 
> Depends on the guest honoring your request, which means it might not
> succeed at all.
> 
>> ii) virsh suspend
> 
> Doesn't actually stop the guest, just pauses it, so the KVM process is
> still around.
> 
>> iii) virsh destroy
> 
> Bingo.  Kills the qemu process, and thus instantly frees the KVM
> resources.  Use with care if you plan to restart things later (it is the
> same as yanking a power cord), but for a one-shot usage, this is what
> you want.
> 
>> 
>>> From little descriptions I have, looks like destroy is the fastest way and
>> acts like a removal of a power plug.
>> Pls let me know.
> 
> You got it.
> 
> -- 
> Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
> 

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux