mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-24 21:45:28 +00:00
vmm: reorder constructor fields to match struct
Satisfies nightly clippy. Signed-off-by: Gaelan Steele <gbs@canishe.com>
This commit is contained in:
parent
b161a570ec
commit
21506a4a76
@ -852,12 +852,12 @@ impl DiskConfig {
|
|||||||
iommu,
|
iommu,
|
||||||
num_queues,
|
num_queues,
|
||||||
queue_size,
|
queue_size,
|
||||||
vhost_socket,
|
|
||||||
vhost_user,
|
vhost_user,
|
||||||
|
vhost_socket,
|
||||||
poll_queue,
|
poll_queue,
|
||||||
|
rate_limiter_config,
|
||||||
id,
|
id,
|
||||||
disable_io_uring,
|
disable_io_uring,
|
||||||
rate_limiter_config,
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1319,7 +1319,7 @@ impl ConsoleConfig {
|
|||||||
.unwrap_or(Toggle(false))
|
.unwrap_or(Toggle(false))
|
||||||
.0;
|
.0;
|
||||||
|
|
||||||
Ok(Self { mode, file, iommu })
|
Ok(Self { file, mode, iommu })
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn default_serial() -> Self {
|
pub fn default_serial() -> Self {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user