diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index f67176fbfd..696f891b47 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -9065,7 +9065,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 befc3f4ef9..fb4551a7d0 100644 --- a/src/qemu/qemu_command.h +++ b/src/qemu/qemu_command.h @@ -219,6 +219,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);