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.
Changed the passed parameter type from `u8` to `u64`, which the underlying `ioctl` uses. Added a missing cap `MaxVcpuId` (It is defined in kvm-bindings for both arm* and x86* but was missing inside cap.rs. This was required by a test case.) Added a test case to assert failure if we pass parameter higher than the `max_vcpu_id`. Signed-off-by: Abhijit Gadgil <gabhijit@iitbombay.org>
- Loading branch information
1 parent
6aa32c7
commit 4f61bba
Showing
3 changed files
with
36 additions
and
3 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
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