[libvirt] [PATCH] virPerfEventIsEnabled: Accept NULL @perf