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

View File

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

View File

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