[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2a0e6ac5-1238-fd7b-f39f-6fad767b1493@linux.ibm.com>
Date: Wed, 19 Aug 2020 10:51:32 +0200
From: Pierre Morel <pmorel@...ux.ibm.com>
To: Cornelia Huck <cohuck@...hat.com>
Cc: linux-kernel@...r.kernel.org, pasic@...ux.ibm.com,
borntraeger@...ibm.com, frankja@...ux.ibm.com, mst@...hat.com,
jasowang@...hat.com, kvm@...r.kernel.org,
linux-s390@...r.kernel.org,
virtualization@...ts.linux-foundation.org, thomas.lendacky@....com,
david@...son.dropbear.id.au, linuxram@...ibm.com,
hca@...ux.ibm.com, gor@...ux.ibm.com
Subject: Re: [PATCH v8 2/2] s390: virtio: PV needs VIRTIO I/O device
protection
On 2020-08-18 19:22, Cornelia Huck wrote:
>> + */
>> +int arch_has_restricted_memory_access(struct virtio_device *dev)
>> +{
>> + if (!is_prot_virt_guest())
>> + return 0;
>
> If you just did a
>
> return is_prot_virt_guest();
>
> and did the virtio feature stuff in the virtio core, this function
> would be short and sweet :)
yes, the smaller the better, thanks
Pierre
--
Pierre Morel
IBM Lab Boeblingen
Powered by blists - more mailing lists