]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Introduce qemuBuildSmartcardCommandLine
authorJohn Ferlan <jferlan@redhat.com>
Thu, 18 Feb 2016 15:38:29 +0000 (10:38 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 12 Mar 2016 00:23:45 +0000 (19:23 -0500)
commit858bafebbf8ef644d8e1bb887a2caabfbdb8eab9
treecda960a438740316ecd0138975795f7a2553d8fb
parenteeb1e6fe9f1e1a7c296c5284f45c5d85dcf8cb5c
qemu: Introduce qemuBuildSmartcardCommandLine

Add new function to manage adding the smartcard device options to the
command line removing that task from the mainline qemuBuildCommandLine.

Alter the logic slightly to make !nsmartcards check first so that remainder
of the code is less indented.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c