/
How to configure a serial console for a QEMU kvm guest
How to configure a serial console for a QEMU kvm guest
If you have some plans to debug a kernel you may need to use a serial console as you do it in a real host system. To solve this task you need to tell to qemu how to redirect data from a serial port to outside of the guest system. To do it we need to specify the -serial option with arguments:
-serial telnet:host:port[,server][,nowait][,nodelay]
The keyword telnet tells qemu to use the telnet protocol instead of TCP-sockets. If you skip the server option qemu will send the data to specified host:port as a telnet client, otherwise it will act as a telnet server. For example:
qemu ... -serial telnet:127.0.0.1:4444,server,nowait
and then somewhere from a host system:
telnet 127.0.0.1 4444
That's all, so easy.
, multiple selections available,
Related content
How to run NET tests on VM environment
How to run NET tests on VM environment
More like this
How to run DTRACE tests on VM environment
How to run DTRACE tests on VM environment
More like this
How to run OS tests on VM environment
How to run OS tests on VM environment
More like this
How to run UTIL & MDB tests on VM environment
How to run UTIL & MDB tests on VM environment
More like this
Запуск NET-тестов на VM
Запуск NET-тестов на VM
More like this
Запуск тестов DTRACE на VM
Запуск тестов DTRACE на VM
More like this