[libvirt] [PATCHv5 5/9] smartcard: turn on qemu support
Jiri Denemark
jdenemar at redhat.com
Fri Feb 4 15:52:09 UTC 2011
On Thu, Feb 03, 2011 at 21:01:16 -0700, Eric Blake wrote:
> * src/qemu/qemu_command.c (qemuBuildCommandLine): Emit smartcard
> options.
> (qemuAssignDeviceAliases): Assign an alias for smartcards.
> (qemuBuildControllerDevStr): Manage the usb-ccid controller.
> * tests/qemuxml2argvtest.c (mymain): Add new tests.
> * tests/qemuxml2argvdata/qemuxml2argv-smartcard-host.args: New
> file.
> * tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args:
> Likewise.
> * tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough.args:
> Likewise.
> * tests/qemuxml2argvdata/qemuxml2argv-smartcard-controller.args:
> Likewise.
>
> ---
> Notes:
> v2: new patch
> v3: reject ',' in cert name, alias for host smartcard use, output
> usb-ccid controller separate from rest of command line, enforce at
> most one smartcard for now
> v4: update to new XML, add comment, rebase on recent changes to testsuite
> v5: avoid rounding in tests, adjust to new capability names
> src/qemu/qemu_command.c | 116 +++++++++++++++++++-
> .../qemuxml2argv-smartcard-controller.args | 7 +
> .../qemuxml2argv-smartcard-host-certificates.args | 8 ++
> .../qemuxml2argv-smartcard-host.args | 7 +
> .../qemuxml2argv-smartcard-passthrough-tcp.args | 8 ++
> tests/qemuxml2argvtest.c | 13 ++
> 6 files changed, 157 insertions(+), 2 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-controller.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-host.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough-tcp.args
ACK
Jirka
More information about the libvir-list
mailing list