Not an expert, but looks like $ mkfifo x $ kvm -hda img -serial pipe:x& $ kvm -hda img -serial pipe:x& Could do the trick. You can cat and echo information from the VMs when using this approach On Mon, Mar 14, 2016 at 12:10 PM, Aleksander Alekseev <afiskon@xxxxxxxxx> wrote: > Hello > > I would like to connect two VMs using serial port for kernel debugging > purposes. It is quite simple in VirtualBox: > > https://www.howtoforge.com/how-to-set-up-a-serial-port-between-two-virtual-machines-in-virtualbox > > I wonder how to do the same in KVM? > > -- > Best regards, > Aleksander Alekseev > http://eax.me/ > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html