Skip to content

AshaYalla/283-Assignment1-discovering-vmx-features

Repository files navigation

Assignment 1

By Asha Yalla and Mounica Reddy Kandi

This assignment was performed on Asha's GCP

Asha's Contribution

Mounica and I reviewed the lecture’s video and followed his steps to discover vmx features in nested virtual machine. For this, I signed up to Google Cloud and created an instance of Intel Cascade Lake Architecture n2-standard-2. I’ve updated the configuration of the existing VM for the nested virtualization and installed the make module to run the prof’s files. Inserted the created modules into the kernel and displayed the features of the considered register.

Mounica's Contribution

Me and Asha worked together on this assignment. We checked the assignment details and reviewed the lecture recording on the assignment requirements. I retrieved the starter.c file and makefile from her GCP and added the additional structs and the definitions for the various capability info areas. I added the remaining reads of the msrs for each capability in the detect_vmx_features function and also added the calls to report_capability. I tried to perform testing on the newly created .ko file by running make followed by sudo insmod.

Steps Followed:

Step 1: Exported the current configuration of the files into the yaml file

image

Step 2: Updated the configuration file with details about nested virtualization

image

Step 3: Updated the VM configuration

image

Step 4: Determining if VM virtualization is activated: getting anything other than 0 indicates the nested virtualization is activated.

image

Step 5: To print the vmx feature of the register and the make file, cloned the git repository using the professor's program.

image

Step 6: Installing the make module using the below command

image

Step 7: Installed the linux header of the current kernel to run the make command

image

Step 8: Run the make command, use insmod to insert the module to the kernel, and display the features of the considered register.

image

image

image

Step 9: After adding the remaining structs and definitions, you'll see the below output

image

image

image

image

Reference for checking secondary processor

image

Reference for Checking Tertiary processor

image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published