[libvirt] [PATCH 1/9] Add domain event for metadata changes

Michal Privoznik mprivozn at redhat.com
Thu Jan 5 15:23:51 UTC 2017


On 01/05/2017 03:54 PM, Peter Krempa wrote:
> On Thu, Jan 05, 2017 at 13:59:19 +0000, Daniel Berrange wrote:
>> When changing the metadata via virDomainSetMetadata, we now
>> emit an event to notify the app of changes. This is useful
>> when co-ordinating different applications read/write of
>> custom metadata.
>>
>> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
>> ---
> 
> I remember that we rejected when oVirt wanted to have this so that
> libvirtd would not become a new messaging service for apps using
> libvirt.

I think it's worth having an event whenever domain definition changes.
Just like we want qemu folks to emit events instead of us having to poll
all the time, our users want just the same. I haven't looked into the
patches yet though, will do tomorrow.

Michal




More information about the libvir-list mailing list