Re: [PATCH v6 2/4] x86/tests: Add tests for AMD SEV-ES #VC handling

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

 



On Fri, Mar 18, 2022 at 11:46:44AM +0100, Vasant Karasulli wrote:
>  Add KUnit based tests to validate Linux's
>  VC handling for instructions cpuid and wbinvd.

This looks like a commit message title to me.

Also, please write x86 instructions in all caps: CPUID and WBINVD.

>  These tests:
>    1. install a kretprobe on the #VC handler (sev_es_ghcb_hv_call, to
>       access GHCB before/after the resulting VMGEXIT).
>    2. trigger an NAE by executing either cpuid or wbinvd.
>    3. check that the kretprobe was hit with the right exit_code
>       available in GHCB.

Yes, I'd appreciate a short step-by-step thing how to run them or a
pointer to the docs.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette



[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