[libvirt] [PATCH v2 10/31] qemu: Refresh caps in virQEMUCapsCacheLookupByArch

Pavel Hrdina phrdina at redhat.com
Thu Nov 24 16:44:24 UTC 2016


On Mon, Nov 21, 2016 at 12:21:06AM +0100, Jiri Denemark wrote:
> The function just returned cached capabilities without checking whether
> they are still valid. We should check that and refresh the capabilities
> to make sure we don't return stale data. In other words, we should do
> what all other lookup functions do.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_capabilities.c | 19 ++++++++++++++++++-
>  src/qemu/qemu_capabilities.h |  3 ++-
>  src/qemu/qemu_driver.c       |  3 ++-
>  3 files changed, 22 insertions(+), 3 deletions(-)

ACK

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161124/9c7e2599/attachment-0001.sig>


More information about the libvir-list mailing list