Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3170985lqp; Tue, 26 Mar 2024 01:16:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUu7NeHYyPIr4A4V+bQTn9IXiVVUsP9UGg3/EAjnnJh3lF8sCMjCv1CdDjrdfhctT4EA7RfjnW+EICtgzNe1eTtkNJAo1UGdsMta+n4tQ== X-Google-Smtp-Source: AGHT+IGmql7Eil7wTnFOEycI1kYI8jdFC+1eeDyvjprxUlKq9tHzZo7Ff/nHkBdF66ATbjC9aMnk X-Received: by 2002:a17:902:f789:b0:1e0:b25b:c421 with SMTP id q9-20020a170902f78900b001e0b25bc421mr7799130pln.65.1711440987760; Tue, 26 Mar 2024 01:16:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711440987; cv=pass; d=google.com; s=arc-20160816; b=q4ZaoxQLivrWnWDr/1ohw+WDcODPMawVdzj+X+jv3KXAvRwAaLFAPSvD/UUkrMnlAt Tox3Hc5MabZYLDiUqYe685LGdZ5bdkB7/xlgWSA2Rs/5SAk6K1rpr2QeXBqedAjzLFV1 BluthmclSjj5vFwvZQvf57dcXkWPw6f6kcCYFpCMcwYeV+C/iyorpPDZeaoLntvOI1ZH LvioeRZIFh2EDazhCJx7S7kxuZOc2c+054Iphupq0gjnmcYO2aGqdm/6pkDAWYU+l+TO +46a3mYT7usrdXZwefk0F2W5BrxEMZMqAnV2MR7rYbQdl9tO3rx8PuBrpMJSv19fMY16 kG9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=n4h8I8/4aFH2ZTAUPUDEemtBiwuok1vtrXZI7FBHKSg=; fh=Cxdn37Nj4rnynuJVIljxBIBZ0fOPuDgMXixZyQV1fSs=; b=Q4rKLa7e5+Hr0zUPd+nvgFYiSYBTUw57q+v2SJyZDFsTcBTzX9fi5EFDuruWhrlwtr FWr5GEyMbhbfEbjrdzNB8SWiQypYfCpX4w2CuaUAcFsjNTwi1oGRkevGPRe8ue7YaW3i b+irs9yND+JaQSQc5vsWAqQR7Tk4I3yW0P1AX1SEPgMdymfaHEBIs6nk0VDRQSy3s6AG qZj6eGJeA2Ize5fRlTbXdctcZVS4snRO5YzM9O6RPPGoSCvYBHV/8HnLb+XpU/xba0VW aGLUc6GJG1MwtzhK8fVkKHCyKoZVwp8wRUH9pKily/4ZZnmMo6hO98knEjL2ljW6W9An NKWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DVd5tMVx; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-118524-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b6-20020a170902650600b001dcb3b35204si5481921plk.541.2024.03.26.01.16.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 01:16:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118524-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DVd5tMVx; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-118524-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5B0AC2C8657 for ; Tue, 26 Mar 2024 08:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD656134420; Tue, 26 Mar 2024 08:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DVd5tMVx" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0456412AADB; Tue, 26 Mar 2024 08:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711440979; cv=none; b=CUuOFFRFYi+O5Ria73UWk+e5X8Lli/LNBgiIw/eUydaOfhemN9k1+/vQ9ff11DqNgNJxQX+2ZWMfWYAWNQ7D1nNvChHfpWyJf+jiZ3IHNCwJKQUE07VYK5/h9/2TATVlcBwfgcYPZhqmcFnldgqk6TgXZv7ZySvwb3yNkHd72h8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711440979; c=relaxed/simple; bh=cfHV3so/oLbM3PTbry+d/EPObawsMb4Bf5kpaemSprk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RBGdkkbHr/cFCV+eNtWGzTsdJwwj3VpLc6OPUo9e4AnPUmYgbKmSnVJHRGcfCH/YFQA3XlNEhaXQ5bCoEeiR4hSEebDNRgjyW7ANb1Ye1CDjo3boOSr/ByopJiLQsEYVmUJotQBrvvpRBr2aOBIlMyDJlUOMS/4tjs6AsUZKoQ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=DVd5tMVx; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711440977; x=1742976977; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=cfHV3so/oLbM3PTbry+d/EPObawsMb4Bf5kpaemSprk=; b=DVd5tMVxZ6ZyvZLGyjYshZlSIrnjODBR0j35FKLth35S8zuwLEXICJMH i0y5yyeNGfeM76nSB7+a8I/64e0UCB/ERv+JWokXcvqL1jMImduFDFEjX G4cKHpx+MIC20c/O1aBZH7yxLSNIjSSOiTTgU66VoMAgr7DzVLZ0flFhn wJCKzA3NbwJphzosTDjqWIHc5OGm+jQjVrf0RzT2qbPutbNfs028ocLYs ig+e5+dxylMJnKZ12whF5wJyFAVecSZvZki6xGpdlm4OXM6MBJ+Wft2Ly +ykoQI202+5hyh1SPbdmAPWPrwrS8eL09K9PkX/JRGuCeRe93OFwNtX7T g==; X-IronPort-AV: E=McAfee;i="6600,9927,11024"; a="6370621" X-IronPort-AV: E=Sophos;i="6.07,155,1708416000"; d="scan'208";a="6370621" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 01:16:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,155,1708416000"; d="scan'208";a="20603139" Received: from liuzhao-optiplex-7080.sh.intel.com (HELO localhost) ([10.239.160.36]) by orviesa005.jf.intel.com with ESMTP; 26 Mar 2024 01:16:14 -0700 Date: Tue, 26 Mar 2024 16:30:09 +0800 From: Zhao Liu To: Thomas Huth Cc: Paolo Bonzini , kvm@vger.kernel.org, Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] KVM: selftests: Use TAP in the steal_time test Message-ID: References: <20231019095900.450467-1-thuth@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231019095900.450467-1-thuth@redhat.com> On Thu, Oct 19, 2023 at 11:59:00AM +0200, Thomas Huth wrote: > Date: Thu, 19 Oct 2023 11:59:00 +0200 > From: Thomas Huth > Subject: [PATCH] KVM: selftests: Use TAP in the steal_time test > > For easier use of the tests in automation and for having some > status information for the user while the test is running, let's > provide some TAP output in this test. > > Signed-off-by: Thomas Huth > --- > NB: This patch does not use the interface from kselftest_harness.h > since it is not very suitable for the for-loop in this patch. > > tools/testing/selftests/kvm/steal_time.c | 46 ++++++++++++------------ > 1 file changed, 23 insertions(+), 23 deletions(-) > Reviewed-by: Zhao Liu