Don't use &mut for immutable data
We never modify the VM Base DTBO, and there's no reason we would, so
don't pass around a mutable reference to it.
Bug: 318431695
Test: Still builds
Test: Flash pvmfw, start pVM
Change-Id: Iea3cd40244e9014af96819d0068f389c0923c70c
diff --git a/pvmfw/src/entry.rs b/pvmfw/src/entry.rs
index c740d1b..8eca7a1 100644
--- a/pvmfw/src/entry.rs
+++ b/pvmfw/src/entry.rs
@@ -88,7 +88,7 @@
kernel: usize,
kernel_size: usize,
vm_dtbo: Option<&mut [u8]>,
- vm_base_dtbo: Option<&mut [u8]>,
+ vm_base_dtbo: Option<&[u8]>,
) -> Result<Self, RebootReason> {
let fdt_size = NonZeroUsize::new(crosvm::FDT_MAX_SIZE).unwrap();
// TODO - Only map the FDT as read-only, until we modify it right before jump_to_payload()