I'm a bit of a newbie when it comes to QEMU, and I wondered how I tell it to put the serial ports output into a file?
Thanks
Monitoring Serial Port in QEMU
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Monitoring Serial Port in QEMU
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
- PavelChekov
- Member
- Posts: 113
- Joined: Mon Sep 21, 2020 9:51 am
- Location: Aboard the Enterprise
Re: Monitoring Serial Port in QEMU
How about sending to it from outside the VM?
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
The Final Frontier,
Space,
The Universe
Live Long And Prosper
Slava Ukraini!
Слава Україні!
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Monitoring Serial Port in QEMU
Pick a different character device instead of "file".
If you still need to write the output to a log, use chardev to specify the device. Here's an example of using chardev in place of "-serial stdio" to write the output to a log.
The "-chardev" option is explained in more detail in the QEMU manual.
If you still need to write the output to a log, use chardev to specify the device. Here's an example of using chardev in place of "-serial stdio" to write the output to a log.
The "-chardev" option is explained in more detail in the QEMU manual.