-
Notifications
You must be signed in to change notification settings - Fork 16
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
hypervisor detection #7
Comments
I was looking at adding a new function in the fn detect() -> Result<bool,Box<Error>> where Self: Sized { And then you could loop over the |
We should rename this feature as hypervisor test, and test whether a given domain name is available on for a specific hypervisor. Implementing the same logic that LibVMI's Overview:
|
Next here would be to enable a set of features by default. I tried to play with Cargo conditional compilation, but I can't get this thing working as I expect: Im getting
I saw the syntax in a SO post: of course, if this isn't supported for the features section, we can ditch the hyper-v driver and set the default linux drivers |
Thanks for finding this.
In the meantime, we can assume linux by default. |
Libmicrovmi's api needs to explicitely specify the hypervisor that we want to use.
We could improve that behavior by detecting if a given hypervisor is present, and test all possible hypervisors (the ones compiled in the library).
As we are only compiling a specific hypervisor, there will be only 2 hypervisors available:
How can we modify the
init
function, so that it takes an optional driver type ?So we could pass None and let the function decide.
What do you think @tathanhdinh, how to implement this feature ?
Thanks.
The text was updated successfully, but these errors were encountered: