From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUydq-0000zv-5o for qemu-devel@nongnu.org; Thu, 06 Dec 2018 13:44:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUydm-0007fM-RK for qemu-devel@nongnu.org; Thu, 06 Dec 2018 13:44:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:3066) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUydm-0007Zs-Iu for qemu-devel@nongnu.org; Thu, 06 Dec 2018 13:44:50 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 20F4B804EF for ; Thu, 6 Dec 2018 18:44:49 +0000 (UTC) References: <1544114998-1513-1-git-send-email-thuth@redhat.com> <1544114998-1513-4-git-send-email-thuth@redhat.com> From: Eric Blake Message-ID: Date: Thu, 6 Dec 2018 12:44:44 -0600 MIME-Version: 1.0 In-Reply-To: <1544114998-1513-4-git-send-email-thuth@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-4.0 3/5] tests/machine-none: Make test independent of global_qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , qemu-devel@nongnu.org Cc: Paolo Bonzini , Laurent Vivier On 12/6/18 10:49 AM, Thomas Huth wrote: > Apart from using qmp() in one spot, this test does not have any > dependencies to the global_qtest variable, so we can simply get > rid of it here by replacing the qmp() with qtest_qmp(). > > Signed-off-by: Thomas Huth > --- > tests/machine-none-test.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org