[libvirt] [PATCH v1 02/11] qemu: command: Move graphics iteration to its own function