Re: [kvm-unit-tests PATCH] kvm-unit-test: x86: Add RDPRU test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux