Re: [PATCH v2] util: use host module suffix when loading drivers

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

 



On Tue, Aug 25, 2020 at 04:47:07PM -0700, Scott Shambarger wrote:
> Driver module loaders current hardcode ".so" as the file
> extension.  On MacOS, meson uses ".dylib" as a module file extension.
> This patch adds VIR_FILE_MODULE_EXT to virfile.h defined as the
> hosts module extension, and updates driver module loaders to make
> use of it.
> 
> Signed-off-by: Scott Shambarger <scott-libvirt@xxxxxxxxxxxxxx>
> ---
>  src/driver.c                     | 2 +-
>  src/locking/lock_manager.c       | 2 +-
>  src/storage/storage_backend.c    | 2 +-
>  src/util/virfile.h               | 6 ++++++
>  src/util/virstoragefilebackend.c | 2 +-
>  5 files changed, 10 insertions(+), 4 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

And pushed.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux