mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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,
|
qemuChrIsPlatformDevice(const virDomainDef *def,
|
||||||
virDomainChrDef *chr)
|
virDomainChrDef *chr)
|
||||||
{
|
{
|
||||||
|
@ -219,6 +219,11 @@ virJSONValue *qemuBuildHotpluggableCPUProps(const virDomainVcpuDef *vcpu)
|
|||||||
virJSONValue *qemuBuildShmemBackendMemProps(virDomainShmemDef *shmem)
|
virJSONValue *qemuBuildShmemBackendMemProps(virDomainShmemDef *shmem)
|
||||||
ATTRIBUTE_NONNULL(1);
|
ATTRIBUTE_NONNULL(1);
|
||||||
|
|
||||||
|
bool
|
||||||
|
qemuChrIsPlatformDevice(const virDomainDef *def,
|
||||||
|
virDomainChrDef *chr)
|
||||||
|
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
||||||
|
|
||||||
virJSONValue *
|
virJSONValue *
|
||||||
qemuBuildShmemDevProps(virDomainDef *def,
|
qemuBuildShmemDevProps(virDomainDef *def,
|
||||||
virDomainShmemDef *shmem);
|
virDomainShmemDef *shmem);
|
||||||
|
Loading…
Reference in New Issue
Block a user