VirtualBox logo since 2010 | |
VirtualBox 7.0 with dark mode applied running on Windows 11, with a Ubuntu 22.10 virtual machine running in the background | |
Original author(s) | InnoTek Systemberatung GmbH |
---|---|
Developer(s) | Oracle Corporation |
Initial release | 17 January 2007 |
Stable release | 7.0.6[1] ![]() |
Repository | |
Written in | C, C++, x86 Assembly, Python |
Operating system | Windows, macOS (only Intel-based Macs), Linux and Solaris[2] |
Platform | x86-64 only (version series 5.x and earlier work on IA-32)[3] |
Type | Hypervisor |
License | GNU GPLv3 only with linking exception to GNU GPLv2 incompatible licenses[4] |
Website | www |
Oracle VM VirtualBox (formerly Sun VirtualBox, Sun xVM VirtualBox and InnoTek VirtualBox) is a type-2 hypervisor for x86 virtualization developed by Oracle Corporation. VirtualBox was originally created by InnoTek Systemberatung GmbH, which was acquired by Sun Microsystems in 2008, which was in turn acquired by Oracle in 2010.
VirtualBox may be installed on Microsoft Windows, macOS, Linux, Solaris and OpenSolaris. There are also ports to FreeBSD[5] and Genode.[6] It supports the creation and management of guest virtual machines running Windows, Linux, BSD, OS/2, Solaris, Haiku, and OSx86,[7] as well as limited virtualization of macOS guests on Apple hardware.[8][9] For some guest operating systems, a "Guest Additions" package of device drivers and system applications is available,[10][11] which typically improves performance, especially that of graphics, and allows changing the resolution of the guest OS automatically when the window of the virtual machine on the host OS is resized.
Released under the terms of the GNU General Public License and, optionally, the CDDL for most files of the source distribution, VirtualBox is free and open-source software, though the Extension Pack is proprietary software. The License to VirtualBox was relicensed to GPLv3 with linking exceptions to the CDDL and other GPL-incompatible licenses.[12]
VirtualBox was first offered by InnoTek Systemberatung GmbH, a Germany company based in Weinstadt, under a proprietary software license, making one version of the product available at no cost for personal or evaluation use, subject to the VirtualBox Personal Use and Evaluation License (PUEL).[13] In January 2007, based on counsel by LiSoG, InnoTek released VirtualBox Open Source Edition (OSE) as free and open-source software, subject to the requirements of the GNU General Public License (GPL), version 2.[14]
InnoTek also contributed to the development of OS/2 and Linux support in virtualization[15] and OS/2 ports[16] of products from Connectix which were later acquired by Microsoft. Specifically, InnoTek developed the "additions" code in both Windows Virtual PC and Microsoft Virtual Server, which enables various host–guest OS interactions like shared clipboards or dynamic viewport resizing.
Sun Microsystems acquired InnoTek in February 2008.[17][18][19]
Following the acquisition of Sun Microsystems by Oracle Corporation in January 2010, the product was re-branded as "Oracle VM VirtualBox".[20][21][22]
In December 2019, VirtualBox started supporting only hardware-assisted virtualization, dropping support for Software-based one.[23][2]
The core package is, since version 4 in December 2010, free software under GNU General Public License version 2 (GPLv2). The separate "VirtualBox Oracle VM VirtualBox extension pack" providing support for USB 2.0 and 3.0 devices, Remote Desktop Protocol (RDP), disk encryption, NVMe and Preboot Execution Environment (PXE) boot is under a proprietary license, called Personal Use and Evaluation License (PUEL), which permits use of the software for personal use, educational use, or evaluation, free of charge.[30] Since VirtualBox version 5.1.30[31] Oracle defines personal use as the installation of the software on a single host computer for non-commercial purposes.[32] Unlike some software using a proprietary license, the "VirtualBox Oracle VM VirtualBox extension pack" is not source-available since it includes closed-source components, which does not make the source code publicly available.[33]
Prior to version 4, there were two different packages of the VirtualBox software. The full package was offered gratis under the PUEL, with licenses for other commercial deployment purchasable from Oracle. A second package called the VirtualBox Open Source Edition (OSE) was released under GPLv2. This removed the same proprietary components not available under GPLv2.[32][33]
Building the BIOS for VirtualBox since version 4.2[citation needed] requires the use of the Open Watcom compiler,[34] for which the Sybase Open Watcom Public License is approved as "Open Source" by the Open Source Initiative[35] but not as "free" by the Free Software Foundation or under the Debian Free Software Guidelines.[34][36]
Although VirtualBox has experimental support for macOS guests, the end user license agreement of macOS does not permit the operating system to run on non-Apple hardware, and this is enforced within the operating system by calls to the Apple System Management Controller (SMC) in all Apple machines, which verifies the authenticity of the hardware.[37]
Users of VirtualBox can load multiple guest OSes under a single host operating-system (host OS). Each guest can be started, paused and stopped independently within its own virtual machine (VM). The user can independently configure each VM and run it under a choice of software-based virtualization or hardware assisted virtualization if the underlying host hardware supports this. The host OS and guest OSs and applications can communicate with each other through a number of mechanisms including a common clipboard and a virtualized network facility. Guest VMs can also directly communicate with each other if configured to do so.[38]
VirtualBox supports both Intel's VT-x and AMD's AMD-V hardware-assisted virtualization. Making use of these facilities, VirtualBox can run each guest VM in its own separate address-space; the guest OS ring 0 code runs on the host at ring 0 in VMX non-root mode rather than in ring 1.[citation needed]
Starting with version 6.1, VirtualBox only supports this method.[23][2] Until then, VirtualBox specifically supported some guests (including 64-bit guests, SMP guests and certain proprietary OSs) only on hosts with hardware-assisted virtualization.[citation needed]
VirtualBox emulates hard disks in three formats: the native VDI (Virtual Disk Image),[39] the VMDK of VMware and the VHD of Microsoft Windows. It thus supports disks created by other hypervisor software. VirtualBox can also connect to iSCSI targets and to raw partitions on the host, using either as virtual hard disks. VirtualBox emulates IDE (PIIX4 and ICH6 controllers), SCSI, SATA (ICH8M controller) and SAS controllers to which hard drives can be attached.
VirtualBox has supported Open Virtualization Format (OVF) since version 2.2.0 (April 2009).[40]
Both ISO images and physical devices connected to the host can be mounted as CD or DVD drives. VirtualBox supports running operating systems from live CDs and DVDs.
By default, VirtualBox provides graphics support through a custom virtual graphics-card that is VBE or UEFI GOP compatible. The Guest Additions for Windows, Linux, Solaris, OpenSolaris, or OS/2 guests include a special video-driver that increases video performance and includes additional features, such as automatically adjusting the guest resolution when resizing the VM window[41] or desktop composition via virtualized WDDM drivers .
For an Ethernet network adapter, VirtualBox virtualizes these Network Interface Cards:[42]
The emulated network cards allow most guest OSs to run without the need to find and install drivers for networking hardware as they are shipped as part of the guest OS. A special paravirtualized network adapter is also available, which improves network performance by eliminating the need to match a specific hardware interface, but requires special driver support in the guest. (Many distributions of Linux ship with this driver included.) By default, VirtualBox uses NAT through which Internet software for end-users such as Firefox or ssh can operate. Bridged networking via a host network adapter or virtual networks between guests can also be configured. Up to 36 network adapters can be attached simultaneously, but only four are configurable through the graphical interface.
For a sound card, VirtualBox virtualizes Intel HD Audio, Intel ICH AC'97 and SoundBlaster 16 devices.[43]
A USB 1.1 controller is emulated so that any USB devices attached to the host can be seen in the guest. The proprietary extension pack adds a USB 2.0 or USB 3.0 controllers and, if VirtualBox acts as an RDP server, it can also use USB devices on the remote RDP client as if they were connected to the host, although only if the client supports this VirtualBox-specific extension (Oracle provides clients for Solaris, Linux and Sun Ray thin clients that can do this, and have promised support for other platforms in future versions).[44]
In the absence of hardware-assisted virtualization, versions 6.0 and earlier of VirtualBox could adopt a standard software-based virtualization approach. This mode supports 32-bit guest OSs which run in rings 0 and 3 of the Intel ring architecture.
In both cases, VirtualBox uses CSAM and PATM to inspect and patch the offending instructions whenever a fault occurs. VirtualBox also contains a dynamic recompiler, based on QEMU to recompile any real mode or protected mode code entirely (e.g. BIOS code, a DOS guest, or any operating system startup).[45]
Using these techniques, VirtualBox can achieve a performance comparable to that of VMware.[46][47]
The feature was dropped starting with VirtualBox 6.1.[23][2]
Storage support includes:
The supported operating systems include:[77]
Some features require the installation of the closed-source "VirtualBox Extension Pack":[2]
While VirtualBox itself is free to use and is distributed under an open source license the VirtualBox Extension Pack is licensed under the VirtualBox Personal Use and Evaluation License (PUEL). Personal use is free but commercial users need to purchase a license. Oracle routinely checks log files for downloads of the VirtualBox Extension Pack from nonresidential IP addresses and contacts unlicensed users to enforce compliance.[81][failed verification]
While Guest Additions are installed within each suitable guest virtual machine, the Extension Pack is installed on the host running VirtualBox.
A commercial port of VirtualBox OSE with built-in support for Direct X 12.1 / Vulkan 3D API inside virtual machines has been released by the main contributor of the FreeRDP project, called Thincast Workstation.[citation needed]