[PATCH 4/5] Intel MIC Card Driver Changes for Virtio Devices.

Rusty Russell
2013-07-29T01:58:58Z

Sudeep Dutt <sudeep.dutt at intel.com> writes:
> From: Ashutosh Dixit <ashutosh.dixit at intel.com>
>
> This patch introduces the card "Virtio over PCIe" interface for
> Intel MIC. It allows virtio drivers on the card to communicate with their
> user space backends on the host via a device page. Ring 3 apps on the host
> can add, remove and configure virtio devices. A thin MIC specific
> virtio_config_ops is implemented which is borrowed heavily from previous
> similar implementations in lguest and s390 @
> drivers/lguest/lguest_device.c
> drivers/s390/kvm/kvm_virtio.c

Wow, this is pretty cool!

Note that the lguest implementation is a bit limited, but lguest doesn't
have a real ABI, so we can simply change it if we wanted to.  I assume
you don't have that luxury.

In particular, you may want to get rid of the historical align constant,
and have explicit avail and used addresses.

Cheers,
Rusty.