Re: [libvirt] [PATCH 2/2] qemu: Add libvirt version check to refresh capabilities algorithm

2015-05-26 Thread Daniel P. Berrange
On Sat, May 23, 2015 at 10:33:31AM -0400, John Ferlan wrote: > Rather than an algorithm based solely on libvirtd ctime to refresh the > capabilities add the element of the libvirt build version into the equation. > Since that version wouldn't be there prior to this code being run - don't > fail on

Re: [libvirt] [PATCH 2/2] qemu: Add libvirt version check to refresh capabilities algorithm

2015-05-23 Thread Martin Kletzander
On Sat, May 23, 2015 at 10:33:31AM -0400, John Ferlan wrote: Rather than an algorithm based solely on libvirtd ctime to refresh the capabilities add the element of the libvirt build version into the equation. Since that version wouldn't be there prior to this code being run - don't fail on readin

[libvirt] [PATCH 2/2] qemu: Add libvirt version check to refresh capabilities algorithm

2015-05-23 Thread John Ferlan
Rather than an algorithm based solely on libvirtd ctime to refresh the capabilities add the element of the libvirt build version into the equation. Since that version wouldn't be there prior to this code being run - don't fail on reading the capabilities if not found. In this case, the cache will a