Sagar Kadam: Porting Unix libc to Xen PV

This is a guest blog post by Sagar Kadam, one of our Google Summer of Code students. Sagar’s GSoC project is called Porting Unix libc to Xen PV. Please welcome Sagar into the community.
Hello all; I am Sagar Kadam from NYU Poly where I am pursuing my MS degree in Computer Sciences. This is my first year in GSoC: for that matter my first ever experience of working with any open-source project. My university is situated in the city of New York, a city that never sleeps (which many claim is because of bedbugs). My hobbies involve biking and cooking.
This summer I am porting Unix libc to the Xen para-virtualization platform of mini-os, with support of my mentor Ian Jackson. As of now the project uses newlib for all the C library functions. But newlib needs to be replaced with a cleaner and more functional POSIX compliant C library. Also, the new C library should make porting embedded applications such as qemu(-dm) to Xen much easier.
I have started with OpenBSD project’s C library implementation and am writing functionality for some basic syscalls. The syscalls which are required on priority (like write, read, etc) will be implemented first. These calls use hypercalls to communicate with Xen. Some small applications will be written/ported to test that these are functional (or how much). I will then move on to further syscalls. The target of the project is to make the libc implementation as complete as possible and porting a few embedded applications.
The code can be found at ragas/Porting-libc for anybody to read and comment and will be contributed to Xen.

http://www.poly.edu/

Read more

🛠️ Engineering Trust: How Xen’s Open CI Powers Global, Hardware-Level Testing
07/10/2025

In safety-critical industries like automotive and industrial systems, trust is non-negotiable. When building software that controls critical hardware, like braking systems or factory automation, you need confidence. The software must behave exactly as intended. Every time. On the actual device. That's why the Xen Project is investing in

🛠️ Xen Summit 2025: Find Your Place in the Future of Virtualization
06/27/2025

The annual Xen Summit is right around the corner, and there has never been a more exciting time to be part of the Xen Project. As enterprise and industrial needs shift and proprietary vendors rethink their licensing, the industry is ready for strong, open alternatives. Xen stands out not only

Let’s Grow Xen Together!
03/18/2025

Xen is open, secure, and built for the future. As the new Community Manager, I’m focused on growing the Xen community, welcoming new contributors, and ensuring a thriving ecosystem. Let’s build the future of virtualization together!

Xen Project 4.20: A Step Forward in Open Source Virtualization
03/11/2025

The Xen Project has released Xen 4.20 🎉! This release introduces a range of enhancements that further solidify its position as the premier open-source hypervisor. It delivers important security updates, improved performance, and broader hardware support. Xen has doubled down as the best choice for cloud providers, enterprise users, and