Questions tagged [virtualization]

Virtualization is a group of software technologies that allow abstraction between layers of a system. This allows separation between the logical layers of the system, providing isolation, flexibility, and/or the ability to run more than one at a time. This differs from most traditional systems where the various layers are inherently tied.

Virtualization commonly refers to three distinct technologies: Hardware Virtualization, Software Virtualization, and User Experience Virtualization. (Most commonly the first, Hardware Virtualization)

Hardware (sometimes called Operating System virtualization) is the use of software to allow a piece of hardware to run multiple operating system images at the same time. Traditional servers have a 1:1 ratio (One operating system running on one piece of hardware) and virtualization allows 1:many, making efficient use of available hardware. With the use of the hypervisor many operating systems can be run on top of one piece of physical hardware.

There are three main types of hardware virtualization, hypervisor, paravirtualization, and emulation. The bare metal hypervisor, or type 1, itself runs directly on the computer hardware. Hypervisors are generally thought to be enterprise level solutions to virualization as they make the most efficient use of available hardware resources.

Paravirtualization, or type 2, installs on top of a pre-existing operating system. Type 2 solutions are not as efficient because resources are also going to the host operating system, therefore type 2s are possibly better for hobbyist or development. Paravirtualization also requires the guest operating systems to be aware of the virtualization system and be designed to work with it.

Emulation also runs atop an existing system like paravirtualization; unlike its more efficient siblings, every instruction issued by the guest operating system must be interpreted by the emulation system. Emulation is notably less efficient than the other two, however it can enable a guest operating system to run on a host processor that it completely different than it was intended for.

Application Virutalization allows applications, which normally require installation, to run on system where they not actually installed. The virtualization layer simulates the installed prerequisite components, allowing the application to run normally.

There are two main types of User Experience Virtualization: Presentation and Data Location. Presentation Virtualization is commonly implemented by running a program on one system and producing the GUI at another. This may be as simple as a VNC or Remote Desktop Connnection, or a more complicated Virtual Desktop Infrastructure. Data Location Virtualization allows users a consistent view of the logical location of data across multiple distinct systems. The primary advantage of these systems is allowing users to access data in a consistent manor regardless of the physical location of the user or data.

3610 questions
8
votes
6 answers

How to detect hypervisor host name/IP from inside a KVM virtual machine?

We have a small fleet of KVM/libvirt hosts with a few hundred virtual machines on it, managed by a group of sysadmins in disparate locations. I've run into a problem where I am connected to a virtual machine by SSH, but I can't figure out the name…
Patrick
  • 435
  • 1
  • 4
  • 9
8
votes
4 answers

Virtual memory in virtualized machines (Swap File in VM?)

What are the opinions on allowing virtual memory inside a virtual machine? For example, a host machine w/8 Gig of memory, I could run 4 VMs each w/2 Gig (roughly) and there would be no host swapping. However, in each VM I could have a 2Gig page…
WaldenL
  • 1,258
  • 1
  • 14
  • 26
8
votes
3 answers

Technology for short-lived private VMs

I'm trying to build a system that will run short-lived (CI and test builds) of software components, it's mandatory according to my requirements that each live on a private host. I'm taking that definition to include paravirtualsation options as…
Lee Hambley
  • 360
  • 3
  • 12
8
votes
4 answers

VSFTPD does not allow upload with virtual users

I am attempting to setup VSFTPD with virtual users on a server running Ubuntu 12.04. I have configured the server to allow for virtual users to login, but I am having trouble getting it to allow uploads. My vsftpd.conf is as…
Mr. Squig
  • 181
  • 1
  • 2
8
votes
1 answer

virtual disk image - file or partition

I'm looking at the differences between using a file versus a partition to store a virtual disk image in VM use. The common knowledge is that partition-based images are faster than file-based images because of a decreased overhead. It makes sense,…
8
votes
2 answers

Clone kvm/qemu VM to a different server

What's the easiest/quickest way to clone a VM from one server onto another if you don't have shared storage between the two servers (so you can't do a standard migration)? I have a production ready VM installed on one server, and I want to clone it…
Andrew Case
  • 3,489
  • 3
  • 23
  • 39
8
votes
3 answers

Why use a type 2 hypervisor?

I have a question about type 1 and type 2 hypervisors. Type 1 runs on the bare metal, and then the end operating systems are installed on top. This seems to me like the most logical way to build a virtualized environment. But there's type 2 where a…
sameold
  • 993
  • 3
  • 11
  • 20
8
votes
6 answers

automatically shutting down an ESXi host nightly

We just picked up a new development server that I've loaded ESXi on. The room it's in is well ventilated during the day but at night the door is closed and it gets quite toasty in there. I've been asked to have the box shut down nightly, as we won't…
8
votes
2 answers

qemu-kvm/virsh: No network connectivity whilst using bridged networking

I'm having an issue with performing virtualisation via libvirt/qemu-kvm, in which my set up for bridged networking doesn't appear to be working correctly. I've followed every tutorial I can find and spent hours and hours going through forums, but…
a.pollock
  • 121
  • 1
  • 7
8
votes
3 answers

Can Hyper-V run in a virtual machine?

Ok, we all know (or should know) that Microsoft's answer is a plain "NO!". But we also know that recent hypervisors can support nested/recursive virtualization, provided the underlying CPU offers hardware virtualization; VMware's recent products…
Massimo
  • 70,200
  • 57
  • 200
  • 323
8
votes
2 answers

KVM to Xen migration

I've recently been appointed to create some VMs for production use, and went gung ho into making a KVM based VM instead of finding out what our production server uses. I've only recently found out though that our own servers use Xensource OS, and…
qweet
  • 731
  • 5
  • 11
8
votes
3 answers

Possbile to port a KVM VM to Amazon EC2?

We currently have our own servers that have multiple KVM guests. If we ever decide to move to the Amazon EC2, would it possible to simply copy the VM image over or would I need to begin reconfiguring a new VM again on the cloud? (It might sound…
8
votes
5 answers

What is the best distro to host a KVM virtualization solution

I am looking for a Server oriented distro that we can expect have decent support but also offer as much as possible some of the latest features that KVM might offer. I am leaning towards Ubuntu LTS 10.04, because well it's LTS and more bleeding…
elventear
  • 223
  • 1
  • 2
  • 6
8
votes
4 answers

Virtualization: 64-bit or 32-bit?

I'm going to install Ubuntu 10.04 Server in a virtual machine and want run MySQL and Lighttpd on it. Are there any benefits or disadvantages between 64-bit and 32-bit virtualization, except the 4 gigabyte memory limit on 32-bit machines. I use…
8
votes
2 answers

Does enabling hardware x86 virtualization (AMD-V or Intel VT-x) slow down my computer if I'm not running virtual machines?

Does enabling hardware x86 virtualization (AMD-V or Intel VT-x) slow down my computer? Obviously, it improves the performance if I'm running virtual machines, but what if I'm not running any VMs?
Rüdiger
  • 81
  • 1
  • 2