Re: Exclusive VM lock

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

 



On Mon, Dec 14, 2015 at 17:18:22 +0300, Dmitry Andreev wrote:
> Hi,
> 
> I'm looking for a mechanism to do a sequence of API calls as atomic
> operation. Is there any way for libvirt's API client to acquire an
> exclusive VM lock to prevent other client from changing VM state
> through libvirt?

No there isn't anything. Libvirt is locking only on internal events that
need protection.

Doing transaction locking should be relatively easy to implement on
application layer though.

Peter

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]