Home Java javaTutorial What is a virtual machine

What is a virtual machine

May 14, 2019 am 10:15 AM
virtual machine

Virtual machine refers to hardware virtualization, which is usually used to provide a virtual environment to meet the needs of software. Virtual machines have the advantages of running multiple guest systems in parallel and improving hardware utilization efficiency.

What is a virtual machine

Virtual machine

Virtual machine (VM) is a classic concept of hardware virtualization, usually used to provide a virtual environment to meet the needs of Software Requirements.

A VM is a virtual machine with its own operating system that uses the hardware resources of the underlying host system. Each virtual machine is based on hypervisor software (also known as a virtual machine monitor VMM). The hypervisor runs as an application on the host operating system (managed hypervisor) or resides directly on the hardware of the physical machine (bare metal hypervisor) and manages the hardware resources provided by the host system.

Hypervisor software creates an abstraction layer between physical hardware and virtual machines. Each VM is isolated from the host system and other guest systems in its own virtual environment, which is called encapsulation. Processes in a virtual machine do not affect the host or other VMs on the same hardware.

The actual use of virtual machines

In hardware virtualization, physical system resources can be distributed among multiple virtual systems, each guest system (including the one running in it) All programs) are separated from the underlying hardware.

In fact, for security reasons, virtual machines are mainly used to isolate certain processes and applications. Compared to other virtualization concepts, virtual machines provide powerful encapsulation capabilities and can serve as the basis for hosting products where multiple customer servers run on a common hardware platform.

The provision of virtual machines is the basis for shared hosting and VPS (Virtual Private Server) setups. Because each virtual machine system runs in an isolated operating environment, processes encapsulated in a VM do not affect the host system or other systems on the same physical computer.

In business environments, virtual machines are used to reduce the cost of operating and maintaining IT infrastructure. Companies often run extensive IT infrastructure that sits idle for much of the day, and virtual machines can significantly reduce this waste. Rather than giving each application area of ​​the business IT department its own physical machine, more and more companies are running mail, database, file or application servers in isolated virtual environments on the same powerful hardware platform. .

Another application area of ​​virtual environments is software development. Programmers who develop applications for different system architectures often use virtual machines for software testing. Many hypervisor products allow parallel operation of different operating systems or system versions. Create, clone and delete virtual machines in physical hard drive space with the push of a button without leaving any data behind. Additionally, due to encapsulation, errant processes in the virtual machine have no impact on the underlying system.

For domestic users, they like to use virtual machines to open more games, install some high-risk programs, and download seeds.

Advantages of virtual machines

1. Run multiple guest systems in parallel: Hypervisor-based virtualization can run multiple operating systems in parallel on the same hardware basis. Many hypervisors can bridge incompatibilities between different system architectures.

2. Improve hardware utilization by consolidating hardware: By running multiple virtual machines on a physical computer, hardware resources can be better utilized.

3. IT resource maintenance and management savings: Virtual machines offer huge savings potential in providing IT resources. Switching to a powerful hardware platform for various virtual systems can reduce maintenance and management costs because the corresponding tasks can be centralized.

Disadvantages of virtual machines

1. Hypervisor (and guest system) overhead: Virtual machines are less efficient than physical machines because some of the available resources are used for operational management Program software.

2. In terms of shared hardware: Power consumption spikes often cause bottlenecks: Since all virtual machines on the host system share the same hardware resources, performance spikes may cause bottlenecks.

3. Hypervisor as a single point of failure: If a hacker or malware attack targets the virtualization software, all guest systems managed by the hypervisor may be affected.

The above is the detailed content of What is a virtual machine. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to fix hypervisor errors in Windows 11 How to fix hypervisor errors in Windows 11 Apr 16, 2023 pm 12:37 PM

For many users, Windows has a hidden built-in feature for easily creating and managing virtual machines. This feature is called Hypervisor or Hyper-V. But like other Windows features, this one isn't completely bug-free. In this article, we will show you how to fix Hyper-V issues easily and quickly. So without further ado, let’s jump into the solution and get the virtual machine up and running. Fix 1 – Check if your system supports Hyper-V The first thing you should try is to check if your system supports Hyper-V and is still active. 1. You must restart the system. To do this safely, press Wi once

Install Windows XP ISO on Windows 11 using VirtualBox Install Windows XP ISO on Windows 11 using VirtualBox May 05, 2023 pm 02:25 PM

Windows XP on Windows 11 VirtualBox Virtual Machine The steps given here to install a Windows XP ISO image using VirtualBox are not limited to Windows 11. Users can follow these steps on Linux such as Ubuntu, macOS, Windows 10, 7, or other operating systems they are using and have Virtualbox. Download Windows

How to fix VMMEM high memory and CPU usage How to fix VMMEM high memory and CPU usage Apr 18, 2023 pm 04:40 PM

Vmmem or virtual memory can cause high CPU or memory usage due to various factors. One of the key reasons behind this issue is some resource-intensive processes running in the virtual host. However, if this is not the case and the VM still consumes a lot of system resources in idle mode, it may be a driver failure. This slows down the virtual machine and your work may stop. So, follow the steps below to resolve the issue quickly. Fix 1 – End all resource-intensive processes If you are running some heavy applications or software versions, expect vmmem to use a lot of resources. There is nothing unusual about this. Even if you can kill these processes directly, it will free up more resources for your device. NOTE – You can

Convert VMware to VirtualBox and vice versa Convert VMware to VirtualBox and vice versa Feb 19, 2024 pm 05:57 PM

Virtual machines are an affordable way to experience and use multiple operating systems on a single computer. VMWare and VirtualBox are the two major brands in the virtual machine industry. You can easily convert a VMware virtual machine to a VirtualBox virtual machine and vice versa, giving you the flexibility to switch machines between them without having to recreate them. Migrating a virtual machine from VMWare to VirtualBox or vice versa is not complicated. Just follow the instructions below and it's easy to do. How to convert VMware to VirtualBoxVMwareVM is stored in .vmx format and then converted to .ovf, this is VirtualBox and VMWare

How to install, configure and use the 'Windows Sandbox' feature How to install, configure and use the 'Windows Sandbox' feature Feb 19, 2024 pm 01:00 PM

Windows Sandbox is a feature built into the Windows 11 and Windows 10 operating systems that allows users to install and test unverified applications or visit websites in a lightweight virtual environment while protecting the main system from potential threats. Overall, this system provides a safe and isolated testing environment, similar to a virtual machine, but easier to use. Next, this article will introduce the detailed steps to install, configure and use the Windows Sandbox feature on Windows 11. Introduction to Windows Sandbox Features Windows Sandbox (also known as Windows Sandbox) is essentially a lightweight virtualization solution focused on providing efficient and secure virtual environments. compared to traditional

The server encountered an error, 0x80070003, while creating a new virtual machine. The server encountered an error, 0x80070003, while creating a new virtual machine. Feb 19, 2024 pm 02:30 PM

If you encounter error code 0x80070003 when using Hyper-V to create or start a virtual machine, it may be caused by permission issues, file corruption, or configuration errors. Solutions include checking file permissions, repairing damaged files, ensuring correct configuration, and more. This problem can be solved by ruling out the different possibilities one by one. The entire error message looks like this: The server encountered an error while creating [virtual machine name]. Unable to create new virtual machine. Unable to access configuration store: The system cannot find the path specified. (0x80070003). Some possible causes of this error include: The virtual machine file is corrupted. This can happen due to malware, virus or adware attacks. Although the likelihood of this happening is low, you can't completely

The Best Virtual Machines for Windows 11 (Free and Paid) The Best Virtual Machines for Windows 11 (Free and Paid) Apr 13, 2023 am 11:40 AM

A virtual machine or virtual machine is a piece of software that simulates a computer and replaces the real thing. A VM mimics a computer's hardware and architecture to provide the same functionality. You can run existing applications and services on virtual machines without risking the stability of your regular computer. For example, Windows 11 now has a lot of bugs that can make the experience frustrating. The virtual machine will allow people to try it out without signing up for anything. Read on to learn which is the best Windows 11 virtual machine for your needs and desires. What are the best virtual machines for Windows 11? VMware Workstation VMware Workstation is one of the best virtual machines on the market because of its high

How to solve the problem that win11 virtual machine cannot connect to the network How to solve the problem that win11 virtual machine cannot connect to the network Jan 04, 2024 pm 07:00 PM

Many users have installed virtual machines on the win11 system after updating it, but many of them will be unable to connect to the network. So today I will bring you the solution to the problem that the win11 virtual machine cannot connect to the network. Come and see how to solve it. . What to do if the win11 virtual machine cannot connect to the network 1. First open the virtual machine and click "Edit - Virtual Network Editor - Restore Default Settings" in order. After doing this, it can be used. 2. In fact, in many cases it is due to changes in the network driver that the network cannot operate normally. You only need to reinstall the network module once! 3. If you encounter the problem that the network is suddenly cut off during use, even if the adapter has been configured correctly, the network will still be displayed.

See all articles