Thread (8 messages) 8 messages, 2 authors, 2020-08-19

Re: [PATCH v8 2/2] s390: virtio: PV needs VIRTIO I/O device protection

flat view

From: Pierre Morel <hidden>
Date: 2020-08-19 08:53:33
Also in: kvm, linux-s390, lkml


On 2020-08-18 19:22, Cornelia Huck wrote:
quoted
+ */
+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
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help