Question

In: Computer Science

Explain Trap-and-Emulate and Binary Translation Virtualization Implementation with neat diagrams? Also describe types of Virtual Machines...

Explain Trap-and-Emulate and Binary Translation Virtualization Implementation with neat diagrams? Also describe types of Virtual Machines and their Implementations?

Solutions

Expert Solution

Each operating system was designed to be in total control of the system, which makes it impossible for two or more operating systems to be executing concurrently on the same platform – unless ‘total control’ is taken away from them by a new layer of control-software: the VMM i.e. Virtual Machine Manager. How to seize control?

  • The Virtual Machine Manager will have to be able to intervene whenever one OS is attempting to do something that conflicts with what another OS wants to do
  • With the new VTX instructions, the CPU is able to ‘trap’ such attempts, and allow the VMM to ‘emulate’ the effect that is desired by one OS, but in a manner that does not interferw with any other OS

This phenomenon is called "Trap-and-Emulate" Virtualization.

One specific approach to implementing full virtualization that does not require hardware virtualization features is Binary translation. It involves examining the executable code of the virtual guest for "unsafe" instructions, translating these into "safe" equivalents, and then executing the translated code.

There are two different types of virtual machines based on their functions:

  • System virtual machines

They provide full virtualization and act as a substitute for the real machine, these will provide functionalities to execute an entire operating system. Hardware resources are shared and managed, forming multiple environments on the host system. These environments are isolated from each other but exist on the same physical host. Thus, these provide time-sharing among several single-tasking operating systems.

  • process virtual machines

they are also called as Application virtual machines, Managed runtime environments. This type of VM runs as a normal application inside the host’s operating system, supporting a single process. It is created with the starting of the process and is destroyed when the process ends. It is used to provide a platform-independent programming environment to the process, allowing it to execute in the same manner on any of the other platforms. These are implemented using interpreters and provides high-level abstractions.


Related Solutions

Explain the components of virtualization and the types of virtualization at least in a paragraph or...
Explain the components of virtualization and the types of virtualization at least in a paragraph or two.
Discuss about different types of virtual machines and their deployment.
Discuss about different types of virtual machines and their deployment.
explain the architecture of java virtual machine with suitable diagrams.
explain the architecture of java virtual machine with suitable diagrams.
Describe virtualization. How does a virtual machine (VM) function? What are the characteristics and benefits of...
Describe virtualization. How does a virtual machine (VM) function? What are the characteristics and benefits of virtualization? When is load balancing important? (Write a 200-250 word paragraph)
Explain various types of spikes with a neat sketchs.
Explain various types of spikes with a neat sketchs.
Briefly explain the concepts of the virtual machines and physical server are connected together
Please briefly explain the concepts of the virtual machines and physical server are connected together, would there router swtiches invovled?
Explain TCO and describe how virtualization can reduce TCO.
Explain TCO and describe how virtualization can reduce TCO.
Answer only if you are 100%sure otherwise I will give negative feedback. Explain with neat diagrams...
Answer only if you are 100%sure otherwise I will give negative feedback. Explain with neat diagrams the systolic association of rocks with respect to the locking and popping theory? This is Civil Engineering questions
Describe the process of Transcription and Translation in prokaryotic cells needs to be very detailed. Also...
Describe the process of Transcription and Translation in prokaryotic cells needs to be very detailed. Also when does this occur?
1a. List and describe 3 types of epigenetic inheritance. 1b. Describe the process of translation termination....
1a. List and describe 3 types of epigenetic inheritance. 1b. Describe the process of translation termination. 1c.What are the 3 main differences in how bacteria undergo translation?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT