[libvirt] [PATCH] qemu: Remove duplicated code in qemuBuildSerialChrDeviceStr()