[libvirt] [PATCH v2 3/6] qemu: fix domain device validation