From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6543573978583138304 X-Received: by 2002:adf:9ec5:: with SMTP id b5-v6mr1463337wrf.18.1524463607225; Sun, 22 Apr 2018 23:06:47 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.5.77 with SMTP id 74ls1593881wmf.8.gmail; Sun, 22 Apr 2018 23:06:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx48v1QdH7x5vQJmuGKAVK2A0vbDKhepKIb1o3bn4wFzJ2fygxc3GQCUwmjrVfo01wnQIy4lT X-Received: by 10.28.230.77 with SMTP id d74mr1038294wmh.10.1524463606827; Sun, 22 Apr 2018 23:06:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524463606; cv=none; d=google.com; s=arc-20160816; b=Fpg1Z45ZfsGfJYxHArMhGeIvd20ahLPLBp4ZzcdVVo3H3rhp+WeIVZH6R0cBTPe5PA qL39lpfbOFImwWwXTTsKYwBMeTQ+Gr/99A7/OyjtrrdkqMdTZkI2fDMiyOyjO2DZb68Z 6/gs3xbjTa5HBXA1dg0qeu4DUrFWYUEW4mDWlaQuraPcCHxMclVmmLns7b43VL7uDZDq Z1Cr7kPs58rHqEFA+9ZM5fTHjlpoiyjg9nBcbFxwl7vKYe1Pz727ZI/sVWt+9U7HYrNF eWBfRnKbwFdlTxTvjU+Fl7v9EM92/X39ZHWWRCIlMSHJ9/8H/dGHJ83L5mkrRyq5dbdB cGtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date :arc-authentication-results; bh=mu9CVp680sOKtYLst8RhVgKHqNs+UaQl+Bk+mz3sO1k=; b=SeCsfZOSG0ATFTrU7SQP5MGtosLvZxyz/eehl/46srEMbCudW0uKGhPOjqfggs/ywi xeKkQf5yxSU8YmXmP6DEA8aPnW/x0J6dqHoPc0lE2j89xqlaMlRA8VnuSmY6IiwbsfmY otm247GbYVk48kQ1b8m+hH08iTBEOJlX3V1bYIQ81xmIYN3KI3/sAJiQc0JsK/hp7iHo EuTodVj3yFg3xo+Yx0NALj2c0SXEN2zkZj0kW0gnYz+zj2lwlC6wHNiAQoPtDU9ce1CQ kX/oARLJFpRHJgp0vE/lfCWASrYhNKB6HRr4ozR0PUFs7B8Cqf1ljOuyJ3iN9BWaYS9s kuBA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id m2si356825wmh.2.2018.04.22.23.06.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Apr 2018 23:06:46 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.62.211 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.radix50.net (ip-109-41-193-49.web.vodafone.de [109.41.193.49]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w3N66i6N011391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 23 Apr 2018 08:06:45 +0200 Received: from yssyq.radix50.net (localhost [127.0.0.1]) by yssyq.radix50.net (8.14.4/8.14.4/Debian-8) with ESMTP id w3N66c3c005825 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 23 Apr 2018 08:06:38 +0200 Received: (from ibr@localhost) by yssyq.radix50.net (8.14.4/8.14.4/Submit) id w3N66ccn005824 for isar-users@googlegroups.com; Mon, 23 Apr 2018 08:06:38 +0200 Date: Mon, 23 Apr 2018 08:06:38 +0200 From: Baurzhan Ismagulov To: isar-users@googlegroups.com Subject: Re: [PATCH 3/3] scripts/start_vm: Deduplicate start_qemu Message-ID: <20180423060638.GE4873@yssyq.radix50.net> Mail-Followup-To: isar-users@googlegroups.com References: <7219cddfebd75ac1527471df0118009e6c9ae530.1523544076.git.henning.schild@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-TUID: SzITXEzDNWhp On Thu, Apr 12, 2018 at 04:48:57PM +0200, Henning Schild wrote: > Instead of echoing what we are about to execute, switch the shell to > verbose mode. But only toggle "x" if it was not seet already. > > This simplifies the script and future changes will only have to touch > one spot. Thanks, applied. In the future, I'd like to have something like do_and_log qemu-system-$QEMU_ARCH args... With kind regards, Baurzhan.