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

[libvirt] [PATCH 00/11] introduce virFileCache and use it for qemu capabilities



Pavel Hrdina (11):
  util/virhash: add name parameter to virHashSearch
  util: introduce virFileCache
  tests: add virfilecachetest
  qemu: move libvirt ctime and version into _virQEMUCaps struct
  qemu: move virQEMUCapsIsValid before its usage and make it static
  qemu: move libvirt ctime and version check into virQEMUCapsIsValid
  qemu: don't pass qemuctime into virQEMUCapsIsValid
  qemu: separate virQEMUCapsInitCached out of
    virQEMUCapsNewForBinaryInternal
  qemu: introduce struct _virQEMUCapsCachePriv
  qemu: switch QEMU capabilities to use virFileCache
  qemu: privatize _virQEMUCapsCachePriv struct

 po/POTFILES.in                                     |   1 +
 src/Makefile.am                                    |   1 +
 src/conf/virdomainobjlist.c                        |   2 +-
 src/conf/virnetworkobj.c                           |   4 +-
 src/conf/virsecretobj.c                            |   2 +-
 src/libvirt_private.syms                           |   9 +
 src/qemu/qemu_capabilities.c                       | 517 +++++++--------------
 src/qemu/qemu_capabilities.h                       |  22 +-
 src/qemu/qemu_capspriv.h                           |  18 +-
 src/qemu/qemu_conf.h                               |   3 +-
 src/qemu/qemu_driver.c                             |   2 +-
 src/util/virfilecache.c                            | 391 ++++++++++++++++
 src/util/virfilecache.h                            | 136 ++++++
 src/util/virhash.c                                 |  11 +-
 src/util/virhash.h                                 |   2 +-
 src/xen/xm_internal.c                              |   5 +-
 tests/Makefile.am                                  |  12 +
 tests/qemucapabilitiestest.c                       |   4 +-
 tests/qemucapsprobe.c                              |   2 +-
 tests/testutilsqemu.c                              |  14 +-
 tests/testutilsqemu.h                              |   3 +-
 ...a15b1658aa16923e46497dd8deeb6be287ddb0ca0.cache |   1 +
 ...ae4bc3a28e75bc3e262757001e8b953580f5e75ef.cache |   1 +
 tests/virfilecachetest.c                           | 238 ++++++++++
 tests/virhashtest.c                                |   2 +-
 25 files changed, 1008 insertions(+), 395 deletions(-)
 create mode 100644 src/util/virfilecache.c
 create mode 100644 src/util/virfilecache.h
 create mode 100644 tests/virfilecachedata/5f3154560c130108b282a2aa15b1658aa16923e46497dd8deeb6be287ddb0ca0.cache
 create mode 120000 tests/virfilecachedata/9ca150bf3119b75dcac8e8bae4bc3a28e75bc3e262757001e8b953580f5e75ef.cache
 create mode 100644 tests/virfilecachetest.c

-- 
2.13.2


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