Revert "Merge branch 'vsock-virtio'"
Subsystems (7)
Stefan Hajnoczi
maintainerPATCH v2 1/1 Revert "Merge branch 'vsock-virtio'"
This reverts commit 0d76d6e8b2507983a2cae4c09880798079007421 and merge commit c402293bd76fbc93e52ef8c0947ab81eea3ae019, reversing changes made to c89359a42e2a49656451569c382eed63e781153c.
The virtio-vsock device specification is not finalized yet. Michael Tsirkin voiced concerned about merging this code when the hardware interface (and possibly the userspace interface) could still change.
---
v2:
* Revert merge commit and coccinelle fixup in a single patch
drivers/vhost/Kconfig | 4 - drivers/vhost/Kconfig.vsock | 7 - drivers/vhost/Makefile | 4 - drivers/vhost/vsock.c | 630 --------------- drivers/vhost/vsock.h | 4 - include/linux/virtio_vsock.h | 209 ----- include/net/af_vsock.h | 2 - include/uapi/linux/virtio_ids.h | 1 - include/uapi/linux/virtio_vsock.h | 89 --- net/vmw_vsock/Kconfig | 18 - net/vmw_vsock/Makefile | 2 - net/vmw_vsock/af_vsock.c | 70 -- net/vmw_vsock/virtio_transport.c | 466 ----------- net/vmw_vsock/virtio_transport_common.c | 1272 ------------------------------- 14 files changed, 2778 deletions(-) delete mode 100644 drivers/vhost/Kconfig.vsock delete mode 100644 drivers/vhost/vsock.c delete mode 100644 drivers/vhost/vsock.h delete mode 100644 include/linux/virtio_vsock.h delete mode 100644 include/uapi/linux/virtio_vsock.h delete mode 100644 net/vmw_vsock/virtio_transport.c delete mode 100644 net/vmw_vsock/virtio_transport_common.c
drivers/vhost/Kconfig +0 -4
@@ -47,7 +47,3 @@ config VHOST_CROSS_ENDIAN_LEGACY adds some overhead, it is disabled by default. If unsure, say "N". - -if STAGING -source "drivers/vhost/Kconfig.vsock" -endif
drivers/vhost/Kconfig.vsock deleted +0 -7
@@ -1,7 +0,0 @@ -config VHOST_VSOCK - tristate "vhost virtio-vsock driver" - depends on VSOCKETS && EVENTFD - select VIRTIO_VSOCKETS_COMMON - default n - ---help--- - Say M here to enable the vhost-vsock for virtio-vsock guests
drivers/vhost/Makefile +0 -4
@@ -4,9 +4,5 @@ vhost_net-y := net.o obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o vhost_scsi-y := scsi.o -obj-$(CONFIG_VHOST_VSOCK) += vhost_vsock.o -vhost_vsock-y := vsock.o - obj-$(CONFIG_VHOST_RING) += vringh.o - obj-$(CONFIG_VHOST) += vhost.o
drivers/vhost/vsock.c deleted +0 -630
630 lines not on this page · raw message
drivers/vhost/vsock.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef VHOST_VSOCK_H -#define VHOST_VSOCK_H -#define VHOST_VSOCK_SET_GUEST_CID _IOW(VHOST_VIRTIO, 0x60, __u32) -#endif
include/linux/virtio_vsock.h deleted +0 -209
209 lines not on this page · raw message
include/net/af_vsock.h +0 -2
@@ -175,10 +175,8 @@ void vsock_insert_connected(struct vsock_sock *vsk);void vsock_remove_bound (struct vsock_sock *vsk);void vsock_remove_connected (struct vsock_sock *vsk);struct sock *vsock_find_bound_socket (struct sockaddr_vm *addr); -struct sock *vsock_find_unbound_socket (struct sockaddr_vm *addr);struct sock *vsock_find_connected_socket (struct sockaddr_vm *src,struct sockaddr_vm *dst);void vsock_for_each_connected_socket (void (*fn)(struct sock *sk)); -int vsock_bind_dgram_generic (struct vsock_sock *vsk,struct sockaddr_vm *addr);#endif /* __AF_VSOCK_H__ */
include/uapi/linux/virtio_ids.h +0 -1
@@ -39,7 +39,6 @@#define VIRTIO_ID_9P 9/* 9p virtio console */ #define VIRTIO_ID_RPROC_SERIAL 11/* virtio remoteproc serial link */ #define VIRTIO_ID_CAIF 12/* Virtio caif */ -#define VIRTIO_ID_VSOCK 13/* virtio vsock transport */ #define VIRTIO_ID_GPU 16/* virtio GPU */ #define VIRTIO_ID_INPUT 18/* virtio input */
include/uapi/linux/virtio_vsock.h deleted +0 -89
89 lines not on this page · raw message
net/vmw_vsock/Kconfig +0 -18
@@ -26,21 +26,3 @@ config VMWARE_VMCI_VSOCKETS To compile this driver as a module, choose M here: the module will be called vmw_vsock_vmci_transport. If unsure, say N. - -config VIRTIO_VSOCKETS - tristate "virtio transport for Virtual Sockets" - depends on VSOCKETS && VIRTIO - select VIRTIO_VSOCKETS_COMMON - help - This module implements a virtio transport for Virtual Sockets. - - Enable this transport if your Virtual Machine runs on Qemu/KVM. - - To compile this driver as a module, choose M here: the module - will be called virtio_vsock_transport. If unsure, say N. - -config VIRTIO_VSOCKETS_COMMON - tristate - ---help--- - This option is selected by any driver which needs to access - the virtio_vsock.
net/vmw_vsock/Makefile +0 -2
@@ -1,7 +1,5 @@ obj-$(CONFIG_VSOCKETS) += vsock.o obj-$(CONFIG_VMWARE_VMCI_VSOCKETS) += vmw_vsock_vmci_transport.o -obj-$(CONFIG_VIRTIO_VSOCKETS) += virtio_transport.o -obj-$(CONFIG_VIRTIO_VSOCKETS_COMMON) += virtio_transport_common.o vsock-y += af_vsock.o vsock_addr.o
net/vmw_vsock/af_vsock.c +0 -70
88 lines not on this page · raw message
net/vmw_vsock/virtio_transport.c deleted +0 -466
466 lines not on this page · raw message
net/vmw_vsock/virtio_transport_common.c deleted +0 -1272
1,272 lines not on this page · raw message
Signature · 1 line
2.5.0
From: Stefan Hajnoczi <[email protected]>
Date: Wed, 9 Dec 2015 10:51:12 +0800
Quoted 4 lines
This reverts commit
0d76d6e8b2507983a2cae4c09880798079007421and merge commitc402293bd76fbc93e52ef8c0947ab81eea3ae019, reversing changes made toc89359a42e2a49656451569c382eed63e781153c.
Quoted 8 lines
The virtio-vsock device specification is not finalized yet. Michael Tsirkin voiced concerned about merging this code when the hardware interface (and possibly the userspace interface) could still change.
Signed-off-by Stefan Hajnoczi <[email protected]>---
v2:
* Revert merge commit and coccinelle fixup in a single patch
Applied, th anks.
From: Stefan Hajnoczi <[email protected]>
Date: Wed, 9 Dec 2015 10:51:12 +0800
Quoted 4 lines
This reverts commit
0d76d6e8b2507983a2cae4c09880798079007421and merge commitc402293bd76fbc93e52ef8c0947ab81eea3ae019, reversing changes made toc89359a42e2a49656451569c382eed63e781153c.
Quoted 8 lines
The virtio-vsock device specification is not finalized yet. Michael Tsirkin voiced concerned about merging this code when the hardware interface (and possibly the userspace interface) could still change.
Signed-off-by Stefan Hajnoczi <[email protected]>---
v2:
* Revert merge commit and coccinelle fixup in a single patch
Applied, th anks.