[PATCH v2 18/29] qemu_command: Move hyperv cmd line generation into a function