8550e85 qemu: Add secret object hotplug for TCP chardev TLS

Authored and Committed by John Ferlan 7 years ago
    qemu: Add secret object hotplug for TCP chardev TLS
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1300776
    
    Complete the implementation of support for TLS encryption on
    chardev TCP transports by adding the hotplug ability of a secret
    to generate the passwordid for the TLS object for chrdev, RNG,
    and redirdev.
    
    Fix up the order of object removal on failure to be the inverse
    of the attempted attach (for redirdev, chr, rng) - for each the
    tls object was being removed before the chardev backend.
    
    Likewise, add the ability to hot unplug that secret object as well
    and be sure the order of unplug matches that inverse order of plug.
    
    Signed-off-by: John Ferlan <jferlan@redhat.com>
    
        
file modified
+3 -3
file modified
+139 -29
file modified
+6 -3
file modified
+1 -1