Skip to content

VM/370

Context

Different types of hardware virtualization

Hosted (aka Type 2) Bare Metal (aka Type 1)
// Insert Diagram //Insert Diagram
  • The bulk of the virtualization software is just an user level application
  • Drivers installed to access some of the operating system resources (e.g. page tables)
  • The piece of software that runs as privilege is the virtualization software
  • takes all the advantage of abstractions that the host operating system has already provided
  • Note

    Dual boot uses a bootloader to choose which operating systemt to load into. This is not hardware virtualization. This is just multiple booting because once we choose which operating systemt to run, the operating system runs in privilege mode. It does not allow us to run multiple operating system at the same time, which is one of the main goal for hardware virtualization.


    Goal

    Why do we want virtualization?

    • Harware access
    • Isolation
    • Continuous operation
    • Emulate new hardware
    • Operating systems development

    Implementation

    Hypervisor

    //TODO



    IBM's approach

    Key to IBM's approach: trap and emulate


    Takeaway


    My Question

    1. Can you explain why hardware emulation can be done through virtualization? Like how does emulated added instruction prove that it will be working well?
    Back to top