DevConf.CZ 2020 has ended
Back To Schedule
Sunday, January 26 • 11:30am - 11:55am
VSOCK: VM ↔host socket with minimal configuration

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Using AF_VSOCK you can easily allow applications in virtual machines and host to communicate with the POSIX Sockets API. The existing applications that use TCP/IP require few changes to be adapted. VSOCK is useful for lightweight VMs since TCP/IP stack and network interfaces are not involved.

virtio-vsock is a device supported by Linux and QEMU that provides AF_VSOCK address family. It requires a minimal configuration: the setup phase does not affect the guest running in the virtual machine at all, while in the host is only required to assign an ID to each guest. Common use cases are guest agents and host services.

Stefano will describe how to use AF_VSOCK with a virtio-vsock device, and how it is implemented in Linux and QEMU/KVM. He will do a live demo creating simple applications to communicate between host and guests.

Stefano will discuss the latest enhancements and the next challenges to improve virtio-vsock. He will also show useful tools and languages that support VSOCK.

avatar for Stefano Garzarella

Stefano Garzarella

Principal Software Engineer, Red Hat
Stefano is a Principal Software Engineer at Red Hat.He is working on virtualization and networking topics in QEMU and Linux kernel. He is the maintainer of Linux's vsock subsystem (AF_VSOCK).Current projects cover vDPA for virtio-blk devices, virtio-vsock, QEMU network and storage... Read More →

Sunday January 26, 2020 11:30am - 11:55am CET
D0207 Faculty of Information Technology Brno University of Technology, Božetěchova, Brno-Královo Pole, Czechia