mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
remove duplicated structure InitrdConfig
structure InitrdConfig duplicated with InitramfsConfig Signed-off-by: LiYa'nan <oliverliyn@gmail.com>
This commit is contained in:
@@ -133,14 +133,6 @@ pub enum DeviceType {
|
||||
RTC,
|
||||
}
|
||||
|
||||
/// Type for passing information about the initrd in the guest memory.
|
||||
pub struct InitrdConfig {
|
||||
/// Load address of initrd in guest memory
|
||||
pub address: vm_memory::GuestAddress,
|
||||
/// Size of initrd in guest memory
|
||||
pub size: usize,
|
||||
}
|
||||
|
||||
/// Default (smallest) memory page size for the supported architectures.
|
||||
pub const PAGE_SIZE: usize = 4096;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user