[libvirt] [PATCH 32/33] Move functions for dealing with physical/virtual devices