[libvirt] [PATCH 1/2] qemu: Extract MDEV VFIO PCI validation code into a separate helper