[libvirt] fix syntax check error