commit | d35241230eb276f397c1f6543d1788e360754e9a | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Thu Jul 07 15:00:51 2022 +0900 |
committer | Jiyong Park <jiyong@google.com> | Thu Jul 07 15:12:24 2022 +0900 |
tree | af86bea30212d0976aeeacb65040548e5c11aa09 | |
parent | 7b535d96b5a05adc6e853199d86c8ee844fd63fa [diff] |
Implement kexec To support ramdump of VMs, implement a kexec binary and add it to Microdroid. The binary will be used to preload the kernel and the init ramdisk that the system will boot into when a kernel panic occurs. The binary is very minimal. It has much less functionalities than the upstream kexec-tools. It has a different cmdline interface, and is just a thin wrapper around the kexec_file_load syscall. It supports loading the kernel and the ramdisk only for the exec-on-crash use case. Bug: 237380224 Test: run kexec on Microdroid Change-Id: I75610d4f55c97a79a7200ecf9e8aa7fc7b12c010
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.