Closed
Description
Hi,
I would like to rewrite a virtual machine introspection library in Rust:
https://github.com/libvmi/libvmi
This library is building a unified API accross hypervisor's VMI APIs.
I considered bindgen
for the task, which would be perfect to generate a kvm-sys
or xen-sys
crate, but I have a requirement that it should be able to load these libraries dynamically, at runtime, by locating a lib.so
file, loading it with libloading
. like a plugin.
https://docs.rs/libloading/0.5.0/libloading/
I haven't found anything in the docs regarding dynamic loading.
Is it a use case that have already think about ?
How difficult would it be to implement ?
Thanks !