diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-11-14 12:57:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 05:12:18 +0300 |
commit | b1bba80a4376aef34de2b57bfb8834bd095703ed (patch) | |
tree | b22280bc8b8e0f8789bfeb7f4013e0c670be2ca4 /drivers/vhost/vsock.c | |
parent | c0cfa2d8a788fcf45df5bf4070ab2474c88d543a (diff) | |
download | linux-b1bba80a4376aef34de2b57bfb8834bd095703ed.tar.xz |
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>
Diffstat (limited to 'drivers/vhost/vsock.c')
0 files changed, 0 insertions, 0 deletions