• J
    qemu: Introduce qemuDomainSecretHostdevPrepare and Destroy · d0816650
    John Ferlan 提交于
    Similar to the qemuDomainSecretDiskPrepare, generate the secret
    for the Hostdev's prior to call qemuProcessLaunch which calls
    qemuBuildCommandLine. Additionally, since the secret is not longer
    added as part of building the command, the hotplug code will need
    to make the call to add the secret in the hostdevPriv.
    
    Since this then is the last requirement to pass a virConnectPtr
    to qemuBuildCommandLine, we now can remove that as part of these
    changes. That removal has cascading effects through various callers.
    Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
    d0816650
qemu_domain.h 24.7 KB