Loading…
DevConf.CZ 2020 has ended
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 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.

Speakers
avatar for Stefano Garzarella

Stefano Garzarella

Software Engineer, Red Hat
Stefano is a Software Engineer at Red Hat. He is working on virtualization and networking topics in QEMU and Linux kernel. Current projects cover virtio-vsock, QEMU network storage, and lightweight VMs.



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

Attendees (49)