From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX3fx-0004d7-Fl for qemu-devel@nongnu.org; Fri, 18 Oct 2013 02:36:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VX3fp-00061Q-2t for qemu-devel@nongnu.org; Fri, 18 Oct 2013 02:36:45 -0400 Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]:56314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX3fo-00061A-RM for qemu-devel@nongnu.org; Fri, 18 Oct 2013 02:36:37 -0400 Received: by mail-ee0-f49.google.com with SMTP id d41so1667009eek.36 for ; Thu, 17 Oct 2013 23:36:35 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5260D6ED.5090704@redhat.com> Date: Fri, 18 Oct 2013 08:36:29 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1382046646-20263-1-git-send-email-mst@redhat.com> <1382046646-20263-2-git-send-email-mst@redhat.com> <87k3hbcfhz.fsf@blackfin.pond.sub.org> In-Reply-To: <87k3hbcfhz.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] acpi-test: basic acpi unit-test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org, Anthony Liguori , "Michael S. Tsirkin" Il 18/10/2013 07:30, Markus Armbruster ha scritto: > > +static void test_acpi_tcg(void) > > +{ > > + test_acpi_one("-machine accel=tcg"); > > +} > > Since qtest_init() adds your parameters at the end, this should result > in a command line ending with "-machine accel=qtest -machine accel=tcg", > which should result in qtest. How does this work? The last option wins. Paolo