mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
hw/rdma: Remove deprecated pvrdma device and rdmacm-mux helper
The whole RDMA subsystem was deprecated in commit e9a54265f5
("hw/rdma: Deprecate the pvrdma device and the rdma subsystem")
released in v8.2.
Remove:
- PVRDMA device
- generated vmw_pvrdma/ directory from linux-headers
- rdmacm-mux tool from contrib/
Cc: Yuval Shaia <yuval.shaia.ml@gmail.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20240328130255.52257-2-philmd@linaro.org>
This commit is contained in:
parent
a60e53fa8f
commit
1dfd42c426
51 changed files with 5 additions and 7977 deletions
|
@ -55,7 +55,6 @@ cp_portable() {
|
|||
-e 'linux/if_ether' \
|
||||
-e 'input-event-codes' \
|
||||
-e 'sys/' \
|
||||
-e 'pvrdma_verbs' \
|
||||
-e 'drm.h' \
|
||||
-e 'limits' \
|
||||
-e 'linux/const' \
|
||||
|
@ -226,32 +225,6 @@ mkdir -p "$output/include/standard-headers/drm"
|
|||
cp_portable "$tmpdir/include/drm/drm_fourcc.h" \
|
||||
"$output/include/standard-headers/drm"
|
||||
|
||||
rm -rf "$output/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma"
|
||||
mkdir -p "$output/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma"
|
||||
|
||||
# Remove the unused functions from pvrdma_verbs.h avoiding the unnecessary
|
||||
# import of several infiniband/networking/other headers
|
||||
tmp_pvrdma_verbs="$tmpdir/pvrdma_verbs.h"
|
||||
# Parse the entire file instead of single lines to match
|
||||
# function declarations expanding over multiple lines
|
||||
# and strip the declarations starting with pvrdma prefix.
|
||||
sed -e '1h;2,$H;$!d;g' -e 's/[^};]*pvrdma[^(| ]*([^)]*);//g' \
|
||||
"$linux/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h" > \
|
||||
"$tmp_pvrdma_verbs";
|
||||
|
||||
for i in "$linux/drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h" \
|
||||
"$tmp_pvrdma_verbs"; do \
|
||||
cp_portable "$i" \
|
||||
"$output/include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/"
|
||||
done
|
||||
|
||||
rm -rf "$output/include/standard-headers/rdma/"
|
||||
mkdir -p "$output/include/standard-headers/rdma/"
|
||||
for i in "$tmpdir/include/rdma/vmw_pvrdma-abi.h"; do
|
||||
cp_portable "$i" \
|
||||
"$output/include/standard-headers/rdma/"
|
||||
done
|
||||
|
||||
cat <<EOF >$output/include/standard-headers/linux/types.h
|
||||
/* For QEMU all types are already defined via osdep.h, so this
|
||||
* header does not need to do anything.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue