mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-06 17:17:56 +03:00
qemu: Expose qemuChrIsPlatformDevice outside from qemu_command
Then it can be used from qemu_hotplug. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
9dc2226e68
commit
52c2e3e0a7
@ -9065,7 +9065,7 @@ qemuBuildChrDeviceCommandLine(virCommand *cmd,
|
||||
}
|
||||
|
||||
|
||||
static bool
|
||||
bool
|
||||
qemuChrIsPlatformDevice(const virDomainDef *def,
|
||||
virDomainChrDef *chr)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user