libvirt/src/conf
Eric Blake 79f9267f4b smartcard: add spicevmc support
Adds <smartcard mode='passthrough' type='spicevmc'/>, which uses the
new <channel name='smartcard'/> of <graphics type='spice'>.

* docs/schemas/domain.rng: Support new XML.
* docs/formatdomain.html.in: Document it.
* src/conf/domain_conf.h (virDomainGraphicsSpiceChannelName): New
enum value.
(virDomainChrSpicevmcName): New enum.
(virDomainChrSourceDef): Distinguish spicevmc types.
* src/conf/domain_conf.c (virDomainGraphicsSpiceChannelName): Add
smartcard.
(virDomainSmartcardDefParseXML): Parse it.
(virDomainChrDefParseXML, virDomainSmartcardDefParseXML): Set
spicevmc name.
(virDomainChrSpicevmc): New enum conversion functions.
* src/libvirt_private.syms: Export new functions.
* src/qemu/qemu_command.c (qemuBuildChrChardevStr): Conditionalize
name.
* tests/qemuxml2argvtest.c (domain): New test.
* tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough-spicevmc.args:
New file.
* tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough-spicevmc.xml:
Likewise.
2011-02-04 09:00:39 -07:00
..
capabilities.c Introduce per-device boot element 2011-01-17 17:08:13 +01:00
capabilities.h capabilities, cpu: use new array API 2010-11-18 12:21:58 -07:00
cpu_conf.c capabilities, cpu: use new array API 2010-11-18 12:21:58 -07:00
cpu_conf.h capabilities, cpu: use new array API 2010-11-18 12:21:58 -07:00
domain_conf.c smartcard: add spicevmc support 2011-02-04 09:00:39 -07:00
domain_conf.h smartcard: add spicevmc support 2011-02-04 09:00:39 -07:00
domain_event.c qemud: fix memory leak in io error events 2010-12-08 09:00:26 -07:00
domain_event.h Add support for another explicit IO error event 2010-04-30 15:52:59 +01:00
domain_nwfilter.c nwfilter: fix loadable module support 2010-06-21 14:18:31 -04:00
domain_nwfilter.h nwfilter: fix loadable module support 2010-06-21 14:18:31 -04:00
interface_conf.c Don't leak delay string when freeing virInterfaceBridgeDefs 2010-08-03 11:37:05 -04:00
interface_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
network_conf.c network: plug memory leak 2011-01-10 15:35:37 -07:00
network_conf.h Run radvd for virtual networks with IPv6 addresses 2010-12-23 15:55:05 -05:00
node_device_conf.c nodedev: Free the right pointers when getting WWNs fails 2010-08-18 17:32:31 +02:00
node_device_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
nwfilter_conf.c Prefer C style comments over C++ ones 2011-01-29 00:59:45 +01:00
nwfilter_conf.h Prefer C style comments over C++ ones 2011-01-29 00:59:45 +01:00
nwfilter_params.c xen-proxy: Remove it entirely and use libvirtd instead 2010-11-08 22:00:35 +01:00
nwfilter_params.h This patch removes the virConnectPtr parameter from all functions where it's not necessary starting out with removing it as a parameter to the error reporting function. 2010-04-05 12:34:55 -04:00
secret_conf.c Use common XML parsing functions 2010-03-23 15:40:10 +01:00
secret_conf.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storage_conf.c Prefer C style comments over C++ ones 2011-01-29 00:59:45 +01:00
storage_conf.h Fix parsing of port attribute in storage XML configuration 2010-11-23 14:55:33 +00:00
storage_encryption_conf.c xen-proxy: Remove it entirely and use libvirtd instead 2010-11-08 22:00:35 +01:00
storage_encryption_conf.h storage_encryption: silence clang warning 2010-05-10 13:53:12 -06:00