From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Martin Subject: Re: Consuming PCI device in PV kernel Date: Tue, 15 Jul 2014 09:37:56 +0100 Message-ID: <1803824698.20140715093756@gmail.com> References: <524794479.20140703121338@gmail.com> <20140703180957.GD13710@konrad-lan.dumpdata.com> <1376452421.20140707092147@gmail.com> <1083121389.20140707122233@gmail.com> <20140708150136.GB2863@laptop.dumpdata.com> <426885771.20140710085413@gmail.com> <1405097274.29306.545.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1405097274.29306.545.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hello Dario, > BTW, how's this going (if I can ask)? Any exciting news about this you > can share with the community? :-) Nothing exciting I'm afraid, just lots of donkey work. The micropv project (similar to the Xen mini-os but a LOT lighter with no dynamic memory, paging etc) is coming along nicely. Lots of improvements about talking to the hypervisor and xenstore and making it more implementation agnostic. The mirage-os guys seemed to be interested in this when I first mentioned it. No idea if they still are, it's been a while. Too many projects, too little time ;-) My PV OS is sitting quite nicely in the hypervisor and I have my context switch running nicely within the micropv. One problem I haven't been able to work around so far is implementing lazy FP context recovery, I do it on every context switch. This is crazy but I get FP exceptions if I don't. As I have larger fish to fry, this one is just flagged as something to come back to. I had to modify one of the existing Linux kernel drivers (gntalloc) to provide more functionality. I got it to a state in which it was accepted by Daniel De Graaf the original implementor. I now have to push it upstream the Linux kernel maintainers. As a general comment I find that the existing Xen documentation is fine for handling existing HVM/PV domain implementations, but you are on your own when it comes to implementing your own PV. If it wasn't for the good will of the people on this mailing list I would never have been able to get where I am now. I know that I am in a small niche here, and the existing documentation is fine for 99% of people who are using Xen. If this is something that should be documented then I would be willing to have a stab at writing some wiki pages if someone can clean up the things that I have misunderstood. Regards, and once again, a big thanks to everyone -- Best regards, Simon mailto:furryfuttock@gmail.com