]> xenbits.xensource.com Git - libvirt.git/commit
Switch over to use cache for building QEMU capabilities
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 22 Aug 2012 13:37:05 +0000 (14:37 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Sep 2012 09:24:52 +0000 (10:24 +0100)
commit494e2f5cc2118ae7d1ba59b1355af842f46b6dfc
tree455c98aa6dd090cd38b9942e888a1c39a071ad46
parent85a7b5e1ce5adae6a0a4025d4f01f8a2373a962b
Switch over to use cache for building QEMU capabilities

When building up a virCapsPtr instance, the QEMU driver
was copying the list of machine types across from the
previous virCapsPtr instance, if the QEMU binary had not
changed. Replace this ad-hoc caching of data with use
of the new qemuCapsCache global cache.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/conf/capabilities.h
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c