Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH 4/5] Intel MIC Card Driver Changes for Virtio Devices. | Date | Mon, 29 Jul 2013 11:28:58 +0930 |
| |
Sudeep Dutt <sudeep.dutt@intel.com> writes: > From: Ashutosh Dixit <ashutosh.dixit@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.
| |