Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1757495ybb; Thu, 2 Apr 2020 06:52:24 -0700 (PDT) X-Google-Smtp-Source: APiQypI5gA5srRYhIK/+qdHEhekWzeNkDkFGK3c6dwL3nk7ZndrIzJJezR0WWaMQei0nxTpi8rzD X-Received: by 2002:a05:6830:1382:: with SMTP id d2mr2329820otq.214.1585835544419; Thu, 02 Apr 2020 06:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585835544; cv=none; d=google.com; s=arc-20160816; b=WCNT8JwFNwo2ac+906yQb5xRBCPWxEP7eG4HKjrcedbMyvaohYaFbvgBKosIkw9rnA otFTocjvM6hEL0L1n9Q992iVKos7JT8ggr26qOykIexjecOReezMsIngZuZtYEWhcO+A N3r2rfJB3Fh92vQxWqhEx7TNHoQFuDVNOJqOiqsFkOMSTw0hK7UHZxyQKHKuDS2rMPra ne2Q1rdHI9srTBlHlQdfRqKKX5r7BaZY6JLnPRPfINHjkzDYAl7nwXqzekd0+L5yOWDh 91Vv1giirVZbGsIgmFDL0IOz+Kcy2pc4z1XiPqK5ZUXfc929AfJjMfQuChWXwJ2AvB0+ 3ljA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=sRYOIM9RD5rPKV4o1MvvC6ajpiY3rykWsJveuXILyf0=; b=eNRy5kstGtKgHq0UllgbEypbE0lCTXLEHMxMZb7tw4dFdopSXqO9N5et8xdCf4eKqx O0UJyPZshPJHsKjrEg4ZvSg9CO7TMwoR4YM19JLx2DXUPD7docZNxFORJfdPBZO2Rfrm z6lued2F17np0DdYxCh0YJ0D7aAxx2j0jXCHaRjr8DWMkNnEcYQC1mbNuYNzXgoXV0Kw VDDXnwmTIJyQeEF785MPSWSLou4qqujr5ty7mDPF8GgA6JjSTaOhKEMx4EiwisBlqS/O 1hO0iaUCntnRQ7G4ZPuo1XaCszOoSwN7Lv5ljDQZ6l3UjcbIASpoqSn40B5IgyqvCAaf BWOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=V3zE8BGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id i11si2393898otj.33.2020.04.02.06.52.10; Thu, 02 Apr 2020 06:52:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=V3zE8BGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732261AbgDBNtD (ORCPT + 99 others); Thu, 2 Apr 2020 09:49:03 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:26866 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732242AbgDBNtD (ORCPT ); Thu, 2 Apr 2020 09:49:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585835342; 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=sRYOIM9RD5rPKV4o1MvvC6ajpiY3rykWsJveuXILyf0=; b=V3zE8BGQ1hrAaC443v13fDIcVBCS2SzznzQyKhJaBZKP59ZupBa+PHudL7QuoXQonqUE57 moBz79sEUcDhTbYWSO8/sNeP4IxdA05qAE3plFV7uHMGcQWYkJ4qQqWGmix3Uc6alHzyxQ aPTdzNVhLjrMpJ66aiTsw0ABhUsoT/s= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-403-_BcmWwjoO_6vLsTQP3GR2g-1; Thu, 02 Apr 2020 09:49:00 -0400 X-MC-Unique: _BcmWwjoO_6vLsTQP3GR2g-1 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6AF76149C7; Thu, 2 Apr 2020 13:48:59 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-15.gru2.redhat.com [10.97.116.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id 60F0FDA11C; Thu, 2 Apr 2020 13:48:53 +0000 (UTC) Subject: Re: [PATCH 2/2] selftests: kvm: Add mem_slot_test test To: Andrew Jones Cc: kvm@vger.kernel.org, pbonzini@redhat.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, david@redhat.com References: <20200330204310.21736-1-wainersm@redhat.com> <20200330204310.21736-3-wainersm@redhat.com> <20200331081632.ithcwuzjyjhiwphy@kamzik.brq.redhat.com> <20200401063817.gb5f4ah45qvtqkhw@kamzik.brq.redhat.com> From: Wainer dos Santos Moschetta Message-ID: Date: Thu, 2 Apr 2020 10:48:51 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20200401063817.gb5f4ah45qvtqkhw@kamzik.brq.redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/1/20 3:38 AM, Andrew Jones wrote: > On Tue, Mar 31, 2020 at 06:42:21PM -0300, Wainer dos Santos Moschetta wrote: >> It would be nice to exercise the code by adding slots with different page >> flags. But for this test that simple checks the limit, the use of >> KVM_MEM_READONLY is enough. I will change it on v2. > It would be good to test more memslot error conditions as well. Do you plan > to expand on this test? Yes, I do. For example, check memory slots addresses can't overlap. > > Thanks, > drew