Then it can be used from qemu_hotplug.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/qemu/qemu_command.c | 2 +-
src/qemu/qemu_command.h | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index a5ff7695c375..0dbaa155fc28 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -9041,7 +9041,7 @@ qemuBuildChrDeviceCommandLine(virCommand *cmd,
}
-static bool
+bool
qemuChrIsPlatformDevice(const virDomainDef *def,
virDomainChrDef *chr)
{
diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h
index 309e566f6cbe..71ce031f1ac0 100644
--- a/src/qemu/qemu_command.h
+++ b/src/qemu/qemu_command.h
@@ -217,6 +217,11 @@ virJSONValue *qemuBuildHotpluggableCPUProps(const virDomainVcpuDef
*vcpu)
virJSONValue *qemuBuildShmemBackendMemProps(virDomainShmemDef *shmem)
ATTRIBUTE_NONNULL(1);
+bool
+qemuChrIsPlatformDevice(const virDomainDef *def,
+ virDomainChrDef *chr)
+ ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
+
virJSONValue *
qemuBuildShmemDevProps(virDomainDef *def,
virDomainShmemDef *shmem);
--
2.47.0