Re-enable interactive console when running with crosvm
Bug: 138616941
Test: boot locally
Change-Id: I2ebec27d6f0dc6880b96559d41f279180a109f36
diff --git a/host/libs/vm_manager/crosvm_manager.cpp b/host/libs/vm_manager/crosvm_manager.cpp
index 91c61ca..279c4cf 100644
--- a/host/libs/vm_manager/crosvm_manager.cpp
+++ b/host/libs/vm_manager/crosvm_manager.cpp
@@ -130,7 +130,7 @@
crosvm_cmd.AddParameter("--serial=num=1,type=file,path=",
config_->kernel_log_pipe_name(),",console=true");
// Use stdio for the second serial port, it contains the serial console.
- crosvm_cmd.AddParameter("--serial=num=2,type=stdout");
+ crosvm_cmd.AddParameter("--serial=num=2,type=stdout,stdin=true");
// Redirect standard input and output to a couple of pipes for the console
// forwarder host process to handle.