831dba47bd
This patch adds support for an additional bus type Virtual Machine BUS (VMBUS) on Microsoft Hyper-V in Windows 10, Windows Server 2016 and Azure. Most of this code was extracted from FreeBSD and some of this is from earlier code donated by Brocade. Only Linux is supported at present, but the code is split to allow future FreeBSD and Windows support. The bus support relies on the uio_hv_generic driver from Linux kernel 4.16. Multiple queue support requires additional sysfs interfaces which is in kernel 5.0 (a.k.a 4.17). Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
19 lines
395 B
Meson
19 lines
395 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
allow_experimental_apis = true
|
|
|
|
install_headers('rte_bus_vmbus.h','rte_vmbus_reg.h')
|
|
|
|
sources = files('vmbus_common.c',
|
|
'vmbus_channel.c',
|
|
'vmbus_bufring.c',
|
|
'vmbus_common_uio.c')
|
|
|
|
if host_machine.system() == 'linux'
|
|
sources += files('linux/vmbus_bus.c',
|
|
'linux/vmbus_uio.c')
|
|
includes += include_directories('linux')
|
|
else
|
|
build = false
|
|
endif
|