Giter Club home page Giter Club logo

cmpe283-assignment1's Introduction

CMPE 283: Virtualization Technologies

Assignment 1: Discovering VMX Features

Manikanta Nynala

Contribution of Manikanta Nynala:

Created the environment using VMware Fusion Pro and built kernel code for IA32_VMX_PROCBASED_CTLS and IA32_VMX_PROCBASED_CTLS processor-based controls.

Created the environment using VMware Fusion Pro and built kernel code for IA32_VMX_ENTRY_CTLS and IA32_VMX_EXIT_CTLS processor-based controls.

Environment Setup

  1. Download VMware Fusion Pro.

  2. Create an outer virtual machine (VM) by selecting Ubuntu 64-bit as the guest operating system using the provided ISO image file.

  3. Configure the outer VM with a 200 GB hard disk space and 4 GB of memory.

  4. Run the VM and proceed with the Ubuntu installation.

  5. Enable nested virtualization by adjusting the processor settings in the VMware Fusion for the outer VM.

  6. Install KVM packages using the following commands and verify processor support for KVM: $ sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager $ ls -l /dev/kvm

  7. Install virt-manager with the command: $ sudo apt-get install virt-manager

  8. Create an inner VM using the Virtual Machine Manager GUI, allocating 20 GB of hard disk space, and install Ubuntu within the inner VM.

  9. Check if nested virtualization is enabled by executing the following command: $ cat /proc/cpuinfo | more

Build and Development Process

  1. Download the cmpe283-1.c and Makefile from the Canvas file section.

  2. Installed make and GCC using the below commands.

    $ sudo apt install make $ sudo apt install gcc

  3. Build the file using the Make command.

  4. After building the make file, check if kernel object cmpe283-1.ko is created.

  5. Loaded the kernel code for all the MSR’s (refer cmpe283-1.c).

  6. Executed the below command to run the kernel

  7. To view the system log, executed the below command. $ dmesg

    Screenshot-1

    Screenshot-2

    Screenshot-3

    Screenshot-4

cmpe283-assignment1's People

Contributors

manikantanynala97 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.