Operating System as Virtual Machine

Q1. Explain how operating system acts as a Virtual Machine?

Ans. The fundamental idea behind a virtual machine is to abstract the hardware of a single computer (the CPU, memory, disk drives, network interface cards and so forth) into several different execution environments, thereby creating the illusion that each separate execution environment is running its own private computer.

By using CPU scheduling and virtual-memory techniques, an operating system can create the illusion that a process has its own processor with its own (virtual) memory.

There are several reasons for creating a virtual machine, all of which are fundamentally related to being able to share the same hardware yet run several different execution environments (that is, different operating system) concurrently.




Operating System as Virtual Machine

Figure: Virtual Machine

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: