mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
docs: fix syntax issues and struct description in devices
Some description in the device document were inconsistent with the source code. Also fix some syntax issues to make the sentences more fluent. Signed-off-by: Yi Wang <foxywang@tencent.com>
This commit is contained in:
@@ -29,6 +29,7 @@ parameters available for the vDPA device.
|
||||
struct VdpaConfig {
|
||||
path: PathBuf,
|
||||
num_queues: usize,
|
||||
iommu: bool,
|
||||
id: Option<String>,
|
||||
pci_segment: u16,
|
||||
}
|
||||
@@ -83,7 +84,7 @@ _Example_
|
||||
|
||||
### `pci_segment`
|
||||
|
||||
PCI segment number to which the vDPA device should be attached to.
|
||||
PCI segment number to which the vDPA device should be attached.
|
||||
|
||||
This parameter is optional.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user