mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
vmm: Deprecate non-PVH firmware loading
Curently all the firmware blobs we support can use PVH loading. See: #4511 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
b49f8b9248
commit
396f9ce2c6
@ -993,6 +993,8 @@ impl Vm {
|
||||
mut firmware: File,
|
||||
memory_manager: &Arc<Mutex<MemoryManager>>,
|
||||
) -> Result<EntryPoint> {
|
||||
warn!("Loading of legacy (non-PVH) firmware is deprecated and will be removed in a future version.");
|
||||
|
||||
// Not an ELF header - assume raw binary data / firmware
|
||||
let size = firmware
|
||||
.seek(SeekFrom::End(0))
|
||||
|
Loading…
Reference in New Issue
Block a user