crosvm/x86_64/src
Dmytro Maluka ff6696e197 x86_64: pass payload address & size to pvmfw as DTB properties
When running protected VMs on x86, we require them to boot with DTB
anyway, in order to let pvmfw and other AVF components pass various
secrets and other AVF-specific parameters to protected VMs the same way
it is done on aarch64. So we can leverage this fact and pass the VM
payload start and size info from crosvm to pvmfw as DTB properties as
well, the same way it is done on aarch64 (implemented in [1][2]),
instead of introducing a x86-specific protocol for that.

[1] https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4064759
[2] https://android-review.googlesource.com/c/platform/packages/modules/Virtualization/+/2322013

BUG=b:354116267
TEST=run microdroid and check /sys/firmware/devicetree or run microdroid
with --dump-device-tree

Change-Id: Icdacd694d7558d495b346b07493e696e42dab0c1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6098001
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dmytro Maluka <dmaluka@chromium.org>
2025-01-07 14:40:27 -08:00
..
acpi.rs
bootparam.rs
bzimage.rs x86_64: bzImage: load extra data appended to kernel 2024-11-01 18:18:42 +00:00
cpuid.rs
fdt.rs x86_64: pass payload address & size to pvmfw as DTB properties 2025-01-07 14:40:27 -08:00
gdb.rs x86_64: move gdb support to a separate file 2024-08-21 18:01:53 +00:00
gdt.rs hypervisor: x86_64: clarify Segment limit units 2024-07-26 21:20:39 +00:00
interrupts.rs
lib.rs x86_64: pass payload address & size to pvmfw as DTB properties 2025-01-07 14:40:27 -08:00
mpspec.rs x86_64: avoid char to u8 casts using byte literals 2024-09-16 23:33:04 +00:00
mptable.rs x86_64: avoid char to u8 casts using byte literals 2024-09-16 23:33:04 +00:00
msr_index.rs
regs.rs x86_64: fix size of long mode TSS in GDT 2024-12-07 00:32:33 +00:00
smbios.rs