Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1375322ybz; Thu, 16 Apr 2020 08:06:24 -0700 (PDT) X-Google-Smtp-Source: APiQypKOaXs8HAuhBMu0lx+0G7/EMLApnUKC1lyDVXCUrftR0olf4GV4b1eFlLxCYUAFhNai4Qns X-Received: by 2002:a17:906:c4f:: with SMTP id t15mr10389847ejf.193.1587049584330; Thu, 16 Apr 2020 08:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587049584; cv=none; d=google.com; s=arc-20160816; b=p4c5IxfinI9qCd0oR4QHh2QVxS75I7OcGyi5RzdYiNG2euniQxfdxEd2YnOuSwxQx3 9G8uUOEcHvKXitvjALxOsRpvvvB8wIupuAaIIG6TTZgAddxcKSogpan8qF0GoW/subPm ENWdhk16h2aBG8Ti+37q0fi7MlJdWrGnmTa41lIs8xOMyGVC0f4r8tqf+v/U9vtou82s /BbbRt0QANiAiB8WNzeGzhqiY6wTKVLDfFfTp/xtzm7nZGoRcf/D2IUZjqttPPWYcPr5 xge8x9p/hNgXRVvIbPceJQ3COgBwg1kIbchN8nKWS6k8OalnNcFP0RYHNwdI5BEE+rLZ VmPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=l5Kvo8iqImptqYWsZSVRrcAXyDBLn+NV1FJvmlGAZQs=; b=yo366f5T7Gri/7bFc9LIWr1MCuvmhACiQnYp/Tzo94NIWwE8l6n9QiOeKLKgBvwtID KN8NTVZP5DcOQOoIHoS9hFPUnxS6spN7olSERZtQjPQZdKF+D/bohlXskplnVbEgcHWD FlyJgY+bdzDUqF3G0VZo85msgEUEmFkQCszvcsFikGNYkrvhSB9VzjDT0Q8vykkAO5hJ VnLRKaCvb3W1+Wh9Fa89kz17+J4ZRi8X4Zif/IxRkfR43CaiihHPLmp2WKM1eClCbhoP 2jll8pHEOSDrme53bQ3yOKomqyBpzkufmndo3WuGOj7xs+6ggoS0ier2CT2JHbODglaw vE8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RoTJFRbR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si9753484edr.596.2020.04.16.08.05.52; Thu, 16 Apr 2020 08:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RoTJFRbR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728599AbgDPPC7 (ORCPT + 99 others); Thu, 16 Apr 2020 11:02:59 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:35869 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2441725AbgDPNxm (ORCPT ); Thu, 16 Apr 2020 09:53:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587045221; 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; bh=l5Kvo8iqImptqYWsZSVRrcAXyDBLn+NV1FJvmlGAZQs=; b=RoTJFRbR4rzaOwNX7LcSs9elegXgI7fBsqdwi96HECy8futjYinQItzUlaftvuAqO0c7Yb jwQKfnWxXZxY4S1NGcuwObEHaIOcri0paPu1hRmE5RL6nVFuXREyfZvkeVOh9qL6cofR/c t3/UBI4k02MNHwYgJeIEBCfOdW1IRlU= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-2YJKJvimMT-5RUX7qxa0pA-1; Thu, 16 Apr 2020 09:53:39 -0400 X-MC-Unique: 2YJKJvimMT-5RUX7qxa0pA-1 Received: by mail-wr1-f70.google.com with SMTP id d17so1723931wrr.17 for ; Thu, 16 Apr 2020 06:53:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=l5Kvo8iqImptqYWsZSVRrcAXyDBLn+NV1FJvmlGAZQs=; b=djHXVdtt/LEOwQgqdnBQ5lFz3DoHoPR3IykBa87k3QzUf7dHOmTJ4mLtjIvc/YsozY T0FXgHfHPEIOmvhSiTjiXNpnIqBHrG/OW5wEiTGJvEa/wkQkRAiRiJb3g6IJLArmSGEj JaHeAey0w9pFsSTvakBLfmWnZA7AIBK8tSoVARSJAiKCaAt7QOPUnLnXbwLioe4/FABN YJR0jz+DGf5IOuU1qRVZ9hPghsiNYrLkNMbB/hY+oVnvmwSpvkUIsqzArKlslMVpN+xL ToTWnbYuNZT/sPpmS72UKHjFULCSs4W38kuWnWc1wOlE6q5+AqbewKF6QHWT2/MN5IWt TxQg== X-Gm-Message-State: AGi0PuYbyU7D+JS2uli26XaYPkFARDSSIeesFV/lA2vfT/flNLphqoft OllLm8c7hFfU61TB+YlK04zepRQHvZOoqO+9DZYQsmCR4j5TkqiTSNJANI0RvW4mJ8JZdl2ZPRi MqVIO2x0iM3y6Pw5uY7pHG58t X-Received: by 2002:a1c:41d7:: with SMTP id o206mr5041261wma.89.1587045218354; Thu, 16 Apr 2020 06:53:38 -0700 (PDT) X-Received: by 2002:a1c:41d7:: with SMTP id o206mr5041239wma.89.1587045218126; Thu, 16 Apr 2020 06:53:38 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:399d:3ef7:647c:b12d? ([2001:b07:6468:f312:399d:3ef7:647c:b12d]) by smtp.gmail.com with ESMTPSA id f23sm3585008wml.4.2020.04.16.06.53.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Apr 2020 06:53:37 -0700 (PDT) Subject: Re: [PATCH 1/1] selftests: kvm: Add overlapped memory regions test To: Krish Sadhukhan , Wainer dos Santos Moschetta , kvm@vger.kernel.org Cc: drjones@redhat.com, sean.j.christopherson@intel.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20200415204505.10021-1-wainersm@redhat.com> <20200415204505.10021-2-wainersm@redhat.com> <455a01b6-506b-3c16-7ad8-327ad63292e9@oracle.com> From: Paolo Bonzini Message-ID: <1d05b77b-1e8b-2dfd-cbc9-5b09b685b630@redhat.com> Date: Thu, 16 Apr 2020 15:53:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <455a01b6-506b-3c16-7ad8-327ad63292e9@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/04/20 01:57, Krish Sadhukhan wrote: > >> Add the test_overlap_memory_regions() test case in >> set_memory_region_test. This should check that overlapping >> memory regions on the guest physical address cannot be added. > > > I think the commit header and the body need some improvement. For example, > >         Header: Test that overlapping guest memory regions can not be added > >         Body:  Enhance the existing tests in set_memory_region_test.c so > that it tests overlapping guest > >                     memory regions. The new test verifies that adding > overlapping guest memory regions fails. I like Wainer's header and your body. :) Paolo