forked from rust-vmm/kvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system: Added an API
get_max_vcpu_id
to kvm
Added a new API `get_max_vcpu_id` that returns the `KVM_CAP_MAX_VCPU_ID` if the Extension is present or `get_max_vcpus`. Also updated the test case for `vm.create_cpu` to use `max_vcpu_id` obtained using the above API. Updated coverage score to 91.3 to fix build issue Signed-off-by: Abhijit Gadgil <gabhijit@iitbombay.org>
- Loading branch information
1 parent
4f61bba
commit 69d03d9
Showing
3 changed files
with
27 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"coverage_score": 91.2, | ||
"coverage_score": 91.3, | ||
"exclude_path": "", | ||
"crate_features": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters