mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-09 06:15:19 +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,
|
mut firmware: File,
|
||||||
memory_manager: &Arc<Mutex<MemoryManager>>,
|
memory_manager: &Arc<Mutex<MemoryManager>>,
|
||||||
) -> Result<EntryPoint> {
|
) -> 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
|
// Not an ELF header - assume raw binary data / firmware
|
||||||
let size = firmware
|
let size = firmware
|
||||||
.seek(SeekFrom::End(0))
|
.seek(SeekFrom::End(0))
|
||||||
|
Loading…
Reference in New Issue
Block a user