--- layout: doc title: StandaloneVMs and HVMs permalink: /doc/standalone-and-hvm/ redirect_from: - /doc/hvm/ - /doc/hvm-create/ - /en/doc/hvm-create/ - /doc/HvmCreate/ - /wiki/HvmCreate/ --- # StandaloneVMs and HVMs A [StandaloneVM](/doc/glossary/#standalonevm) is a type of VM in Qubes that is created by cloning a [TemplateVM](/doc/templates/). Unlike TemplateVMs, however, StandaloneVMs do not supply their root filesystems to other VMs. Examples of situations in which StandaloneVMs can be useful include: * VMs used for development (dev environments often require a lot of specific packages and tools) * VMs used for installing untrusted packages. Normally, you install digitally signed software from Red Hat/Fedora repositories, and it's reasonable that such software has non malicious *installation* scripts (rpm pre/post scripts). However, when you would like to install some packages from less trusted sources, or unsigned, then using a dedicated (untrusted) standalone VM might be a better way. Meanwhile, a [Hardware-assisted Virtual Machine (HVM)](/doc/glossary/#hvm), also known as a "Fully-Virtualized Virtual Machine," utilizes the virtualization extensions of the host CPU. These are typically contrasted with [Paravirtualized (PV)](/doc/glossary/#pv) VMs. HVMs allow you to create qubes based on any OS for which you have an installation ISO, so you can easily have qubes running Windows, *BSD, or any Linux distribution. You can also use HVMs to run "live" distros. By default, every Qubes VM runs in [PVH](/doc/glossary/#pvhvm) mode (which has security advantages over both PV and HVM) except for those with attached PCI devices, which run in HVM mode. See [here](https://blog.invisiblethings.org/2017/07/31/qubes-40-rc1.html) for a discussion of the switch from PV to HVM and [here](/news/2018/01/11/qsb-37/) for the announcement about the change to using PVH as default. The StandaloneVM/TemplateVM distinction and the HVM/PV/PVH distinctions are orthogonal. The former is about root filesystem inheritance, whereas the latter is about the virtualization mode. In practice, however, it is most common for StandaloneVMs to be HVMs and for HVMs to be StandaloneVMs. In fact, this is so common that [StandaloneHVMs](/doc/glossary/#standalonehvm) are typically just called "HVMs." Hence, this page covers both topics. ## Creating a StandaloneVM You can create a StandaloneVM in the Qube Manager by selecting the "Type" of "Standalone qube copied from a template" or "Empty standalone qube (install your own OS)." Alternatively, from the dom0 command line: ``` qvm-create --class StandaloneVM --label