提交 c6910bd4 编写于 作者: J John Ferlan

qemu: Make qemuBuildSecretInfoProps global

Need to create the object for a hotplug disk
上级 c8c3484b
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册