All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Jim Mattson <jmattson@google.com>, kvm@vger.kernel.org
Cc: Peter Shier <pshier@google.com>
Subject: Re: [kvm-unit-tests PATCH] kvm-unit-test: x86: Add RDPRU test
Date: Wed, 25 Sep 2019 15:43:12 +0200	[thread overview]
Message-ID: <2d11ba83-aa57-e124-6666-7a0fc1fae727@redhat.com> (raw)
In-Reply-To: <20190919230225.37796-1-jmattson@google.com>

On 20/09/19 01:02, Jim Mattson wrote:
> +int main(int ac, char **av)
> +{
> +	setup_idt();
> +
> +	report("RDPRU not supported", !this_cpu_has(X86_FEATURE_RDPRU));
> +	report("RDPRU raises #UD", rdpru_checking() == UD_VECTOR);
> +
> +	return report_summary();
> +}
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index 694ee3d..9764e18 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -221,6 +221,11 @@ file = pcid.flat
>  extra_params = -cpu qemu64,+pcid
>  arch = x86_64
>  
> +[rdpru]
> +file = rdpru.flat
> +extra_params = -cpu host
> +arch = x86_64
> +
>  [umip]
>  file = umip.flat
>  extra_params = -cpu qemu64,+umip
> 

Queued, thanks.

Paolo


      parent reply	other threads:[~2019-09-25 13:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19 23:02 [kvm-unit-tests PATCH] kvm-unit-test: x86: Add RDPRU test Jim Mattson
2019-09-20 19:36 ` Krish Sadhukhan
2019-09-20 19:44   ` Jim Mattson
2019-09-24 17:29     ` Nadav Amit
2019-09-24 18:09       ` Jim Mattson
2019-09-24 18:14         ` Nadav Amit
2019-09-24 19:29           ` Jim Mattson
2019-09-24 19:31             ` Nadav Amit
2019-09-25 13:47     ` Paolo Bonzini
2019-09-25 13:43 ` Paolo Bonzini [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=2d11ba83-aa57-e124-6666-7a0fc1fae727@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jmattson@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=pshier@google.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.