]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Refactor virDomainHostdevFind method
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Nov 2012 13:50:13 +0000 (13:50 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 12 Dec 2012 12:27:53 +0000 (12:27 +0000)
commit9cdd9ea20e89c8a7b5a67b52d22cc45b08072f65
tree1770beb12ce63997e50bced1d9130ff8cc3b6558
parent50897ffbb627e656dfb777a38123e902ad685539
Refactor virDomainHostdevFind method

Move the code for matching hostdev instances out of virDomainHostdevFind
and into virDomainHostdevMatch method, which in turn calls out to other
helper methods depending on the type of hostdev.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/conf/domain_conf.c