[libvirt-users] Preventing 'virsh start' while doing backup?

Ken Coar kcoar at redhat.com
Wed Jan 25 23:34:19 UTC 2012


Is there any way to interface with virsh to keep it from executing a
startup operation?  Sort of like the /etc/nologin (man page nologin(5))
mechanism?

Basically, I want to be able to shut down a VM in order to copy its
disk images, and be reasonably assured that it won't be started
before I'm finished.

Is there any sort of hook or interlock file or other mechanism to
accomplish this?

Thanks!
-- 
#ken	B-)}

Ken Coar, Sanagendamgagwedweinini
IT Engineering Tower, Red Hat/RDU

"Millennium hand and shrimp!"




More information about the libvirt-users mailing list