From 282115bcdb3842e507357ec131d1c3685551fb1b Mon Sep 17 00:00:00 2001 From: Kansho Nishida Date: Wed, 18 Dec 2019 13:13:14 +0900 Subject: crosvm: pstore works for ARCVM on x86_64 Adds support for pstore on ARCVM on x86_64. The backend file of the buffer will be passed via argument of the crosvm. BUG=b:144962428 TEST=kernel crash on eve-arcvm, check /sys/fs/pstore/console-ramoops-0 Launch crostini manually on eve-arcvm Change-Id: I29492ac7a9067aa2ae23eb03fbb942ab7dd3aa8d Signed-off-by: Kansho Nishida Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1973391 Reviewed-by: Keiichi Watanabe Tested-by: kokoro Commit-Queue: Kansho Nishida --- resources/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources') diff --git a/resources/src/lib.rs b/resources/src/lib.rs index 0e16786..a0c6c98 100644 --- a/resources/src/lib.rs +++ b/resources/src/lib.rs @@ -36,6 +36,8 @@ pub enum Alloc { GpuRenderNode, /// Pmem device region with associated device index. PmemDevice(usize), + /// pstore region. + Pstore, } #[derive(Debug, Eq, PartialEq)] -- cgit 1.4.1