Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build system: opportunistic drivers #159

Open
Wenzel opened this issue Jan 10, 2021 · 0 comments
Open

Build system: opportunistic drivers #159

Wenzel opened this issue Jan 10, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Wenzel
Copy link
Owner

Wenzel commented Jan 10, 2021

PR #151 attempts to have default drivers enabled.

The issue raised by this system is that it requires to have

  • Xen headers
  • libkvmi headers
  • VirtualBox FDP headers

all installed and detected to compile, unless you explicitely disable a driver.

An improvment would be to do like libvmi's cmake build system, and have opportunistic features, where we try to build the crates on which the driver depend upon, and on failure we simply disable the feature and continue.

I don't know how to implement this with cargo, build.rs.

Next step would be to ask on Rust language forums.

@Wenzel Wenzel added the enhancement New feature or request label Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant