From c13a68eecb6a813a5c979ec52b09e795c1da7493 Mon Sep 17 00:00:00 2001 From: Jingkui Wang Date: Thu, 8 Nov 2018 13:43:03 -0800 Subject: [PATCH] kvm: add Debug to IoeventAddress BUG=None TEST=local build Change-Id: I5edede32f4289c1e369aa46311966cfcd0c48f2c Reviewed-on: https://chromium-review.googlesource.com/1327515 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Jingkui Wang Reviewed-by: David Tolnay Reviewed-by: Zach Reizner --- kvm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm/src/lib.rs b/kvm/src/lib.rs index 32bee6c24e..beaad55ed7 100644 --- a/kvm/src/lib.rs +++ b/kvm/src/lib.rs @@ -241,7 +241,7 @@ impl AsRawFd for Kvm { } /// An address either in programmable I/O space or in memory mapped I/O space. -#[derive(Copy, Clone, MsgOnSocket)] +#[derive(Copy, Clone, Debug, MsgOnSocket)] pub enum IoeventAddress { Pio(u64), Mmio(u64),