In computing, a virtual machine (VM) is the virtualization or emulation of a computer system. Virtual machines are based on computer architectures and provide the functionality of a physical computer. Their implementations may involve specialized hardware, software, or a combination of the two.
Virtual machines differ and are organized by their function, shown here:
Process virtual machines are designed to execute computer programs in a platform-independent environment.
Some virtual machine emulators, such as QEMU and video game console emulators, are designed to also emulate (or "virtually imitate") different system architectures, thus allowing execution of software applications and operating systems written for another CPU or architecture. OS-level virtualization allows the resources of a computer to be partitioned via the kernel. The terms are not universally interchangeable.
A "virtual machine" was originally defined by Popek and Goldberg as "an efficient, isolated duplicate of a real computer machine."[1] Current use includes virtual machines that have no direct correspondence to any real hardware.[2] The physical, "real-world" hardware running the VM is generally referred to as the 'host', and the virtual machine emulated on that machine is generally referred to as the 'guest'. A host can emulate several guests, each of which can emulate different operating systems and hardware platforms.
The desire to run multiple operating systems was the initial motive for virtual machines, so as to allow time-sharing among several single-tasking operating systems. In some respects, a system virtual machine can be considered a generalization of the concept of virtual memory that historically preceded it. IBM's CP/CMS, the first systems to allow full virtualization, implemented time sharing by providing each user with a single-user operating system, the Conversational Monitor System (CMS). Unlike virtual memory, a system virtual machine entitled the user to write privileged instructions in their code. This approach had certain advantages, such as adding input/output devices not allowed by the standard system.[2]
As technology evolves virtual memory for purposes of virtualization, new systems of memory overcommitment may be applied to manage memory sharing among multiple virtual machines on one computer operating system. It may be possible to share memory pages that have identical contents among multiple virtual machines that run on the same physical machine, what may result in mapping them to the same physical page by a technique termed kernel same-page merging (KSM). This is especially useful for read-only pages, such as those holding code segments, which is the case for multiple virtual machines running the same or similar software, software libraries, web servers, middleware components, etc. The guest operating systems do not need to be compliant with the host hardware, thus making it possible to run different operating systems on the same computer (e.g., Windows, Linux, or prior versions of an operating system) to support future software.[3]
The use of virtual machines to support separate guest operating systems is popular in regard to embedded systems. A typical use would be to run a real-time operating system simultaneously with a preferred complex operating system, such as Linux or Windows. Another use would be for novel and unproven software still in the developmental stage, so it runs inside a sandbox. Virtual machines have other advantages for operating system development and may include improved debugging access and faster reboots.[4]
Multiple VMs running their own guest operating system are frequently engaged for server consolidation.[5]
A process VM, sometimes called an application virtual machine, or Managed Runtime Environment (MRE), runs as a normal application inside a host OS and supports a single process. It is created when that process is started and destroyed when it exits. Its purpose is to provide a platform-independent programming environment that abstracts away details of the underlying hardware or operating system and allows a program to execute in the same way on any platform.[citation needed]
A process VM provides a high-level abstraction – that of a high-level programming language (compared to the low-level ISA abstraction of the system VM). Process VMs are implemented using an interpreter; performance comparable to compiled programming languages can be achieved by the use of just-in-time compilation.[citation needed]
A special case of process VMs are systems that abstract over the communication mechanisms of a (potentially heterogeneous) computer cluster. Such a VM does not consist of a single process, but one process per physical machine in the cluster. They are designed to ease the task of programming concurrent applications by letting the programmer focus on algorithms rather than the communication mechanisms provided by the interconnect and the OS. They do not hide the fact that communication takes place, and as such do not attempt to present the cluster as a single machine.[citation needed]
Unlike other process VMs, these systems do not provide a specific programming language, but are embedded in an existing language; typically such a system provides bindings for several languages (e.g., C and Fortran).[citation needed] Examples are Parallel Virtual Machine (PVM) and Message Passing Interface (MPI).
Both system virtual machines and process virtual machines date to the 1960s and remain areas of active development.
System virtual machines grew out of time-sharing, as notably implemented in the Compatible Time-Sharing System (CTSS). Time-sharing allowed multiple users to use a computer concurrently: each program appeared to have full access to the machine, but only one program was executed at the time, with the system switching between programs in time slices, saving and restoring state each time. This evolved into virtual machines, notably via IBM's research systems: the M44/44X, which used partial virtualization, and the CP-40 and SIMMON, which used full virtualization, and were early examples of hypervisors. The first widely available virtual machine architecture was the CP-67/CMS (see History of CP/CMS for details). An important distinction was between using multiple virtual machines on one host system for time-sharing, as in M44/44X and CP-40, and using one virtual machine on a host system for prototyping, as in SIMMON. Emulators, with hardware emulation of earlier systems for compatibility, date back to the IBM System/360 in 1963,[6][7] while the software emulation (then-called "simulation") predates it.
Process virtual machines arose originally as abstract platforms for an intermediate language used as the intermediate representation of a program by a compiler; early examples date to around 1964 with the META II compiler-writing system using it for both syntax description and target code generation. A notable 1966 example was the O-code machine, a virtual machine that executes O-code (object code) emitted by the front end of the BCPL compiler. This abstraction allowed the compiler to be easily ported to a new architecture by implementing a new back end that took the existing O-code and compiled it to machine code for the underlying physical machine. The Euler language used a similar design, with the intermediate language named P (portable).[8] This was popularized around 1970 by Pascal, notably in the Pascal-P system (1973) and Pascal-S compiler (1975), in which it was termed p-code and the resulting machine as a p-code machine. This has been influential, and virtual machines in this sense have been often generally called p-code machines. In addition to being an intermediate language, Pascal p-code was also executed directly by an interpreter implementing the virtual machine, notably in UCSD Pascal (1978); this influenced later interpreters, notably the Java virtual machine (JVM). Another early example was SNOBOL4 (1967), which was written in the SNOBOL Implementation Language (SIL), an assembly language for a virtual machine, which was then targeted to physical machines by transpiling to their native assembler via a macro assembler.[9] Macros have since fallen out of favor, however, so this approach has been less influential. Process virtual machines were a popular approach to implementing early microcomputer software, including Tiny BASIC and adventure games, from one-off implementations such as Pyramid 2000 to a general-purpose engine like Infocom's z-machine, which Graham Nelson argues is "possibly the most portable virtual machine ever created".[10]
Significant advances occurred in the implementation of Smalltalk-80,[11]
particularly the Deutsch/Schiffmann implementation[12]
which pushed just-in-time (JIT) compilation forward as an implementation approach that uses process virtual machine.[13]
Later notable Smalltalk VMs were VisualWorks, the Squeak Virtual Machine,[14]
and Strongtalk.[15]
A related language that produced a lot of virtual machine innovation was the Self programming language,[16] which pioneered adaptive optimization[17] and generational garbage collection. These techniques proved commercially successful in 1999 in the HotSpot Java virtual machine.[18] Other innovations include a register-based virtual machine, to better match the underlying hardware, rather than a stack-based virtual machine, which is a closer match for the programming language; in 1995, this was pioneered by the Dis virtual machine for the Limbo language.
In full virtualization, the virtual machine simulates enough hardware to allow an unmodified "guest" OS (one designed for the same instruction set) to be run in isolation. This approach was pioneered in 1966 with the IBM CP-40 and CP-67, predecessors of the VM family.
In hardware-assisted virtualization, the hardware provides architectural support that facilitates building a virtual machine monitor and allows guest OSes to be run in isolation.[19]
Hardware-assisted virtualization was first introduced on the IBM System/370 in 1972, for use with VM/370, the first virtual machine operating system offered by IBM as an official product.[20]
In OS-level virtualization, a physical server is virtualized at the operating system level, enabling multiple isolated and secure virtualized servers to run on a single physical server. The "guest" operating system environments share the same running instance of the operating system as the host system. Thus, the same operating system kernel is also used to implement the "guest" environments, and applications running in a given "guest" environment view it as a stand-alone system. The pioneer implementation was FreeBSD jails; other examples include Docker, Solaris Containers, OpenVZ, Linux-VServer, LXC, AIX Workload Partitions, Parallels Virtuozzo Containers, and iCore Virtual Accounts.
A snapshot is a state of a virtual machine, and generally its storage devices, at an exact point in time. A snapshot enables the virtual machine's state at the time of the snapshot to be restored later, effectively undoing any changes that occurred afterwards. This capability is useful as a backup technique, for example, prior to performing a risky operation.[citation needed]
Virtual machines frequently use virtual disks for their storage; in a very simple example, a 10-gigabytehard disk drive is simulated with a 10-gigabyte flat file. Any requests by the VM for a location on its physical disk are transparently translated into an operation on the corresponding file. Once such a translation layer is present, however, it is possible to intercept the operations and send them to different files, depending on various criteria. Every time a snapshot is taken, a new file is created, and used as an overlay for its predecessors. New data is written to the topmost overlay; reading existing data, however, needs the overlay hierarchy to be scanned, resulting in accessing the most recent version. Thus, the entire stack of snapshots is virtually a single coherent disk; in that sense, creating snapshots works similarly to the incremental backup technique.[citation needed]
Restoring a snapshot consists of discarding or disregarding all overlay layers that are added after that snapshot, and directing all new changes to a new overlay.[citation needed]
The snapshots described above can be moved to another host machine with its own hypervisor; when the VM is temporarily stopped, snapshotted, moved, and then resumed on the new host, this is known as migration. If the older snapshots are kept in sync regularly, this operation can be quite fast, and allow the VM to provide uninterrupted service while its prior physical host is, for example, taken down for physical maintenance.[citation needed]
Similar to the migration mechanism described above, failover allows the VM to continue operations if the host fails. Generally it occurs if the migration has stopped working. However, in this case, the VM continues operation from the last-known coherent state, rather than the current state, based on whatever materials the backup server was last provided with.[citation needed]
Nested virtualization
Nested virtualization refers to the ability of running a virtual machine within another, having this general concept extendable to an arbitrary depth. In other words, nested virtualization refers to running one or more hypervisors inside another hypervisor. The nature of a nested guest virtual machine does not need to be homogeneous with its host virtual machine; for example, application virtualization can be deployed within a virtual machine created by using hardware virtualization.[22]
Nested virtualization becomes more necessary as widespread operating systems gain built-in hypervisor functionality, which in a virtualized environment can be used only if the surrounding hypervisor supports nested virtualization; for example, Windows 7 is capable of running Windows XP applications inside a built-in virtual machine. Furthermore, moving already existing virtualized environments into a cloud, following the Infrastructure as a Service (IaaS) approach, is much more complicated if the destination IaaS platform does not support nested virtualization.[23][24]
The way nested virtualization can be implemented on a particular computer architecture depends on supported hardware-assisted virtualization capabilities. If a particular architecture does not provide hardware support required for nested virtualization, various software techniques are employed to enable it.[23] Over time, more architectures gain required hardware support; for example, since the Haswell microarchitecture (announced in 2013), Intel started to include VMCS shadowing as a technology that accelerates nested virtualization.[25]
^Oliphant, Patrick. "Virtual Machines". VirtualComputing. Archived from the original on 2016-07-29. Retrieved 2015-09-23. Some people use that capability to set up a separate virtual machine running Windows on a Mac, giving them access to the full range of applications available for both platforms.
^Ingalls Jr., Daniel "Dan" Henry Holmes; Kaehler, Ted; Maloney, John; Wallace, Scott; Kay, Alan Curtis (1997). "Back to the future: the story of Squeak, a practical Smalltalk written in itself". OOPSLA '97: Proceedings of the 12th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications. New York, NY, US: ACM Press. pp. 318–326. doi:10.1145/263698.263754. ISBN0-89791-908-4.
^Bracha, Gilad; Griswold, David (1993). "Strongtalk: Typechecking Smalltalk in a Production Environment". Proceedings of the Eighth Annual Conference on Object-oriented Programming Systems, Languages, and Applications. OOPSLA '93. New York, NY, US: ACM. pp. 215–230. doi:10.1145/165854.165893. ISBN978-0-89791-587-8.
^Paleczny, Michael; Vick, Christopher; Click, Cliff (2001). "The Java HotSpot server compiler". Proceedings of the Java Virtual Machine Research and Technology Symposium on Java Virtual Machine Research and Technology Symposium. Vol. 1. Monterey, California: USENIX Association.
^Uhlig, Rich; Neiger, Gil; Rodgers, Dion; Santoni, Amy L.; Martins, Fernando C. M.; Anderson, Andrew V.; Bennett, Steven M.; Kägi, Alain; Leung, Felix H.; Smith, Larry (May 2005). "Intel virtualization technology". Computer. 38 (5): 48–56. doi:10.1109/MC.2005.163. S2CID18514555.
^Randal, A. (2019). The Ideal Versus the Real: Revisiting the History of Virtual Machines and Containers.
^Adams, Keith; Agesen, Ole (2006-10-21). A Comparison of Software and Hardware Techniques for x86 Virtualization(PDF). ASPLOS’06 21–25 October 2006. San Jose, California, US. Archived(PDF) from the original on 2010-08-20. Surprisingly, we find that the first-generation hardware support rarely offers performance advantages over existing software techniques. We ascribe this situation to high VMM/guest transition costs and a rigid programming model that leaves little room for software flexibility in managing either the frequency or cost of these transitions.
James E. Smith, Ravi Nair, Virtual Machines: Versatile Platforms For Systems And Processes, Morgan Kaufmann, May 2005, ISBN1-55860-910-5, 656 pages (covers both process and system virtual machines)
Craig, Iain D. Virtual Machines. Springer, 2006, ISBN1-85233-969-1, 269 pages (covers only process virtual machines)
PBS NewsHourLogo PBS NewsHour (2009-kini)Nama alternatif The Robert MacNeil Report (1975–1976) The MacNeil/Lehrer Report (1976–1983) The MacNeil/Lehrer NewsHour (1983–1995) The NewsHour With Jim Lehrer (1995–2009) PBS NewsHour Weekend (edisi akhir pekan, 2013-2022) PBS NewsHour Weekend (edisi akhir pekan, 2022-kini) PBS NewsHour West (edisi barat) GenreBuletin beritaPembuat Robert MacNeil Jim Lehrer Sutradara Joseph Camp (edisi Senin-Jumat) Chip Hirzel (edisi Sabtu-Minggu) PresenterS...
The Second Maroon WarPart of the Atlantic Revolutions and the Slave Revolts in North AmericaIllustration of Trelawney TownDate1795 – 1796LocationJamaicaResult Maroon surrenderBelligerents British Empire Colonial militias Accompong Town Maroons from Trelawney Town and alliesCommanders and leaders Earl Balcarres George Walpole William Fitch † Montague James John Jarret Charles Samuels Andrew Smith Leonard Parkinson James PalmerStrength 5,000 150 Maroons,[1] 350 ...
Yalta dari Laut Hitam Yalta (Ukraina: Ялта) merupakan sebuah kota di Ukraina. Letaknya di bagian selatan. Tepatnya di Republik Otonomi Krimea. Kota ini memiliki jumlah penduduk sebesar 80.552 jiwa. Di pantai utara Laut Hitam. Kota ini merupakan situs koloni kekaisaran Yunani. Kota kembar Baden-Baden, Jerman Batumi, Georgia Galaţi, Rumania Margate, Britania Raya Nice, Prancis Pärnu, Estonia Pozzuoli, Italia Rijeka, Kroasia Santa Barbara, Amerika Serikat Sanya, Tiongkok Ohrid, Republik Ma...
Festival Film Indonesia 2020Tanggal5 Desember 2020 (2020-12-05)LokasiPlenary Hall, Jakarta Convention Center, Jakarta[1]NegaraIndonesiaPembawa acara Chicco Jerikho Laura Basuki Reza Rahadian Tissa Biani IkhtisarPenghargaan terbanyakPerempuan Tanah Jahanam (6)Nominasi terbanyakPerempuan Tanah Jahanam (17)[2]Film Cerita Panjang TerbaikPerempuan Tanah JahanamSutradara TerbaikJoko Anwar (Perempuan Tanah Jahanam)Pemeran Utama Pria TerbaikGunawan Maryanto (Hiruk-Pikuk si Al-Kis...
Bupati Tanjung Jabung BaratLambang Kabupaten Tanjung Jabung BaratPetahanaAnwar Sadatsejak 26 Februari 2021KediamanRumah Dinas Bupati Tanjung Jabung BaratMasa jabatan5 tahunDibentuk1965Pejabat pertamaDrs. Moh. AmirSitus webtanjabbarkab.go.id Berikut adalah Daftar Bupati dan Wakil Bupati Tanjung Jabung Barat dari masa ke masa. Sebelum 21 Oktober 1999, Bupati menjabat untuk wilayah Kabupaten Tanjung Jabung (sebelum pemekaran Kabupaten Tanjung Jabung Barat dan Tanjung Jabung Timur).[1 ...
ميّز عن أبو قير الجديدة. أبو قير تقسيم إداري البلد مصر [1] التقسيم الأعلى الإسكندرية خصائص جغرافية إحداثيات 31°19′00″N 30°04′00″E / 31.316666666667°N 30.066666666667°E / 31.316666666667; 30.066666666667 الارتفاع 7 متر[2] السكان التعداد السكاني 37997 (11 نوفمبر 2006)[3]&...
Go-Ahead Verkehrsgesellschaft Deutschland GmbHIndustryRail transportFounded9 June 2019HeadquartersBerlin, GermanyKey peopleStefan Krispin (managing director)OwnerÖBBWebsitewww.go-ahead-bahn.de Go-Ahead Verkehrsgesellschaft Deutschland GmbH is a railway operator in Germany. It is a wholly-owned subsidiary of ÖBB. Go-Ahead secured its first contract in the German rail market in November 2015 to operate several regional rail lines in the vicinity of Stuttgart; it took over services from the i...
Tunisha SharmaTunisha Sharma saat peluncuran acara 'Internet Wala Love', 2018Lahir4 Januari 2002 (umur 22)Allahabad, IndiaMeninggal24 Desember 2022(2022-12-24) (umur 20)Mumbai, Maharashtra, IndiaSebab meninggalGantung diriKebangsaanIndiaPekerjaanaktris, ModelTahun aktif2013–2022Kota asalChandigarh Tunisha Sharma (4 Januari 2002 – 24 Desember 2022)[1][2] adalah aktris televisi India yang dikenal karena memerankan Chand Kanwar di Mahap...
سفارة باهاماس في الولايات المتحدة باهاماس الولايات المتحدة الإحداثيات 38°54′41″N 77°02′59″W / 38.9114°N 77.0497°W / 38.9114; -77.0497 البلد الولايات المتحدة المكان شمال غربي واشنطن العاصمة العنوان Massachusetts Avenue (Washington, D.C.) [الإنجليزية] الاختصاص الولايات المتحدة، وآيسل...
Paul Blart: Mall Cop 2Poster resmiSutradaraAndy FickmanProduser Todd Garner Kevin James Adam Sandler Ditulis oleh Nick Bakay Kevin James Pemeran Kevin James Raini Rodriguez Neal McDonough Shirley Knight Penata musikRupert Gregson-WilliamsSinematograferDean SemlerPenyuntingScott HillPerusahaanproduksiHappy Madison ProductionsDistributorColumbia PicturesTanggal rilis 17 April 2015 (2015-04-17) Durasi94 Menit[1]NegaraAmerika SerikatBahasaInggrisAnggaran$40 Juta[2]Penda...
MoskvaМоскваcode: ru is deprecated (Rusia)Sungai Moskva di Kremlin, MoskowPeta daerah aliran sungai Volga dengan Moskva ditandai; kedua sungai dihubungkan langsung oleh Kanal MoskowLokasiNegaraRusiaDaerahPodmoskovyeCiri-ciri fisikHulu sungaiMoskva - lokasiSychiki, Podmoskovye - koordinat55°30′50″N 35°21′50″E / 55.514°N 35.364°E / 55.514; 35.364 - elevasi246 m (807 ft) Muara sungaiOka - loka...
2023 Russian crewed spaceflight to the ISS Soyuz MS-24Soyuz MS-24 approaching the ISSNamesISS 70SMission typeCrewed mission to ISSOperatorRoscosmosCOSPAR ID2023-143A SATCAT no.57862Websiteen.roscosmos.ruMission duration203 days, 15 hours and 33 minutes Spacecraft propertiesSpacecraftSoyuz MS No.755Spacecraft typeSoyuz MSManufacturerRSC Energia CrewCrew size3MembersLoral O'HaraLaunchingOleg KononenkoNikolai ChubLandingOleg NovitskyMarina VasilevskayaCallsignAntares Start of miss...
Austrian sculptor Carl Kundmann in 1909. Photograph by Carl Pietzner (1853–1927) Schubert Monument Carl Kundmann (15 June 1838, Vienna – 9 June 1919, Vienna) was an Austrian sculptor, best known for his works which adorn the area around the Ringstraße project. Life and work Kundmann studied at the Academy of Fine Arts Vienna. After six years, he went to Dresden to study with Ernst Julius Hähnel, who had a major influence on his style.[1] From 1865 to 1867 he lived in Rome, where...
Liga dos Campeões da UEFA de 1996–97 XLII UEFA Champions League Dados Participantes 24 Organização UEFA Local de disputa Europa Período 7 de agosto de 1996 – 28 de maio de 1997 Gol(o)s 215 Partidas 77 Média 2,79 gol(o)s por partida Campeão Borussia Dortmund (1º título)[1] Vice-campeão Juventus Melhor marcador YUG Milinko Pantić (Atlético de Madrid) – 5 gols Maiores goleadas (diferença) Grasshopper 5 – 0 Slavia PragaEstádio Hardturm, Zurique7 de agosto, F...
Pour les articles homonymes, voir Charnay. le Charnay Le Charnay (en rouge) et la zone hydrographique dans laquelle il s'insère. Caractéristiques Longueur 12,1 km Bassin collecteur Loire Régime pluvial Cours Source près du hameau des Forts · Localisation Thionne · Altitude 294 m · Coordonnées 46° 24′ 23″ N, 3° 33′ 19″ E Confluence la Besbre · Localisation Saint-Pourçain-sur-Besbre · Altitude 225 m · Coordonnées 46° 28�...
Voce principale: Udinese Calcio. Associazione Calcio UdineseStagione 1949-1950Sport calcio Squadra Udinese Allenatore Aldo Olivieri Presidente Giuseppe Bertoli Serie B2º posto. Promossa in Serie A. Maggiori presenzeCampionato: Brandolin (41) Miglior marcatoreCampionato: Darin (19) 1948-1949 1950-1951 Si invita a seguire il modello di voce Questa voce raccoglie le informazioni riguardanti l'Associazione Calcio Udinese nelle competizioni ufficiali della stagione 1949-1950. Indice 1 Rosa ...
Questa voce o sezione sull'argomento centri abitati della Lombardia non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. Vanzaghellocomune LocalizzazioneStato Italia Regione Lombardia Città metropolitana Milano AmministrazioneSindacoArconte Gatti (lista civica) dal 27-5-2019 Territori...
يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (أكتوبر 2023) جوش بيك معلومات شخصية اسم الولادة جوشوا مايكل بيك الميلاد 10 نوفمبر 1986 (العمر 37 سنة)مدينة نيويورك، الولايا...