[libvirt] [PATCH v2 11/27] qemu: Extract vCPU onlining/offlining via agent into a separate function