mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Rusty Russell](/assets/img/avatar_default.png)
ERROR: "memcpy_fromiovec" [drivers/vhost/vhost_scsi.ko] undefined!
That function is only present with CONFIG_NET. Turns out that
crypto/algif_skcipher.c also uses that outside net, but it actually
needs sockets anyway.
In addition, commit 6d4f0139d6
added
CONFIG_NET dependency to CONFIG_VMCI for memcpy_toiovec, so hoist
that function and revert that commit too.
socket.h already includes uio.h, so no callers need updating; trying
only broke things fo x86_64 randconfig (thanks Fengguang!).
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 lines
402 B
Text
16 lines
402 B
Text
#
|
|
# VMware VMCI device
|
|
#
|
|
|
|
config VMWARE_VMCI
|
|
tristate "VMware VMCI Driver"
|
|
depends on X86 && PCI
|
|
help
|
|
This is VMware's Virtual Machine Communication Interface. It enables
|
|
high-speed communication between host and guest in a virtual
|
|
environment via the VMCI virtual device.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called vmw_vmci.
|