Re: [PATCH v3] KVM: selftests: Add a test for the KVM_S390_MEM_OP ioctl

From: Thomas Huth
Date: Thu Aug 29 2019 - 09:35:01 EST


On 29/08/2019 15.26, Christian Borntraeger wrote:
>
>
> On 29.08.19 15:07, Thomas Huth wrote:
>> Check that we can write and read the guest memory with this s390x
>> ioctl, and that some error cases are handled correctly.
>>
>> Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
>> ---
>> v3:
>> - Replaced wrong copy-n-pasted report string with a proper one
>> - Check for errno after calling the ioctl with size = 0
>
> the test succeeds (as the vmalloc fails) but dmesg then has the warning.
> Do we have a chance to parse dmesg somehow?

I'm not aware of an easy way to do this from within the KVM selftests.

> I will apply this nevertheless for the time being together with the fix.

Thanks!

Thomas