Week12


Week 12 -

Further analysis of runqemu and tweaking around with the kernel memmap option ( memmap=82M\$0x3a000000 )
which was taken from start-qemu.sh script in jailhouse-images made me realise that by increasing the value from 82M to 120M made it boot fast and successfully.
memmap : Enable setting of an exact E820 memory map, as specified by the user. Here the format is given as[ nn\$ss ] ,
hence region of memory to be used is from ss to ss+nn.
E820: e820 is shorthand for the facility by which the BIOS of x86-based computer systems reports the memory map to the
operating system or boot loader.
Once the qemux86-64 was booted , system configuration for the x86 system can be created using
jailhouse config create qemu-agl.c
qemu-agl.c needs to be placed in the configs/x86/ directory of jailhouse.
The build system will pick up every .c file from there and generate a corresponding .cell file.
Then enable jailhouse using
jailhouse enable /usr/share/jailhouse/cells/qemu-agl.c
this starts the jailhouse hypervisor in qemux86-64.
I have pushed a commit for review , hoping to get it merged soon
-Parth Dode.