1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

qemu: Make qemuBuildSecretInfoProps global

Need to create the object for a hotplug disk
This commit is contained in:
John Ferlan 2016-06-22 06:11:59 -04:00
parent c8c3484b46
commit c6910bd4c7
2 changed files with 5 additions and 1 deletions

@ -517,7 +517,7 @@ qemuNetworkDriveGetPort(int protocol,
* Returns 0 on success with the filled in JSON property; otherwise, * Returns 0 on success with the filled in JSON property; otherwise,
* returns -1 on failure error message set. * returns -1 on failure error message set.
*/ */
static int int
qemuBuildSecretInfoProps(qemuDomainSecretInfoPtr secinfo, qemuBuildSecretInfoProps(qemuDomainSecretInfoPtr secinfo,
virJSONValuePtr *propsret) virJSONValuePtr *propsret)
{ {

@ -61,6 +61,10 @@ virCommandPtr qemuBuildCommandLine(virQEMUDriverPtr driver,
const char *domainLibDir) const char *domainLibDir)
ATTRIBUTE_NONNULL(15); ATTRIBUTE_NONNULL(15);
/* Generate the object properties for a secret */
int qemuBuildSecretInfoProps(qemuDomainSecretInfoPtr secinfo,
virJSONValuePtr *propsret);
/* Generate '-device' string for chardev device */ /* Generate '-device' string for chardev device */
int int
qemuBuildChrDeviceStr(char **deviceStr, qemuBuildChrDeviceStr(char **deviceStr,