[Feature Request] Don't check KVM in tools/devtool checkstyle
#4768
Labels
Good first issue
Indicates a good issue for first-time contributors
Priority: Low
Indicates that an issue or pull request should be resolved behind issues or pull requests labelled `
Status: Parked
Indicates that an issues or pull request will be revisited later
Branched from issue #4747 .
Feature Request
Since
tools/devtool checkstyle
only checks coding style, it doesn't require KVM, but it does the KVM existence check. That prevents users from running it on their development env without KVM.Describe the desired solution
Currently, it just calls
cmd_test()
that does the KVM check.https://github.com/firecracker-microvm/firecracker/blob/main/tools/devtool#L900-L902
https://github.com/firecracker-microvm/firecracker/blob/main/tools/devtool#L686
We might be able to add a new option of
cmd_test()
to bypass the check.Describe possible alternatives
An alternative could be hardcoding a simplified version of
cmd_test
incmd_checkstyle
.Additional context
N/A
Checks
The text was updated successfully, but these errors were encountered: