Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp202100lqf; Fri, 26 Apr 2024 04:27:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsk09OfluyrjNKpvbDP3flq3BAGlztCnRMsL8akplzUwmFZu1aSIehQYdOKQk8/KYyrn/VBPlA5quQj7LNHkLNI92VUJy+yRWGNjMLJA== X-Google-Smtp-Source: AGHT+IHNuXez7U1ukSbp45Cv9T4z1XNWE4AO9K7QjJlfyVqjr/r2ausXoJJxbhWoCU4HSZlIjaCc X-Received: by 2002:a05:6808:4405:b0:3c6:f07a:bc4b with SMTP id eo5-20020a056808440500b003c6f07abc4bmr2455305oib.44.1714130830604; Fri, 26 Apr 2024 04:27:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714130830; cv=pass; d=google.com; s=arc-20160816; b=F+YdGGPimPoausBSaeJQyxPZtODbSAZTsBGTmUhNi+iGIwJ3c8/3fkFBlzjFKo3npZ E/zIY5UaAZ6xQ8QK9qa8K2d/ArOtWFJ4oFmabqTjtmeTze7MkTa6WBhz0w7nI8ygaqLf VriVKxy2WaFojvz5+ZieR0sGwWKm72qRUzZ6jMGWz5Qm0uKpmcuDyZP9xcnVpGL+LM/9 PgiVd69qkf1fH6AHvlwNEX8eFuOjdHgjTfgRTuSfv09vClLCZRGI76U1gZLW5Fam3jK+ aXuffUwcSmKR9SM+yHB7qi3kR+oTfePhwcZGx+vWd6n/kpNMborArR+EuBTXLZUys1AZ Cbiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=JRBls/m74qSZorjaqM9e4x5+tWNgtnFayg/PS7KECKA=; fh=W0n+n/BsP8fKr5xZd/zaQ7NCehwEAYYvb3z6oduBvoA=; b=pGQt0igTR2j+1YVUanOVdzExpryXD1ZAb26o1m6KSEy3tscNAJ0U1WQOPvrG+EI0Jj 4l3Zi4CAm9784/NUTR7tjNsXH0VFWz5mMKGOzv+xu7v8Uo42Nm9A9x5BjPGg6rQJMgA8 Sb9edJWkbFET4D4kmKZJ9FMlOeGe8ReF2kPwAwjE8iFfxQqkktwr1S8uT8pohBocpqE1 NYdJmvhxwDeXtNX7hM+0NR0WjDf5XblELUe53+WKPWIKP7hCDh4N6rR97l1qEmNes6O5 NS+mE223Xe6/fqnZpsxpf/Sq/6psgrojfk345fjr7yP9Ebi8llkaQhkJdya8nkfV44P4 zGcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gQDdbq2i; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-159936-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159936-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 f6-20020a635546000000b006003ee04f15si8903371pgm.698.2024.04.26.04.27.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 04:27:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159936-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=@redhat.com header.s=mimecast20190719 header.b=gQDdbq2i; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-159936-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159936-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 0A6FB28720C for ; Fri, 26 Apr 2024 11:27:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B538814533C; Fri, 26 Apr 2024 11:27:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gQDdbq2i" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 7FD76143890 for ; Fri, 26 Apr 2024 11:27:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714130821; cv=none; b=iY9wwFYyx/XboDvj2DpMZdzKotmrb9Lb7aZR7MB7BnBAdZ+XX/tdyr92crB66iUayD7STkHhL7+MMBuYx8JbaH3VcdeoSU0r6C2lvr10TfITJ2L5vV7nFnKj2ayOoBexHJdiufPv/wFEqyV18zNk9/JqAv/MDJc6wTodprUo5ec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714130821; c=relaxed/simple; bh=lJH1vAUzuD2xAYeKTWYUa/NPnYuLuV53+qYSGVI77ow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=X/jt82gI037HgyNe4Hz7NCkkQmEl7tEWA3hIgr8WAYkpGEwF9wzM1ge3QwSKcICiT0Gsi5JGHFXRk5VrCBvIDtBOKJoq7dFYn5VoJtSrMvs4y6bnECB25KXnnTfEiU/6ME7EXvp2BVNK4+PRGLOHtdRlgLf6ngQvPH8siqoFPX4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gQDdbq2i; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714130819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=JRBls/m74qSZorjaqM9e4x5+tWNgtnFayg/PS7KECKA=; b=gQDdbq2ibZQbtSgjhqLXfnsuwkTEJn4anlMQXBjQnuPyVYxln3OQ+XSMZgnEa1KC1ez9x9 mGsqU86Ua2SH5NMMrzs5mhS6aLfgpjEwjRhDwutqLC2te44myMEvmZOJ0mwGgdvrag1xuM OUJyiI7QfsEwfqFA1DLhvOYDBNOW1lI= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-53-pj_AD8ipM7699rgYzgHhTA-1; Fri, 26 Apr 2024 07:26:57 -0400 X-MC-Unique: pj_AD8ipM7699rgYzgHhTA-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-a55be723396so122744666b.0 for ; Fri, 26 Apr 2024 04:26:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714130816; x=1714735616; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JRBls/m74qSZorjaqM9e4x5+tWNgtnFayg/PS7KECKA=; b=Wi8kka6dK/UEL0i2+MRmxjLmknD+BGcxzjMM/fuHVtkWWh0Mp3k9whrqmxcdrLEMCJ BPdSwMcx+X0Kr502lAt9emudU/5ybnXL5A2geDsKfNh5zlNpOmPGVun9Z3TQvxyJBeAG pHpXMumpaMrkDXxD35m/ixyb5OWhEAz4Ncm8mkEFt5YktAlUXfiSH99I6t0g6hKZs6C5 uTWZuspy9HSmYyLVH/KT1KHu0PQUGveJxDHH4giiVQhkM5QJHCLYLxUKAJMyAHeq0Pq3 U/J4DbtPlIXU602P4+1v4x0qE6ax2Xy6Zj4fFK0zvak3oVkHXX3pqcikm/GAlLcB081h xmBA== X-Forwarded-Encrypted: i=1; AJvYcCVc0ECFN1icV2q0O02AeDxWZnpt/izIHLa05VT7zu12068XYTCzncuRZAwQn9/ktQ9SogTwcv4OtzuNeL8lBPwhmYYxzGRCSa4dEPTx X-Gm-Message-State: AOJu0YxukZG1rdQUbwg2KQZOn+w6Eq2pfIE10VHZn8A3BzxRp2mOoDGa 5Vy8wp6/tINLtMDP1zKBARVq7wNYh0bmO7aMI6ZnExG9qjLX8ClTsEM9znkmzUrDunUdwm+OFOM luvCqw+Vnr2marckCYF3UPWGPTktBHH/KKCU7DF/w9YRt53uy6BOfh+A9go5HFw== X-Received: by 2002:a17:906:2543:b0:a55:be99:60d5 with SMTP id j3-20020a170906254300b00a55be9960d5mr1777776ejb.23.1714130816374; Fri, 26 Apr 2024 04:26:56 -0700 (PDT) X-Received: by 2002:a17:906:2543:b0:a55:be99:60d5 with SMTP id j3-20020a170906254300b00a55be9960d5mr1777757ejb.23.1714130815956; Fri, 26 Apr 2024 04:26:55 -0700 (PDT) Received: from [192.168.0.9] (ip-109-43-179-20.web.vodafone.de. [109.43.179.20]) by smtp.gmail.com with ESMTPSA id g10-20020a1709067c4a00b00a4e5866448bsm10422001ejp.155.2024.04.26.04.26.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Apr 2024 04:26:55 -0700 (PDT) Message-ID: Date: Fri, 26 Apr 2024 13:26:54 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] KVM: selftests: Use TAP interface in the set_memory_region test To: Muhammad Usama Anjum , kvm@vger.kernel.org, Paolo Bonzini , Sean Christopherson Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20240426085556.619731-1-thuth@redhat.com> <26993de8-0e4f-4d08-9009-730d674b16c7@collabora.com> From: Thomas Huth Content-Language: en-US Autocrypt: addr=thuth@redhat.com; keydata= xsFNBFH7eUwBEACzyOXKU+5Pcs6wNpKzrlJwzRl3VGZt95VCdb+FgoU9g11m7FWcOafrVRwU yYkTm9+7zBUc0sW5AuPGR/dp3pSLX/yFWsA/UB4nJsHqgDvDU7BImSeiTrnpMOTXb7Arw2a2 4CflIyFqjCpfDM4MuTmzTjXq4Uov1giGE9X6viNo1pxyEpd7PanlKNnf4PqEQp06X4IgUacW tSGj6Gcns1bCuHV8OPWLkf4hkRnu8hdL6i60Yxz4E6TqlrpxsfYwLXgEeswPHOA6Mn4Cso9O 0lewVYfFfsmokfAVMKWzOl1Sr0KGI5T9CpmRfAiSHpthhHWnECcJFwl72NTi6kUcUzG4se81 O6n9d/kTj7pzTmBdfwuOZ0YUSqcqs0W+l1NcASSYZQaDoD3/SLk+nqVeCBB4OnYOGhgmIHNW 0CwM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m4fz0mz+OUi6AHC4CZpwnsliGV ODqwX8Y1zic9viSTbKS01ZNp175POyWViUk9qisPZB7ypfSIVSEULrL347qY/hm9ahhqmn17 Ng255syASv3ehvX7iwWDfzXbA0/TVaqwa1YIkec+/8miicV0zMP9siRcYQkyTqSzaTFBBmqD oiT+z+/E59qj/EKfyce3sbC9XLjXv3mHMrq1tKX4G7IJGnS989E/fg6crv6NHae9Ckm7+lSs IQu4bBP2GxiRQ+NV3iV/KU3ebMRzqIC//DCOxzQNFNJAKldPe/bKZMCxEqtVoRkuJtNdp/5a yXFZ6TfE1hGKrDBYAm4vrnZ4CXFSBDllL59cFFOJCkn4Xboj/aVxxJxF30bn In-Reply-To: <26993de8-0e4f-4d08-9009-730d674b16c7@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 26/04/2024 12.07, Muhammad Usama Anjum wrote: > On 4/26/24 1:55 PM, Thomas Huth wrote: >> Use the kselftest_harness.h interface in this test to get TAP >> output, so that it is easier for the user to see what the test >> is doing. (Note: We are not using the KVM_ONE_VCPU_TEST_SUITE() >> macro here since these tests are creating their VMs with the >> vm_create_barebones() function, not with vm_create_with_one_vcpu()) > Thank you for the patch. I'm unable to apply the patch on next-20240426. Ah, I was using the master branch ... it's a context conflict due to https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=dfc083a181bac ... I'll send a v2 rebased to the next branch. Thomas