mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Revert "vmm: Deprecate MemoryZoneConfig::file"
This reverts commit 9fb0274479.
A user was identified of this functionality.
See: #4837
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -668,6 +668,8 @@ components:
|
||||
type: integer
|
||||
format: int64
|
||||
default: 512 MB
|
||||
file:
|
||||
type: string
|
||||
mergeable:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
@@ -2009,10 +2009,6 @@ impl VmConfig {
|
||||
|
||||
if let Some(zones) = &self.memory.zones {
|
||||
for zone in zones.iter() {
|
||||
if zone.file.is_some() {
|
||||
warn!("MemoryZoneConfig::file is deprecated and will be removed in future release (#4837)");
|
||||
}
|
||||
|
||||
let id = zone.id.clone();
|
||||
Self::validate_identifier(&mut id_list, &Some(id))?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user