diff --git a/src/vmm/src/lib.rs b/src/vmm/src/lib.rs index c72bfea..55d8511 100644 --- a/src/vmm/src/lib.rs +++ b/src/vmm/src/lib.rs @@ -236,7 +236,12 @@ impl VMM { let count = stdin_lock.read_raw(&mut out).map_err(Error::StdinRead)?; - println!("Read {:?} from STDIN", out[0]); + self.serial + .lock() + .unwrap() + .serial + .enqueue_raw_bytes(&out[..count]) + .map_err(Error::StdinWrite)?; } } }