[libvirt] [PATCH 1/2] qemu: fix memory leak and check mdevPath