# Re: \[PATCH\] powerpc/pseries/vas: Don't print an error when VAS is unavailable

- From: Nicholas Piggin \<npiggin@gmail.com\>
- Date: 2021-11-26 10:31:53 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/11/9525321
- Thread: https://ratatoskr.run/linuxppc-dev/2021/11/9525311/t.md

```text
Excerpts from Cédric Le Goater's message of November 26, 2021 5:13 pm:
> On 11/26/21 06:21, Nicholas Piggin wrote:
>> KVM does not support VAS so guests always print a useless error on boot
>> 
>>      vas: HCALL(398) error -2, query_type 0, result buffer 0x57f2000
>> 
>> Change this to only print the message if the error is not H_FUNCTION.
> 
> 
> Just being curious, why is it even called since "ibm,compression" should
> not be exposed in the DT ?

It looks like vas does not test for it. I guess in theory there can be 
other functions than compression implemented as an accelerator. Maybe
that's why?

Thanks,
Nick

```
