mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-08 15:50:34 +00:00
Fix `empty_line_after_doc_comments` clippy warning as suggested by rust 1.85.1. ```console error: empty line after doc comment --> dbs_boot/src/x86_64/layout.rs:11:1 | 11 | / /// Magic addresses externally used to lay out x86_64 VMs. 12 | | | |_^ 13 | /// Global Descriptor Table Offset 14 | pub const BOOT_GDT_OFFSET: u64 = 0x500; | ------------------------------ the comment documents this constant | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]` = help: if the empty line is unintentional remove it help: if the documentation should include the empty line include it in the comment | 12 | /// | ``` Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
dbs-boot
Design
The dbs-boot crate is a collection of constants, structs and utilities used to boot virtual machines.
Submodule List
This repository contains the following submodules:
| Name | Arch | Description |
|---|---|---|
bootparam |
x86_64 | Magic addresses externally used to lay out x86_64 VMs |
| fdt | aarch64 | Create FDT for Aarch64 systems |
| layout | x86_64 | x86_64 layout constants |
| layout | aarch64 | aarch64 layout constants |
| mptable | x86_64 | MP Table configurations used for defining VM boot status |
Acknowledgement
Part of the code is derived from the Firecracker project.
License
This project is licensed under Apache License, Version 2.0.