Re: how two vms on the same physical machine communicate with each other?

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

 



On Tue, Feb 21, 2012 at 5:42 AM, 夏业添 <summerxyt@xxxxxxxxx> wrote:
>    I want to know if there is other way besides network to make two
> guests on a same host to communicate with each other.
>    And when there is an inter-vm communication by virtual network, are
> these network packages passing the real NIC or just using other
> technologies such as memory sharing?

It depends on your networking setup but usually inter-guest packets do
not go through a physical NIC.

For special use cases there is also the ivshmem device which allows
multiple guests to access a piece of shared memory on the host.  You
would need to customize your applications to make use of this.  See
docs/specs/ivshmem_device_spec.txt.

Stefan
--
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