libvirt_xml.devices: Enhance hostdev device.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #1834 from yumingfei/hostdev

libvirt_xml.devices: Enhance hostdev device.