Features/VirtioVsock: Difference between revisions

From QEMU
(Created page with 'virtio-vsock is a ''host/guest communications device''. Unlike virtio-serial, virtio-vsock supports the POSIX Sockets API so existing networking applications require minimal mod…')
 
No edit summary
Line 1: Line 1:
virtio-vsock is a ''host/guest communications device''.
virtio-vsock is a ''host/guest communications device''.  It allows applications in the guest and host to communicate.  This can be used to implement hypervisor services and guest agents (like qemu-guest-agent or SPICE vdagent).


Unlike virtio-serial, virtio-vsock supports the POSIX Sockets API so existing networking applications require minimal modification.   The device has an address assigned automatically so no configuration is required inside the guest.
Unlike virtio-serial, virtio-vsock supports the POSIX Sockets API so existing networking applications require minimal modification. The Sockets API allows N:1 connections so multiple clients can connect to a server simultaneously.
 
The device has an address assigned automatically so no configuration is required inside the guest.


Sockets are created with the AF_VSOCK address family.  Both SOCK_STREAM and SOCK_DGRAM socket types are available.
Sockets are created with the AF_VSOCK address family.  Both SOCK_STREAM and SOCK_DGRAM socket types are available.

Revision as of 12:25, 25 August 2015

virtio-vsock is a host/guest communications device. It allows applications in the guest and host to communicate. This can be used to implement hypervisor services and guest agents (like qemu-guest-agent or SPICE vdagent).

Unlike virtio-serial, virtio-vsock supports the POSIX Sockets API so existing networking applications require minimal modification. The Sockets API allows N:1 connections so multiple clients can connect to a server simultaneously.

The device has an address assigned automatically so no configuration is required inside the guest.

Sockets are created with the AF_VSOCK address family. Both SOCK_STREAM and SOCK_DGRAM socket types are available.

Code

Links