libvirt/docs/schemas
Eric Blake ffdf478be2 smartcard: add XML support for <smartcard> device
Assuming a hypervisor that supports multiple smartcard devices in the
guest, this would be a valid XML description:

<devices>
  <smartcard mode='host'/>
  <smartcard mode='host-certificates'>
    <certificate>/path/to/cert1</certificate>
    <certificate>/path/to/cert2</certificate>
    <certificate>/path/to/cert3</certificate>
  </smartcard>
  <smartcard mode='passthrough' type='tcp'>
    <source mode='bind' host='127.0.0.1' service='2001'/>
    <protocol type='raw'/>
  </smartcard>
</devices>

(As of this commit, the qemu hypervisor will be the first
implementation, but it only supports one smartcard.)

* docs/formatdomain.html.in (Smartcard devices): New section.
* docs/schemas/domain.rng (smartcard): New define, used in
devices.
* tests/qemuxml2argvdata/qemuxml2argv-smartcard-host.xml: New file
to test schema.
* tests/qemuxml2argvdata/qemuxml2argv-smartcard-host-certificates.xml:
Likewise.
* tests/qemuxml2argvdata/qemuxml2argv-smartcard-passthrough-tcp.xml:
Likewise.
* tests/qemuxml2argvdata/qemuxml2argv-smartcard-controller.xml:
Likewise.
2011-02-03 19:27:43 -07:00
..
capability.rng cpu: Add support for CPU vendor 2010-07-07 17:26:00 +02:00
domain.rng smartcard: add XML support for <smartcard> device 2011-02-03 19:27:43 -07:00
domainsnapshot.rng Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
interface.rng interface.rng: Make miimon and arpmon optional for bond interfaces 2010-11-15 14:22:42 -05:00
Makefile.am Install, distribute and package domainsnapshot.rng 2010-05-27 01:11:15 +02:00
network.rng Change virtual network XML parsing/formatting to support IPv6 2010-12-23 15:53:55 -05:00
nodedev.rng maint: convert leading TABs in *.rng files to equivalent spaces 2010-03-01 20:19:20 +01:00
nwfilter.rng nwfilter: Extend schema to accept state attribute 2010-10-07 06:44:41 -04:00
secret.rng Fix a wellformedness problem in secret.rng 2009-12-10 17:03:47 +01:00
storageencryption.rng Remove accidentally added UUID re-definition in storage schema 2009-09-14 19:11:13 +01:00
storagepool.rng Fix parsing of port attribute in storage XML configuration 2010-11-23 14:55:33 +00:00
storagevol.rng maint: convert leading TABs in *.rng files to equivalent spaces 2010-03-01 20:19:20 +01:00