mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: improve misc documentation
This improves the documentation at various places. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
committed by
Rob Bradford
parent
5ff4696cea
commit
7eab5901ad
@@ -147,6 +147,9 @@ impl Bus {
|
||||
None
|
||||
}
|
||||
|
||||
/// Inserts a bus device into the bus.
|
||||
///
|
||||
/// The bus will only hold a weak reference to the object.
|
||||
#[allow(clippy::needless_pass_by_value)]
|
||||
pub fn insert(&self, device: Arc<dyn BusDeviceSync>, base: u64, len: u64) -> Result<()> {
|
||||
if len == 0 {
|
||||
|
||||
Reference in New Issue
Block a user