[libvirt] [PATCH v4 08/14] qemu_command: refactor spice channel code