]> xenbits.xensource.com Git - libvirt.git/commit
domain_conf: Add helpers to verify if device configuration is valid
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jul 2012 13:30:25 +0000 (15:30 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 2 Aug 2012 09:54:50 +0000 (11:54 +0200)
commit317badb213f88da3cf7eb9e65afd55492801d57c
tree30cbbf680a9b1b518a1fa75f48556b76ecf0d90e
parent0925189713c5f9479fdfa176b5a47a7a225cebd6
domain_conf: Add helpers to verify if device configuration is valid

This patch adds helpers that validate domain's device configuration.
This will be needed later on to verify devices being hot-plugged to
guests. If the guest has no USB bus, then it's not valid to plug a USB
device to that guest.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms