]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Build smartcard command line more wisely
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 23 Mar 2018 13:24:14 +0000 (14:24 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 23 Mar 2018 14:57:06 +0000 (15:57 +0100)
commit42900ec62214c67ab414c55f6f7ac4da0a21d81b
treebe08d485b9670da2b0393992d9d662b406310d02
parent1706bef61704dd4f793cdccfe4cd3f8d7809c899
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>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/user-aliases.args
tests/qemuxml2argvdata/user-aliases.xml
tests/qemuxml2argvtest.c