I tried that, but nothing appears in my guest listening to the serial port with the `type COM1:` command.
there may be a special character to insert at the end of the data to mark the end of the transmission... Le lun. 6 oct. 2025 à 11:48, Peter Maydell <[email protected]> a écrit : > On Sat, 4 Oct 2025 at 08:58, lacsaP Patatetom <[email protected]> wrote: > > > > hi and sorry for the previous irrelevant post, > > > > I start a Windows virtual machine with the `-serial mon:stdio` option > (to avoid an unfortunate Ctrl-C from my terminal). > > > > I can see “test” appear in my Linux terminal when I send the string to > COM1: (`echo test >> COM1:`) from my guest. > > > > how can I send data to COM1: guest from my Linux terminal (or with > another method) ? > > Just type into the terminal: the -serial connection to the console > works in both directions. (Assuming you have not used the > ctrl+A C combination to switch that terminal to the monitor input; > if you have then switch it back again first by using ctrl+A C again.) > > -- PMM >
