-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(VirtioDeviceActions): include default implementations
This patch is based on restructuring the implementations of some functions of the VirtioDeviceActions trait as it now includes default methods. In this case, now only the functions strictly necessary for the device type must be implemented (e.g. for devices of the vhost-user type, the read_config function must be implemented if the device has negotiated the CONFIG protocol feature). Signed-off-by: joaopeixoto13 <[email protected]>
- Loading branch information
1 parent
120cd79
commit 771ad83
Showing
6 changed files
with
31 additions
and
254 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.