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