[libvirt] [PATCH 1/2] qemu: migration: Refactor hostdev validation in migration check