libvirt/src/conf
Guannan Ren 5b35cc532b qemu: define and parse USB redirection filter XML
https://bugzilla.redhat.com/show_bug.cgi?id=795929
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=6af165892cf900291046f1d25f95416f379504c2

This patch define and parse the input XML of USB redirection filter.
<devices>
...
  <redirdev bus='usb' type='spicevmc'>
    <address type='usb' bus='0' port='4'/>
  </redirdev>
  <redirfilter>
    <usbdev class='0x08' vendor='0x1234' product='0xbeef' \
            version='2.00' allow='yes'/>
    <usbdev allow='no'/>
  </redirfilter>
...
</devices>

There is no 1:1 mapping between ports and redirected devices and
qemu and spicy client couldn't decide into which usbredir ports
the client can 'plug' redirected devices. So it make sense to apply
all of filter rules global to all existing usb redirection devices.
class attribute is USB Class codes. version is bcdDevice value
of USB device. vendor and product is USB vendorId and productId.
-1 can be used to allow any value for a field. Except allow attribute
the other four are optional, default value is -1.
2012-09-13 17:22:27 +08:00
..
capabilities.c Multiple security drivers in XML data 2012-08-20 19:13:33 +02:00
capabilities.h Internal refactory of data structures 2012-08-20 19:13:33 +02:00
cpu_conf.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
cpu_conf.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
device_conf.c conf: add function virDevicePCIAddressEqual 2012-08-17 15:43:26 -04:00
device_conf.h conf: add function virDevicePCIAddressEqual 2012-08-17 15:43:26 -04:00
domain_audit.c Internal refactory of data structures 2012-08-20 19:13:33 +02:00
domain_audit.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
domain_conf.c qemu: define and parse USB redirection filter XML 2012-09-13 17:22:27 +08:00
domain_conf.h qemu: define and parse USB redirection filter XML 2012-09-13 17:22:27 +08:00
domain_event.c events: Fix domain event race on client disconnect 2012-09-07 14:45:00 +02:00
domain_event.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
domain_nwfilter.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
domain_nwfilter.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
interface_conf.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
interface_conf.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
netdev_bandwidth_conf.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
netdev_bandwidth_conf.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
netdev_vlan_conf.c conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
netdev_vlan_conf.h conf: add <vlan> element to network and domain interface elements 2012-08-15 13:10:57 -04:00
netdev_vport_profile_conf.c conf: support partially-specified <virtualport> in parser and formatter 2012-08-14 15:47:50 -04:00
netdev_vport_profile_conf.h conf: support partially-specified <virtualport> in parser and formatter 2012-08-14 15:47:50 -04:00
network_conf.c list: Add helpers to list network objects 2012-09-11 16:59:51 +08:00
network_conf.h list: Add helpers to list network objects 2012-09-11 16:59:51 +08:00
node_device_conf.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
node_device_conf.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
nwfilter_conf.c nwfilter: fix crash during filter define when lxc driver failed startup 2012-08-09 23:28:00 -04:00
nwfilter_conf.h nwfilter: provide basic support for firewalld 2012-08-21 13:40:58 -04:00
nwfilter_ipaddrmap.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
nwfilter_ipaddrmap.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
nwfilter_params.c maint: don't permit format strings without % 2012-07-26 14:32:30 -06:00
nwfilter_params.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
secret_conf.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
secret_conf.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
snapshot_conf.c snapshot: rename an enum 2012-08-24 09:51:08 -06:00
snapshot_conf.h snapshot: rename an enum 2012-08-24 09:51:08 -06:00
storage_conf.c list: Add helpers for listing storage pool objects 2012-09-06 21:59:00 +08:00
storage_conf.h list: Add helpers for listing storage pool objects 2012-09-06 21:59:00 +08:00
storage_encryption_conf.c Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
storage_encryption_conf.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00
virconsole.c conf: Remove console stream callback only when freeing console helper 2012-08-03 23:42:45 +02:00
virconsole.h Desert the FSF address in copyright 2012-07-23 10:50:50 +08:00