Minor fix on virtio-blk's config
This commit is contained in:
parent
b3515c498a
commit
aa52e3980e
|
|
@ -61,7 +61,9 @@ pub struct VirtioBlockConfig {
|
||||||
/// The number of 512-byte sectors.
|
/// The number of 512-byte sectors.
|
||||||
capacity: u64,
|
capacity: u64,
|
||||||
/// The maximum segment size.
|
/// The maximum segment size.
|
||||||
size_max: u64,
|
size_max: u32,
|
||||||
|
/// The maximum number of segments.
|
||||||
|
seg_max: u32,
|
||||||
/// The geometry of the device.
|
/// The geometry of the device.
|
||||||
geometry: VirtioBlockGeometry,
|
geometry: VirtioBlockGeometry,
|
||||||
/// The block size. If `logical_block_size` is not given in qemu cmdline,
|
/// The block size. If `logical_block_size` is not given in qemu cmdline,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue