kvm tools: Add ivshmem device
commitb4672adfea312ed0c69a338f787340ca69438b83
authorSasha Levin <levinsasha928@gmail.com>
Mon, 29 Aug 2011 12:25:00 +0000 (29 15:25 +0300)
committerPekka Enberg <penberg@kernel.org>
Mon, 29 Aug 2011 16:13:34 +0000 (29 19:13 +0300)
tree64d4f69980458435941f472440792f2a3659aef1
parent6e02a8277a73d40570fd8cdac2f7997c52a9c169
kvm tools: Add ivshmem device

The patch adds an ivshmem device which can be used to share memory between
guests on the same host.

This implementation is lacking inter-guest communication which should be
implemented later once information regarding the client-server protocol is
gathered, though infrastructure used to add and remove clients already exists
in the patch (but isn't used anywhere).

Patch is based on David Evansky's shmem device.

Original-patch-by: David Evensky <evensky@sandia.gov>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/builtin-run.c
tools/kvm/hw/pci-shmem.c [new file with mode: 0644]
tools/kvm/include/kvm/pci-shmem.h [new file with mode: 0644]
tools/kvm/include/kvm/pci.h
tools/kvm/include/kvm/virtio-pci-dev.h
tools/kvm/pci.c
tools/kvm/virtio/pci.c