mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Dan Carpenter <dan.carpenter@linaro.org>,
	Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH] KVM: selftests: Require KVM_CAP_USER_MEMORY2 for tests that create memslots
Date: Fri,  3 May 2024 14:32:26 -0700	[thread overview]
Message-ID: <171469160805.1008906.10298105633797388106.b4-ty@google.com> (raw)
In-Reply-To: <20240430162133.337541-1-seanjc@google.com>

On Tue, 30 Apr 2024 09:21:33 -0700, Sean Christopherson wrote:
> Explicitly require KVM_CAP_USER_MEMORY2 for selftests that create memslots,
> i.e. skip selftests that need memslots instead of letting them fail on
> KVM_SET_USER_MEMORY_REGION2.  While it's ok to take a dependency on new
> kernel features, selftests should skip gracefully instead of failing hard
> when run on older kernels.
> 
> 
> [...]

Applied somewhat quickly to kvm-x86 selftests, but feel free to provide feedback.
It's the last commit in "selftests", and I don't have any more selftests patches
in the queue for 6.10, so making changes if someone has a better idea should be
quite easy.

[1/1] KVM: selftests: Require KVM_CAP_USER_MEMORY2 for tests that create memslots
      https://github.com/kvm-x86/linux/commit/8a53e1302133

--
https://github.com/kvm-x86/linux/tree/next

      reply	other threads:[~2024-05-03 21:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 16:21 Sean Christopherson
2024-05-03 21:32 ` Sean Christopherson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171469160805.1008906.10298105633797388106.b4-ty@google.com \
    --to=seanjc@google.com \
    --cc=dan.carpenter@linaro.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®