All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.8 0/2] vhost-vsock: add vhost-vsock device
@ 2016-08-16 12:27 Stefan Hajnoczi
  2016-08-16 12:27 ` [Qemu-devel] [PATCH for-2.8 1/2] linux-headers: add virtio vsock headers Stefan Hajnoczi
  2016-08-16 12:27 ` [Qemu-devel] [PATCH for-2.8 2/2] vhost-vsock: add virtio sockets device Stefan Hajnoczi
  0 siblings, 2 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2016-08-16 12:27 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Christoffer Dall, Alex Bennée,
	marius vlad, Claudio Imbrenda, Greg Kurz, Ian Campbell,
	Stefan Hajnoczi

This patch series adds -device vhost-vsock,guest-cid=<cid> to QEMU.  The vsock
device is a host-guest communications device comparable to virtio-serial except
it offers POSIX Sockets API semantics.

It uses the vhost_vsock.ko Linux kernel module for AF_VSOCK socket
communications.  The kernel module was merged for Linux 4.8 in commit
0803e04011c.  Host applications use regular POSIX Sockets API syscalls to
communicate with guests.

For more information, see http://qemu-project.org/Features/VirtioVsock.

Stefan Hajnoczi (2):
  linux-headers: add virtio vsock headers
  vhost-vsock: add virtio sockets device

 configure                                     |  10 +
 hw/s390x/virtio-ccw.c                         |  54 ++++
 hw/s390x/virtio-ccw.h                         |  15 +
 hw/virtio/Makefile.objs                       |   2 +
 hw/virtio/vhost-backend.c                     |  17 ++
 hw/virtio/vhost-vsock.c                       | 417 ++++++++++++++++++++++++++
 hw/virtio/virtio-pci.c                        |  51 ++++
 hw/virtio/virtio-pci.h                        |  18 ++
 include/hw/pci/pci.h                          |   1 +
 include/hw/virtio/vhost-backend.h             |   5 +
 include/hw/virtio/vhost-vsock.h               |  41 +++
 include/standard-headers/linux/virtio_ids.h   |   1 +
 include/standard-headers/linux/virtio_vsock.h |  94 ++++++
 linux-headers/linux/vhost.h                   |   5 +
 14 files changed, 731 insertions(+)
 create mode 100644 hw/virtio/vhost-vsock.c
 create mode 100644 include/hw/virtio/vhost-vsock.h
 create mode 100644 include/standard-headers/linux/virtio_vsock.h

-- 
2.7.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-09-12 14:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-16 12:27 [Qemu-devel] [PATCH for-2.8 0/2] vhost-vsock: add vhost-vsock device Stefan Hajnoczi
2016-08-16 12:27 ` [Qemu-devel] [PATCH for-2.8 1/2] linux-headers: add virtio vsock headers Stefan Hajnoczi
2016-08-16 12:27 ` [Qemu-devel] [PATCH for-2.8 2/2] vhost-vsock: add virtio sockets device Stefan Hajnoczi
2016-08-23 17:45   ` Claudio Imbrenda
2016-08-24 16:00     ` Cornelia Huck
2016-09-09 21:07   ` Michael S. Tsirkin
2016-09-12 14:56     ` Claudio Imbrenda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.