Line 5: | Line 5: | ||
== Introdução == | == Introdução == | ||
A Virtualização permite executar diversas máquinas virtuais convidadas sobre um sistema operacional hospedeiro como o Fedora. O que isso significa é que utilizando um computador, você pode simular diversos computadores individuais e até executar sistemas operacionais diferentes em cada uma dessas máquinas virtuais. Existem diversas tecnologias diferentes de virtualização, incluindo opções de softwares tanto free e open source quanto proprietárias. A [https://web.archive.org/web/20080327111126/http://www-128.ibm.com/developerworks/linux/library/l-linuxvirt/?ca=dgr-lnxw01Virtual-Linux good article on IBM DeveloperWorks (M Tim Jones, Dec 2006, archived)] Web site illustrates the four main different virtualization families, namely hardware emulation, hardware-assisted virtualization, para-virtualization (PV) and containers/zones. | |||
=== Emulação de Hardware === | === Emulação de Hardware === |
Revision as of 11:22, 2 December 2016
Esta página cobre os esforços para integrar várias tecnologias de virtualização no Fedora. Para informações na utilização do Fedora como uma máquina virtual, veja Instalando uma Máquina Virtual do Fedora.
Introdução
A Virtualização permite executar diversas máquinas virtuais convidadas sobre um sistema operacional hospedeiro como o Fedora. O que isso significa é que utilizando um computador, você pode simular diversos computadores individuais e até executar sistemas operacionais diferentes em cada uma dessas máquinas virtuais. Existem diversas tecnologias diferentes de virtualização, incluindo opções de softwares tanto free e open source quanto proprietárias. A good article on IBM DeveloperWorks (M Tim Jones, Dec 2006, archived) Web site illustrates the four main different virtualization families, namely hardware emulation, hardware-assisted virtualization, para-virtualization (PV) and containers/zones.
Emulação de Hardware
![](/w/uploads/thumb/a/ae/Virtualization_Hardware_Emulation.png/200px-Virtualization_Hardware_Emulation.png)
Hardware emulation uses a VM to simulate the required hardware. A few implementations:
Virtualização Completa
![](/w/uploads/thumb/d/d9/Virtualization_Full.png/200px-Virtualization_Full.png)
Full virtualization uses a hypervisor (a.k.a. VMM, standing for Virtual Machine Monitor) to share the underlying hardware. A few implementations:
- KVM/QEMU is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). Using KVM, one can run multiple virtual machines running unmodified Linux or Windows images. KVM is part of RedHat Emerging Technologies (ET).
- Xen is a virtual-machine monitor providing services that allow multiple computer operating systems to execute on the same computer hardware concurrently. Xen has been the solution of choice for RedHat EL distributions since 2005. The kernel-2.6.18 dropped support for Xen, but the necessary modules/modifications have been added to the upstream kernel again, from 2.6.37 for DomU (guests) and from 3.0 for Dom0 (base domain, part of the host). Therefore, Xen Dom0 host support, that was dropped after Fedora 8, it has now been re-introduced, from Fedora 16 (see Xen Dom0 support)
- VirtualBox is a full virtualization solution for x86 and AMD64/Intel64 hardware. Sun Microsystems started that project, which is now fully supported by Oracle. There is a dual licencing scheme, among which GPLv2. Allegedly VirtualBox is one of the fastest full virtualization solutions.
Para-Virtualização (PV)
![](/w/uploads/thumb/b/b5/Virtualization_Para.png/200px-Virtualization_Para.png)
Paravirtualization shares the process with the guest operating system. A few implementations:
- KVM (see above).
- Xen (see above).
- xenner is a utility allowing paravirtualized Xen guests to be run using KVM.
Virtualização ao nível de Sistema Operacional
![](/w/uploads/thumb/b/b6/Virtualization_Containers.png/200px-Virtualization_Containers.png)
Operating system-level virtualization partitions a host into insulated guest, which are therefore as kinds of chroot, but with much stronger resource isolation. Hence, we often speak about containers or zones to refer to that family of virtualization. A few implementations:
- Docker isolate a single process in its own environment
- sandbox
- OpenVZ... and the Debian-based ProxMox for the off-the-shelf server
- LXC (Linux Containers)
- Linux-VServer, which does not seem to be no longer active (the last news is dated back in 2009)
Suporte do Fedora
At time of writing, Fedora includes full support for KVM/QEMU, Xen and LXC.
A number of third parties (e.g., RPMFusion) provide add-on packages for other virtualization technologies: OpenVZ, Linux-VServer, VirtualBox.
Anticipating this diversification of technology, since the days of Fedora Core 5, all core management applications have been built on top of the libvirt toolkit, which offers a technology independent API for managing virtual systems.
Nuvens
As Cloud-based infrastructures rely, by nature, on virtualization technologies, both subjects are therefore heavily inter-related. There is a Cloud SIG (Special Interest Group) dedicated to the subject, worth to follow as well.
Histórico
O Fedora Core 5 foi a primeira versão em incluir o Xen como um tecnologia integrada base. A nova virtualização nativa do Linux, KVM, foi introduzida no Fedora 7. Para uma explicação mais detalhada sobre o progresso da virtualização no Fedora, consulte a página Histórico de Virtualização.
News
There is semi-regular coverage of Virtualization news in Fedora Weekly News, and more detailed status updates posted to the fedora-virt Mailing List. For ease of reference, there is an archive of virtualization news
Getting started
See getting started with virtualization for an excellent overview to using the virtualization capabilities in Fedora.
A few magazine articles on virtualization have introductory material as well.
Bugs
See How to debug Virtualization problems for some tips on reporting virtualization bugs to bugzilla.
If you wish to help triaging and fixing virtualization bugs, virtualization bugs is a good starting point. On the page Virtualization Preview Repository, you shall find informations if you can be a potential virtualization tester.
Mailing list and IRC
To get in touch with Fedora virtualization users and developers try #virt on irc.oftc.net. There isn't any designated virt mailing list, so try the standard Fedora lists like users or devel lists.
Relevant Packages
We have a page containing a catalogue of all the virtualization related packages in Fedora.
oVirt
oVirt is a Fedora based project which provides small host images and a web-based virtual machine management console. See the website to learn more and get involved.
Other virtualization information
You can find more virtualization information at the virtualization category page on this wiki.