[PATCH 06/24] qemu: domain: Refactor chardev definition preparing