Re: [PATCH v10 6/6] selftests: KVM: testing the local IRQs resets

Christian Borntraeger
2020-01-31T12:47:18Z

On 31.01.20 11:02, Janosch Frank wrote:
> From: Pierre Morel <pmorel@linux.ibm.com>
>
> Local IRQs are reset by a normal cpu reset. The initial cpu reset and
> the clear cpu reset, as superset of the normal reset, both clear the
> IRQs too.
>
> Let's inject an interrupt to a vCPU before calling a reset and see if
> it is gone after the reset.
>
> We choose to inject only an emergency interrupt at this point and can
> extend the test to other types of IRQs later.
>
> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>[minor fixups]

thanks applied.