[PATCH] qemu_process: Separate VIR_PERF_EVENT_* setting into a function