From Fedora Project Wiki
No edit summary
No edit summary
Line 2: Line 2:


== Introduzione ==
== Introduzione ==
La ''virtualizzazione'' può far funzionare molte ''guest virtual machines'' su un sistema operativo (S.O.) come Fedora; cioè usando un computer, si possono simulare diversi computer individuali ed anche far funzionare in ciascuna di queste virtual machines il proprio S.O.<BR> Esistono molte tecnologie di virtualizzazione diverse tra loro, inclusi sia [http://www.gnu.org/philosophy/free-sw.html software free and open source] sia proposte proprietarie.


Virtualization allows one to run many guest virtual machines on top of a host operating system such as Fedora. What this means is that using one computer, you can mimic several individual computers and even run different operating systems in each of these virtual machines. There are many different virtualization technologies, including both free and open source software and proprietary offerings.
Allo stato attuale, con Fedora sono distribuite le seguenti tecnologie:
* [http://www.linux-kvm.org/ KVM] (Kernel-based Virtual Machine) supporta guest completamente virtualizzati.<BR> Si tratta di un [http://it.wikipedia.org/wiki/Hypervisor hypervisor] (o virtual machine monitor) incluso nel kernel Linux che necessita di architetture con virtualizzazione integrata nell'hardware, come Intel VT o AMD-V. KVM è correntemente l'interesse principale, su cui si concentrano gli sforzi degli sviluppatori di Fedora, alla virtualizzazione.
* [http://wiki.qemu.org/Main_Page QEMU] Un veloce emulatore di CPU capace di virtualizzare sia architetture native sia non-native; per esempio può far girare un S.O. PowerPC su un'architettura x86_64.
*[http://xen.org/ Xen] Supporta la [http://it.wikipedia.org/wiki/Paravirtualizzazione paravirtulizzazione] dei guest.<BR> ''Poichè è da Fedora 8 che manca un supporto a NB Xen Dom0, in vista di Fedora 13 si prevede una sua re-introduzione<BR> (vedere la nota di rilascio [[Features/XenPvopsDom0|Xen Dom0 support]]).''
* [http://kraxel.fedorapeople.org/xenner/ xenner] è un'utility che estende la posibilità ai guest Xen paravirtualizzati di funzionare usando KVM.


At time of writing, Fedora includes full support for the following virtualization technologies
Un certo numero di terze parti, offrono pacchetti aggiuntivi per altre tecnologie di virtualizzazione. Per esempio, [http://openvz.org/ OpenVZ] e [http://linux-vserver.org/Welcome_to_Linux-VServer.org Linux-VServer], entrambi offrono virtualizzazioni ''container based'' in grado di partizionare un singolo S.O. in diverse zone isolate -- simile a un chroot ma con un maggior isolamento delle risorse, e [http://www.virtualbox.org/ VirtualBox] offre una tecnologia che non necessita di hardware dedicato alla virtualizzazione.


* [http://www.linux-kvm.org/ KVM] hosts support for fully virtualized guests. A hypervisor included in the Linux kernel which requires hardware virtualization support like Intel VT or AMD-V. KVM is currently the main focus of Fedora's virtualization efforts.
Per concludere, anticipando questa diversificazione tecnologica, già dai tempi di Fedora 5, tutte le applicazioni di gestione di base, sono state realizzate sul toolkit [http://libvirt.org libvirt], che offre delle API tecnologicamente indipendenti per creare sistemi virtualizzati, ''free and open source''.
* [http://bellard.org/qemu/ QEMU], a fast CPU emulator capable of virtualizing OS on both native and non-native architectures (such as allowing a PowerPC OS to run on x86_64).
* [http://xen.org/ Xen] paravirtualized guests supported from install media. NB Xen Dom0 host support was dropped after Fedora 8, its re-introduction blocked on the inclusion of  [[Features/XenPvopsDom0|Xen Dom0 support]] in upstream Linux.
* [http://kraxel.fedorapeople.org/xenner/ xenner] is a utility which allows paravirtualized Xen guests to be run using KVM.
 
A number of 3rd parties provide add-on packages for other virtualization  technologies. [http://openvz.org/ OpenVZ] and Linux-VServer, both provide container based virutalization which can partition a single OS into several isolated zones -- a chroot with much stronger resource isolation. VirtualBox provides a full virtualization technology which does not require hardware virtualization extensions.
 
Anticipating this diversification of technology, since the days of Fedora Core 5, all core management applications have been built on top of the [http://libvirt.org libvirt] toolkit, which offers a technology independent API for managing virtual systems.


== History ==
== History ==

Revision as of 12:56, 6 February 2010

Questa pagina delinea il lavoro finora svolto per integrare in Fedora le varie tecnologie di virtualizzazione.

Introduzione

La virtualizzazione può far funzionare molte guest virtual machines su un sistema operativo (S.O.) come Fedora; cioè usando un computer, si possono simulare diversi computer individuali ed anche far funzionare in ciascuna di queste virtual machines il proprio S.O.
Esistono molte tecnologie di virtualizzazione diverse tra loro, inclusi sia software free and open source sia proposte proprietarie.

Allo stato attuale, con Fedora sono distribuite le seguenti tecnologie:

  • KVM (Kernel-based Virtual Machine) supporta guest completamente virtualizzati.
    Si tratta di un hypervisor (o virtual machine monitor) incluso nel kernel Linux che necessita di architetture con virtualizzazione integrata nell'hardware, come Intel VT o AMD-V. KVM è correntemente l'interesse principale, su cui si concentrano gli sforzi degli sviluppatori di Fedora, alla virtualizzazione.
  • QEMU Un veloce emulatore di CPU capace di virtualizzare sia architetture native sia non-native; per esempio può far girare un S.O. PowerPC su un'architettura x86_64.
  • Xen Supporta la paravirtulizzazione dei guest.
    Poichè è da Fedora 8 che manca un supporto a NB Xen Dom0, in vista di Fedora 13 si prevede una sua re-introduzione
    (vedere la nota di rilascio Xen Dom0 support).
  • xenner è un'utility che estende la posibilità ai guest Xen paravirtualizzati di funzionare usando KVM.

Un certo numero di terze parti, offrono pacchetti aggiuntivi per altre tecnologie di virtualizzazione. Per esempio, OpenVZ e Linux-VServer, entrambi offrono virtualizzazioni container based in grado di partizionare un singolo S.O. in diverse zone isolate -- simile a un chroot ma con un maggior isolamento delle risorse, e VirtualBox offre una tecnologia che non necessita di hardware dedicato alla virtualizzazione.

Per concludere, anticipando questa diversificazione tecnologica, già dai tempi di Fedora 5, tutte le applicazioni di gestione di base, sono state realizzate sul toolkit libvirt, che offre delle API tecnologicamente indipendenti per creare sistemi virtualizzati, free and open source.

History

Fedora Core 5 was the first release to include Xen as a core integrated technology. The new Linux native virtualiation, KVM, was introduced to Fedora 7. For a more detailed account of virtualization progress in Fedora, consult the Virtualization History page.

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.

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.

Mailing List & IRC

To get in touch with Fedora virtualization users and developers try the virt mailing list or #virt on irc.oftc.net.

Relevant Packages

Here's a catalogue of all the virtualization related packages in Fedora:

Core Virtualization

  • Package-x-generic-16.pngkernel provides e.g. the kvm hypervisor core (kvm.ko), support for running as KVM and Xen guests etc.
  • Package-x-generic-16.pngqemu is a CPU and device emulator; it also acts as the userspace component of KVM
  • Package-x-generic-16.pnglibvirt is a toolkit for interacting with the various virtualization technologies
  • Package-x-generic-16.pngxen provides the xen hypervisor and userspace components
  • Package-x-generic-16.pngxenner allows Xen guests to be run on KVM
  • Package-x-generic-16.pngbochs PC BIOS for QEMU
  • Package-x-generic-16.pnggpxe PXE boot ROMs for QEMU
  • Package-x-generic-16.pngvgabios video BIOS for QEMU
  • Package-x-generic-16.pngopenbios sparc/ppc BIOS for QEMU

Tools

  • Package-x-generic-16.pngvirt-manager is a desktop user interface for managing virtual machines
  • Package-x-generic-16.pngvirt-viewer is used by virt-manager to connect to a virtual machine's graphical console
  • Package-x-generic-16.pngpython-virtinst provides a python API for installing virtual machines, and a bunch of useful utilitis like virt-install and virt-clone
  • Package-x-generic-16.pnggnome-applet-vm is a GNOME applet for monitoring and controlling virtual machines
  • Package-x-generic-16.pngvirt-top is a top-like utilitiy for virtual machines
  • Package-x-generic-16.pnglibguestfs provides an API and tools for accessing and modifying virtual machine disk images
  • guestfish lets you access and modify virtual machine disk images from the command line
  • libguestfs-tools provides useful tools: virt-df, virt-cat, virt-edit, virt-ls, virt-inspector, virt-rescue, virt-win-reg
  • libguestfs-mount (guestmount) lets you mount virtual machine disk images on the host
  • Package-x-generic-16.pngcollectd-libvirt gathers statistics from within virtual machines
  • Package-x-generic-16.pngappliance-tools enables the building of virtual appliance images
  • Package-x-generic-16.pngcobbler is a network boot server that can be used to provision virtual machines
  • Package-x-generic-16.pngperl-Sys-Virt-TCK is a functional test suite for libvirt
  • Package-x-generic-16.pngvirt-v2v is a tool for converting virtual machines to use the KVM hypervisor

Language Bindings

For Package-x-generic-16.pnglibvirt

For Package-x-generic-16.pnglibguestfs

Obsolete

  • Package-x-generic-16.pngkvm used to provide the userspace component of the kvm hypervisor. It has since been replaced by qemu
  • Package-x-generic-16.pngetherboot has been replaced by Package-x-generic-16.pnggpxe
  • Package-x-generic-16.pngvirt-mem is going to be replaced by other virt tools

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.