mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
pvh: Write start_info structure to guest memory
Fill the hvm_start_info and related memory map structures as specified in the PVH boot protocol. Write the data structures to guest memory at the GPA that will be stored in %rbx when the guest starts. Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
840a9a97ff
commit
a22bc3559f
@@ -446,6 +446,7 @@ impl Vm {
|
||||
boot_vcpus,
|
||||
Some(hdr),
|
||||
rsdp_addr,
|
||||
BootProtocol::LinuxBoot,
|
||||
)
|
||||
.map_err(Error::ConfigureSystem)?;
|
||||
|
||||
@@ -480,6 +481,7 @@ impl Vm {
|
||||
boot_vcpus,
|
||||
None,
|
||||
rsdp_addr,
|
||||
boot_prot,
|
||||
)
|
||||
.map_err(Error::ConfigureSystem)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user