Grant-Table User-Space Device | Progress Report

My proposal was selected for Google Summer of Code 2016 under FreeBSD. The primary goal of my project is to write a character device that will expose Xen Grant-Tables to userspace. You can find more details about the project in the proposal, here. This post will act as a quick progress update on the work I am doing.

Community Bonding Period

April 23 – May 5

May 6

May 7

May 8

memory = 1024
vcpus = 2
name = "ubuntu"
disk = [ '/root/xen_files/ubuntu.img,raw,hda,w',
         '/root/xen_files/ubuntu.iso,raw,hdc:cdrom,r' ]
boot = "c" # Boot to hard disk image
# boot = "d" # Boot to ISO image
usbdevice = 'tablet'
vnc = 1
vnclisten = '0.0.0.0'
vncdisplay = 10
vncpasswd = '******'
vif = [ 'bridge=bridge0' ]

May 12

May 14

May 17

May 21

May 19 – June 1

June 3 – June 4

June 5

June 6

June 7

June 8

June 9

June 10

June 11

June 13

June 14

June 15

June 16 – July 21

I hope everyone is doing great.

First things first. I want to apologise for not updating my blogpost after June 15. Some personal stuff happened on June 17, and since then all my work routines are completely disturbed. Soc-admins know about this, and I hope the community can pardon my irregularity this once.

Now, time for some status update on the project. We have a working Grant Table User-space Device (with some caveats, of course). Yay!!

Check out the code on the pull request: https://github.com/freebsd/freebsd/compare/master…akshay1994:grant_table?expand=1.

Test the device by compiling a custom kernel; from my working branch: https://github.com/akshay1994/freebsd/tree/grant_table

Caveats and work yet to be done:

Looking forward to some community testing of the working parts. Comments are welcome and highly appreciated. 🙂