Re: User question: how to connect two VMs using serial port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux