]> git.proxmox.com Git - mirror_qemu.git/commit
vhost-vsock: add vhost-vsock-common abstraction
authorStefano Garzarella <sgarzare@redhat.com>
Fri, 22 May 2020 12:25:10 +0000 (14:25 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 12 Jun 2020 14:17:06 +0000 (10:17 -0400)
commitc6136ec0c6fea0db638de08720018fd4bc777787
tree308f5ebcb2770287f5a596ded7ba3657b6a1bf96
parent00823980b296c80a3ff7b448df20c48897cd62e9
vhost-vsock: add vhost-vsock-common abstraction

This patch prepares the introduction of vhost-user-vsock, moving
the common code usable for both vhost-vsock and vhost-user-vsock
devices, in the new vhost-vsock-common parent class.

While moving the code, fixed checkpatch warnings about block comments.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20200522122512.87413-2-sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/Makefile.objs
hw/virtio/vhost-vsock-common.c [new file with mode: 0644]
hw/virtio/vhost-vsock.c
include/hw/virtio/vhost-vsock-common.h [new file with mode: 0644]
include/hw/virtio/vhost-vsock.h