1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00
libvirt/docs/schemas
Eric Farman ae5d30a0b3 conf: Wire up the vhost-scsi connection from/to XML
With the QEMU components in place, provide the XML parsing to
invoke that code when given the following XML snippet:

    <hostdev mode='subsystem' type='scsi_host'>
      <source protocol='vhost' wwpn='naa.501234567890abcd'/>
    </hostdev>

An optional address element can be specified within the hostdev
(pick CCW or PCI as necessary):

    <address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0625'/>
    <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>

Add basic vhost-scsi tests which were cloned from hostdev-scsi-virtio-scsi
in both xml2argv and xml2xml. Added ones for both vhost-scsi-ccw and
vhost-scsi-pci since the syntaxes are slightly different between them.

Also adjusted the docs to describe the changes.

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
2016-11-24 12:22:25 -05:00
..
basictypes.rng schema: Don't validate paths 2016-08-12 10:59:21 +02:00
capability.rng domain: conf: Drop unused OSTYPE_AIX 2015-04-29 09:42:26 -04:00
cputypes.rng schema: Separate CPU related definitions into cputypes.rng 2016-09-22 15:40:08 +02:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincaps.rng Show host model in domain capabilities 2016-09-22 15:40:08 +02:00
domaincommon.rng conf: Wire up the vhost-scsi connection from/to XML 2016-11-24 12:22:25 -05:00
domainsnapshot.rng conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
interface.rng interface: allow multiple IPv4 addresses + dhcp on a single interface 2015-05-22 10:14:01 -04:00
network.rng network: allow limiting a <forwarder> element to certain domains 2016-08-19 21:34:51 -04:00
networkcommon.rng schema: fix resolved interfaces of network type 2016-08-01 11:30:51 +02:00
nodedev.rng schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
nwfilter.rng schema: rename uint8range/uint24range to uint8/uint24 2016-04-14 14:00:33 -04:00
secret.rng conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
storagecommon.rng encryption: Add <cipher> and <ivgen> to encryption 2016-07-01 15:46:57 -04:00
storagepool.rng conf: Add storage pool device attribute part_separator 2016-01-19 13:02:59 -05:00
storagevol.rng storage: unify permission formatting 2014-12-16 15:47:56 +01:00