Files
kata-containers/src/dragonball/dbs_boot
Ruoqing He 5e80293bfc dragonball: Fix clippy empty_line_after_doc_comments
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>
2025-06-11 13:50:10 +00:00
..
2025-02-19 21:20:30 +08:00
2025-02-19 21:20:30 +08:00
2025-02-19 21:20:30 +08:00

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.