• D
    Basic framework for lock manager plugins · 6a943419
    Daniel P. Berrange 提交于
    Define the basic framework lock manager plugins. The
    basic plugin API for 3rd parties to implemented is
    defined in
    
      src/locking/lock_driver.h
    
    This allows dlopen()able modules for alternative locking
    schemes, however, we do not install the header. This
    requires lock plugins to be in-tree allowing changing of
    the lock manager plugin API in future.
    
    The libvirt code for loading & calling into plugins
    is in
    
      src/locking/lock_manager.{c,h}
    
    * include/libvirt/virterror.h, src/util/virterror.c: Add
      VIR_FROM_LOCKING
    * src/locking/lock_driver.h: API for lock driver plugins
      to implement
    * src/locking/lock_manager.c, src/locking/lock_manager.h:
      Internal API for managing locking
    * src/Makefile.am: Add locking code
    6a943419
Makefile.am 42.0 KB