mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
vmm: Make MemoryManager::create_ram_region() public
So that it can be reused externally, such as for fuzzing. Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
af14044fb8
commit
37c3b0429a
@ -1289,7 +1289,7 @@ impl MemoryManager {
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn create_ram_region(
|
||||
pub fn create_ram_region(
|
||||
backing_file: &Option<PathBuf>,
|
||||
file_offset: u64,
|
||||
start_addr: GuestAddress,
|
||||
|
Loading…
Reference in New Issue
Block a user