From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9JMt-0004jF-V3 for qemu-devel@nongnu.org; Fri, 12 May 2017 18:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9JMq-0006L7-2r for qemu-devel@nongnu.org; Fri, 12 May 2017 18:49:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41268) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9JMp-0006KM-Sv for qemu-devel@nongnu.org; Fri, 12 May 2017 18:49:00 -0400 References: From: Laszlo Ersek Message-ID: Date: Sat, 13 May 2017 00:48:56 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] multiple -append? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley , qemu-devel@nongnu.org On 05/12/17 16:20, Rob Landley wrote: > When I feed a second -append to qemu-system-i386 they don't get > concatenated, the second replaces the first. Why is it called "append" then? This behavior dates back to commit a20dd508aa38 ("simplified invocation - added automatic IDE disk geometry guessing to reuse old disk images directly", 2003-09-30), which is when "-append" was added. In said commit, "kernel_cmdline" was *appended* to "params->commandline" with pstrcat(). The rest is history. TL;DR: "just because" :) Thanks Laszlo