utils_misc.VFIO: Fix bugs for class and functions.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
virttest.libvirt_xml: Support to set boot order for hostdev.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>