- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are Virtual Machines in Operating System?
A virtual machine (VM) is a virtual environment which functions as a virtual computer system with its own CPU, memory, network interface, and storage, created on a physical hardware system.
VMs are isolated from the rest of the system, and multiple VMs can exist on a single piece of hardware, like a server. That means, it as a simulated image of application software and operating system which is executed on a host computer or a server.
It has its own operating system and software that will facilitate the resources to virtual computers.
Characteristics of virtual machines
The characteristics of the virtual machines are as follows −
Multiple OS systems use the same hardware and partition resources between virtual computers.
Separate Security and configuration identity.
Ability to move the virtual computers between the physical host computers as holistically integrated files.
The below diagram shows you the difference between the single OS with no VM and Multiple OS with VM −
Let us see the major benefits of virtual machines for operating-system designers and users which are as follows −
The multiple Operating system environments exist simultaneously on the same machine, which is isolated from each other.
Virtual machine offers an instruction set architecture which differs from real computer.
Using virtual machines, there is easy maintenance, application provisioning, availability and convenient recovery.
Virtual Machine encourages the users to go beyond the limitations of hardware to achieve their goals.
The operating system achieves virtualization with the help of a specialized software called a hypervisor, which emulates the PC client or server CPU, memory, hard disk, network and other hardware resources completely, enabling virtual machines to share resources.
The hypervisor can emulate multiple virtual hardware platforms that are isolated from each other allowing virtual machines to run Linux and window server operating machines on the same underlying physical host.
Basis for developing the OS
Create the illusion of having one or more objects to emulate the real object. It is closely related to abstraction. In developing the OS, abstraction provides simplification by combining multiple simple objects into a single complex object
Virtualization provides diversification and replication by creating the illusion of objects with desired characteristics.
- What are system calls in Operating System?
- What are operating system services?
- What are operating system design goals?
- What are the different system calls in the operating system?
- What are the functions of the operating system?
- What is an Operating System?
- What is the operating system?
- What are the levels of memory in the Operating System?
- How are system calls connected to the operating system?
- What are the differences between Unix and Linux Operating System?
- What are the user and system goals of Operating Systems?
- What are the categories for Hardware and Operating System Platforms?
- What are the Privileged and Non-Privileged instructions in Operating System?
- What is the operating system evolution?
- What is a batch operating system?