[libvirt] [PATCH v2 5/6] qemu: refactor mdev validation method signatures