Re: [PATCH v2] misc: vmw_zerocopy: Add VMware zero-copy buffer sharing driver

From: Greg KH

Date: Fri Jul 17 2026 - 09:43:44 EST


On Thu, Jun 18, 2026 at 11:10:34AM -0700, Rishi Chhibber wrote:
> This driver implements a misc character device (/dev/vmw_zc) that allows
> guest userspace applications to share pinned memory buffers with a
> VMware hypervisor-side peer using the VMCI datagram interface.
>
> The driver pins user pages via get_user_pages_fast(), transmits their
> physical page frame numbers to the hypervisor peer over VMCI, and avoids
> an intermediate copy between the guest workload VM and the hypervisor.
>
> The hypervisor-side peer for this interface only speaks VMCI; there is no
> virtio backend implemented on the VMware host for it.

Wait, we need to modify Linux because vmware doesn't want to implement
an industry standard api? That doesn't feel very nice, or fair, here.
Why have a standard if no one uses it?

Please push back and just modify vmware instead.

thanks,

greg k-h