]> xenbits.xensource.com Git - libvirt.git/commit
virDomainRedirdevDef: Introduce find & remove routines
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 9 Jun 2016 09:17:01 +0000 (11:17 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 17 Jun 2016 16:12:43 +0000 (18:12 +0200)
commite30dbb9f9883e50b1ba6453716ae578aba06b5f1
tree924cf5f176e196f735c518b48e701062d0dc9d12
parent9f20b3b45eb8fdffcc5cce805f2b9d03680f5c7b
virDomainRedirdevDef: Introduce find & remove routines

Basically, there are just two functions introduced here:
virDomainRedirdevDefFind which looks up given redirdev in domain
definition, and virDomainRedirdevDefRemove which removes the
device at given index in the array of devices.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms