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:
parent
c8c3484b46
commit
c6910bd4c7
src/qemu
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user