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

From: Rusty Russell
Date: Sun Jul 28 2013 - 22:03:22 EST


Sudeep Dutt <sudeep.dutt@xxxxxxxxx> writes:
> From: Ashutosh Dixit <ashutosh.dixit@xxxxxxxxx>
>
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/