[libvirt] [PATCHv3 2/3] domain_conf: Add helpers to verify if device configuration is valid
Jiri Denemark
jdenemar at redhat.com
Thu Aug 2 09:24:30 UTC 2012
On Mon, Jul 23, 2012 at 14:19:14 +0200, Peter Krempa wrote:
> 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.
> ---
> Diff to v2:
> - split out USB device checking to a separate function
> - made virDomainDefHasUSB static as it's not used outside of domain_conf.c
> ---
> src/conf/domain_conf.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++
> src/conf/domain_conf.h | 3 ++
> src/libvirt_private.syms | 1 +
> 3 files changed, 56 insertions(+), 0 deletions(-)
ACK
Jirka
More information about the libvir-list
mailing list