kernel-hacking-2024-linux-s.../net/vmw_vsock
Stefano Garzarella b1bba80a43 vsock/vmci: register vmci_transport only when VMCI guest/host are active
To allow other transports to be loaded with vmci_transport,
we register the vmci_transport as G2H or H2G only when a VMCI guest
or host is active.

To do that, this patch adds a callback registered in the vmci driver
that will be called when the host or guest becomes active.
This callback will register the vmci_transport in the VSOCK core.

Cc: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-11-14 18:12:18 -08:00
..
af_vsock.c vsock: add multi-transports support 2019-11-14 18:12:18 -08:00
af_vsock_tap.c
diag.c
hyperv_transport.c vsock: add multi-transports support 2019-11-14 18:12:18 -08:00
Kconfig
Makefile
virtio_transport.c vsock: add multi-transports support 2019-11-14 18:12:18 -08:00
virtio_transport_common.c vsock: add multi-transports support 2019-11-14 18:12:18 -08:00
vmci_transport.c vsock/vmci: register vmci_transport only when VMCI guest/host are active 2019-11-14 18:12:18 -08:00
vmci_transport.h vsock: handle buffer_size sockopts in the core 2019-11-14 18:12:18 -08:00
vmci_transport_notify.c
vmci_transport_notify.h vsock: remove include/linux/vm_sockets.h file 2019-11-14 18:12:17 -08:00
vmci_transport_notify_qstate.c
vsock_addr.c