]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hostdev: Create virHostdevIsPCINetDevice
authorHuanle Han <hanxueluo@gmail.com>
Wed, 22 Apr 2015 11:33:09 +0000 (07:33 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 24 Apr 2015 16:28:59 +0000 (12:28 -0400)
commit7ec3f8051f737c17cf92b73ab4cea977ec5e4eaa
tree6f2936ebbba0f058f406dc1672a617f85b72af3f
parent19425d110b0ca2ea3588dbf880ce48d81edea89c
hostdev: Create virHostdevIsPCINetDevice

Refactor some code to create a static function virHostdevIsPCINetDevice
which will detect whether the hostdev is a pci net device or not.

Signed-off-by: Huanle Han <hanxueluo@gmail.com>
src/util/virhostdev.c