[libvirt] [PATCHv4 0/5] smartcard, round 4

Eric Blake eblake at redhat.com
Tue Feb 1 16:48:51 UTC 2011


This should address all of the comment from round 3:
https://www.redhat.com/archives/libvir-list/2011-January/msg01034.html

In particular, there is no longer a device tied to host mode (qemu
uses NSS, which connects to the nss daemon rather than to a physical
device); the certificate entries for host-certificates mode are no
longer treated as paths, but as opaque names used within the database;
the database defaults to /etc/pki/nssdb/ if not otherwise specified
(hmm, I guess I haven't added support for $HOME/.pki/nssdb for
non-root users yet, but wanted to get this out for review now due
to a request from  Alon).  More notes on each patch.

Eric Blake (5):
  smartcard: add XML support for <smartcard> device
  smartcard: add domain conf support
  smartcard: check for qemu capability
  smartcard: enable SELinux support
  smartcard: turn on qemu support

 cfg.mk                                             |    1 +
 docs/formatdomain.html.in                          |   95 +++++-
 docs/schemas/domain.rng                            |   66 ++++
 src/conf/domain_conf.c                             |  366 +++++++++++++++++++-
 src/conf/domain_conf.h                             |   52 +++-
 src/libvirt_private.syms                           |    4 +
 src/qemu/qemu_capabilities.c                       |    2 +
 src/qemu/qemu_capabilities.h                       |    1 +
 src/qemu/qemu_command.c                            |   95 +++++-
 src/security/security_selinux.c                    |   76 ++++
 .../qemuxml2argv-smartcard-controller.args         |    7 +
 .../qemuxml2argv-smartcard-controller.xml          |   19 +
 .../qemuxml2argv-smartcard-host-certificates.args  |    8 +
 .../qemuxml2argv-smartcard-host-certificates.xml   |   20 +
 .../qemuxml2argv-smartcard-host.args               |    7 +
 .../qemuxml2argv-smartcard-host.xml                |   16 +
 .../qemuxml2argv-smartcard-passthrough-tcp.args    |    7 +
 .../qemuxml2argv-smartcard-passthrough-tcp.xml     |   19 +
 tests/qemuxml2argvtest.c                           |   13 +
 19 files changed, 859 insertions(+), 15 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-controller.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-controller.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-host.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-host.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough-tcp.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough-tcp.xml

-- 
1.7.3.5




More information about the libvir-list mailing list