From 70c822138c0e9f7cbcbf0c060cbccfc233beaa5f Mon Sep 17 00:00:00 2001 From: Matias Ezequiel Vara Larsen Date: Wed, 4 Sep 2024 10:23:29 -0400 Subject: [PATCH] devices/legacy: use pl011 for earlycon in aarch64 Follow up of 5329be7 commit. It is more common to have a PL011 than an UART console. Signed-off-by: Matias Ezequiel Vara Larsen --- src/vmm/src/device_manager/kvm/mmio.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/vmm/src/device_manager/kvm/mmio.rs b/src/vmm/src/device_manager/kvm/mmio.rs index 1fa7fe61..c3aec6e4 100644 --- a/src/vmm/src/device_manager/kvm/mmio.rs +++ b/src/vmm/src/device_manager/kvm/mmio.rs @@ -179,7 +179,10 @@ impl MMIODeviceManager { .map_err(Error::BusError)?; cmdline - .insert("earlycon", &format!("uart,mmio,0x{:08x}", self.mmio_base)) + .insert( + "earlycon", + &format!("pl011,mmio32,0x{:08x}", self.mmio_base), + ) .map_err(Error::Cmdline)?; let ret = self.mmio_base;