mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: Make qemuBuildSecretInfoProps global
Need to create the object for a hotplug disk
This commit is contained in:
parent
c8c3484b46
commit
c6910bd4c7
@ -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)
|
||||
{
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user