42900ec qemu: Build smartcard command line more wisely

Authored and Committed by mprivozn 6 years ago
    qemu: Build smartcard command line more wisely
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1558317
    
    Similarly to b133fac356324c3 we need to look up alias of CCID
    controller when constructing smartcard command line instead of
    relying on broken assumption it will always be 'ccid0'. After
    user aliases it can be anything.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    Reviewed-by: Andrea Bolognani <abologna@redhat.com>
    
        
file modified
+37 -1
file modified
+2 -1