remove duplicated structure InitrdConfig

structure InitrdConfig duplicated with InitramfsConfig

Signed-off-by: LiYa'nan <oliverliyn@gmail.com>
This commit is contained in:
LiYa'nan
2020-06-09 11:27:09 +08:00
committed by Rob Bradford
parent afe60808ac
commit 313883f6e4
3 changed files with 4 additions and 12 deletions

View File

@@ -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;