mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -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
|
@ -12,7 +12,6 @@
|
|||
#include "hw/boards.h"
|
||||
#include "hw/intc/intc.h"
|
||||
#include "hw/mem/memory-device.h"
|
||||
#include "hw/rdma/rdma.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/qapi-builtin-visit.h"
|
||||
#include "qapi/qapi-commands-machine.h"
|
||||
|
@ -291,37 +290,6 @@ MemoryInfo *qmp_query_memory_size_summary(Error **errp)
|
|||
return mem_info;
|
||||
}
|
||||
|
||||
static int qmp_x_query_rdma_foreach(Object *obj, void *opaque)
|
||||
{
|
||||
RdmaProvider *rdma;
|
||||
RdmaProviderClass *k;
|
||||
GString *buf = opaque;
|
||||
|
||||
if (object_dynamic_cast(obj, INTERFACE_RDMA_PROVIDER)) {
|
||||
rdma = RDMA_PROVIDER(obj);
|
||||
k = RDMA_PROVIDER_GET_CLASS(obj);
|
||||
if (k->format_statistics) {
|
||||
k->format_statistics(rdma, buf);
|
||||
} else {
|
||||
g_string_append_printf(buf,
|
||||
"RDMA statistics not available for %s.\n",
|
||||
object_get_typename(obj));
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
HumanReadableText *qmp_x_query_rdma(Error **errp)
|
||||
{
|
||||
g_autoptr(GString) buf = g_string_new("");
|
||||
|
||||
object_child_foreach_recursive(object_get_root(),
|
||||
qmp_x_query_rdma_foreach, buf);
|
||||
|
||||
return human_readable_text_from_str(buf);
|
||||
}
|
||||
|
||||
HumanReadableText *qmp_x_query_ramblock(Error **errp)
|
||||
{
|
||||
g_autoptr(GString) buf = ram_block_format();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue