Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp296017ybb; Tue, 31 Mar 2020 23:40:04 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsiVFuIaPTrHswGrKZ6s9+SarJStg69swuVx6f/CFADfa7L6FfyRj0YVkMl17zlnB/34zB0 X-Received: by 2002:a05:6830:20d5:: with SMTP id z21mr15221822otq.237.1585723204428; Tue, 31 Mar 2020 23:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585723204; cv=none; d=google.com; s=arc-20160816; b=tTPk/sQ60DrlKd8b9uEkMyCfqW9m8FoqVeGoaFUUhqbWG/6evq/vQtsY+2zVQNF7NU DMg0GNsJ5gnPLe3E4b7M/+Mlce1drqkrbu+gh8QDVhjem232XJhodTLu2mWJDIXnKLes Plt4sf8rGrl2nm9TO52KW5pBqJIcq08M5Vz4104o79rA0bhScA2lWbWDF9lXjtkJSG1Z W+W6PRmehptuISikaim1iPq2FX+LGBAttYB+79jwTkgIgRmrpquUfDQc7j1IXUbnw/tU dxXPcxnWjlgTRSjIgYg4NEKndkqugQhPBeBCgvYA7dm2qjmM4YtpdalrkO6Jbuhorwcs cJfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FCSSEclj0ae09gTP8bn9O3K6yRcTAt/8Yi29buWbaxw=; b=XeXuBsoFLR/6gWvKAV8EaOVSwHABItOD7CoyptlChLkK/AZY3EBK+IFWsu34lLTsEm luvGPzWElIMKCz5HBAkJpLJMVBgneFOSXiC5wdg05vXYPg6f+YfyDjEDWXzbOJ/CVSly ZLQi7izVLw2NhD6nsz2LujnXQeNPpF88NQUQzLkEVFnMh03lhqaKROcO/IwVTi0NSvbn chPduxwzH+KTbl+ckZfy9eDBMl239nkANbvCdeKL2Yp2yhurbi61ePT3wJ0ogCRk86Kz SqHBXuA2eJaJ9Z/mrpgbKYTkz6K9SOWzfCDMYEGVz0ssuLeJa2f1VfbECX70adeB+Zqs k8Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=B0s5qLL2; 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 67si437222otj.108.2020.03.31.23.39.51; Tue, 31 Mar 2020 23:40:04 -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=B0s5qLL2; 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 S1731741AbgDAGib (ORCPT + 99 others); Wed, 1 Apr 2020 02:38:31 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:38406 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731791AbgDAGib (ORCPT ); Wed, 1 Apr 2020 02:38:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585723110; 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: in-reply-to:in-reply-to:references:references; bh=FCSSEclj0ae09gTP8bn9O3K6yRcTAt/8Yi29buWbaxw=; b=B0s5qLL2k0eamZOMT6HG7t4kHFL4xZnrfeQI6Q8edEUGKzgoXJ2wz6FGFkhJXzxLea06FD s8D11wtWfps9fzpObRyio/NJiGDk/lGJBf58W6PDOCQBAEXI+x2QYt0DPOrZyRKASfTVxq t6Wi3EF762Ih67Ei7qckrzB+Wpa6SXU= 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-59-MkT21KpwPa-iJMpbhwU6pQ-1; Wed, 01 Apr 2020 02:38:28 -0400 X-MC-Unique: MkT21KpwPa-iJMpbhwU6pQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B511A107ACC7; Wed, 1 Apr 2020 06:38:27 +0000 (UTC) Received: from kamzik.brq.redhat.com (unknown [10.40.193.155]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3800B10002AE; Wed, 1 Apr 2020 06:38:20 +0000 (UTC) Date: Wed, 1 Apr 2020 08:38:17 +0200 From: Andrew Jones To: Wainer dos Santos Moschetta Cc: kvm@vger.kernel.org, pbonzini@redhat.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, david@redhat.com Subject: Re: [PATCH 2/2] selftests: kvm: Add mem_slot_test test Message-ID: <20200401063817.gb5f4ah45qvtqkhw@kamzik.brq.redhat.com> References: <20200330204310.21736-1-wainersm@redhat.com> <20200330204310.21736-3-wainersm@redhat.com> <20200331081632.ithcwuzjyjhiwphy@kamzik.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks, drew