mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build(deps): bump linux-loader from 2a62f21 to ec930d7
Bumps [linux-loader](https://github.com/rust-vmm/linux-loader) from `2a62f21` to `ec930d7`. - [Release notes](https://github.com/rust-vmm/linux-loader/releases) - [Commits](https://github.com/rust-vmm/linux-loader/compare/2a62f21b441716332df048762c3b15700f72563f...ec930d700f43458f191ee50404810a155accb0ec) Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
This commit is contained in:
Generated
+1
-1
@@ -570,7 +570,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "linux-loader"
|
name = "linux-loader"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/rust-vmm/linux-loader#2a62f21b441716332df048762c3b15700f72563f"
|
source = "git+https://github.com/rust-vmm/linux-loader#ec930d700f43458f191ee50404810a155accb0ec"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"vm-memory",
|
"vm-memory",
|
||||||
]
|
]
|
||||||
|
|||||||
+3
-1
@@ -43,6 +43,8 @@ use devices::HotPlugNotificationFlags;
|
|||||||
use linux_loader::cmdline::Cmdline;
|
use linux_loader::cmdline::Cmdline;
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
use linux_loader::loader::elf::Error::InvalidElfMagicNumber;
|
use linux_loader::loader::elf::Error::InvalidElfMagicNumber;
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
|
use linux_loader::loader::elf::PvhBootCapability::PvhEntryPresent;
|
||||||
use linux_loader::loader::KernelLoader;
|
use linux_loader::loader::KernelLoader;
|
||||||
use signal_hook::{iterator::Signals, SIGINT, SIGTERM, SIGWINCH};
|
use signal_hook::{iterator::Signals, SIGINT, SIGTERM, SIGWINCH};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
@@ -529,7 +531,7 @@ impl Vm {
|
|||||||
let entry_point_addr: GuestAddress;
|
let entry_point_addr: GuestAddress;
|
||||||
let boot_prot: BootProtocol;
|
let boot_prot: BootProtocol;
|
||||||
|
|
||||||
if let Some(pvh_entry_addr) = entry_addr.pvh_entry_addr {
|
if let PvhEntryPresent(pvh_entry_addr) = entry_addr.pvh_boot_cap {
|
||||||
// Use the PVH kernel entry point to boot the guest
|
// Use the PVH kernel entry point to boot the guest
|
||||||
entry_point_addr = pvh_entry_addr;
|
entry_point_addr = pvh_entry_addr;
|
||||||
boot_prot = BootProtocol::PvhBoot;
|
boot_prot = BootProtocol::PvhBoot;
|
||||||
|
|||||||
Reference in New Issue
Block a user