Score:1

Why do you need serial port connection between QEMU quest and host?

nl flag

I am new to qemu. I was exploring some commans to setup qemu VM. Can someone please explain why serail ports are required/desired between guest and the host? Also, what does '-serial pty' and -'serial mon:studio' mean?

Score:0
cn flag

A serial console allows you to connect to your VM using tools such as screen orminicom, typically to debug your kernel when doing system development, or simply to have an additional console while running a Unix-like OS.

Using 'mon:stdio' allows you to send commands alternatively to qemu itself and to the serial console. See these examples. This is mostly useful for system debugging.

If you're running your VM using libvirt and kvm, a serial console allows you to connect to a Unix-like VM directly from virsh, for instance when a VM network isn't properly set up.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.