On Fri, 2018-03-23 at 14:28 +0100, Michal Privoznik wrote:
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(a)redhat.com>
---
src/qemu/qemu_command.c | 38 +++++++++++++++++++++++++++++++-
tests/qemuxml2argvdata/user-aliases.args | 3 +++
tests/qemuxml2argvdata/user-aliases.xml | 11 +++++++++
tests/qemuxml2argvtest.c | 3 ++-
4 files changed, 53 insertions(+), 2 deletions(-)
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization