27

Say I had a Core i7 Laptop with 16GB of RAM and a 750gb drive.

Is there a mechanism where I can partition the HD into a Linux, Windows, OS X, Shared Data, Hypervisor setup where I boot a small hypervisor. I can start/stop a linux, Windows and OS X virtual machine and interact with them all from the hypervisor?

Code, Test, etc?

is this a type 1 Hypervisor?

I suppose I could run a small linux install and VmWare but could VmWare read the virtual machines from a physical hard disk partition versus a file based setup (.vmdk files)?

2

3 Answers 3

15

Yes, this is a Type 1 hypervisor. Common Type 1 hypervisors include Xen and VMware vSphere Hypervisor (formerly VMware ESXi Single Server). There should be no problem using the partitions as virtual disks for the VMs, but disk image files on a single partition offer greater flexibility, such as the ability to increase the size of the image and apply data compression to the image (on the host file system) to reduce the disk space required. VirtualBox can access partitions directly; I'm not sure about VMware, but it should be able to do the same.

As long as you have the necessary hardware support (and you do), there should not be a problem with setting up a bare-metal hypervisor on your computer. In fact, my old laptop (8 GB memory, quad-core AMD Phenom II (K10 mobile) processor) now runs Microsoft Hyper-V Server 2012 R2, and the VMs get near-native performance.

2
  • 1
    It's been a while since I looked into bare-metal hypervisors, but am I right to assume that direct access of GPU, sound, etc by a client OS is still impossible \ extremely limited?
    – ruslaniv
    Oct 12, 2014 at 18:31
  • 3
    Yes, a lot of this functionality is still going to be limited. Some hypervisors don't support sound at all—Hyper-V certainly doesn't. Other features like direct GPU access are often either unavailable or require special setup in both the host and guest. Bare-metal hypervisors are meant for servers, so this is extra functionality that isn't always provided.
    – bwDraco
    Oct 12, 2014 at 18:41
10

If you're setting up separate partitions for individual operating systems another option is to set up multiboot with GRUB. This has the advantage of allowing the guest OS to interface with the hardware directly for increased performance and compatibility, and frees you from the idiosyncrasies and individual limitations of the host type 1 Hypervisor.

For example, VMware ESXi does not support windows 8 prior to ESXi 5.0 Patch 4, and would require the installation of a type 2 Hypervisor such as Qemu within a guest OS for ARM-based processor emulation (eg. for Raspberry Pi development). Xen on the other hand can be quite difficult to configure and driver support can be dependant on distribution compatibility.

Furthermore, your type 1 hypervisor may or may not be compatible with laptop power management technologies and drastically affect battery life.

Another option you may consider is to set up a stripped down version of Linux with KVM installed and Intel VT-x (for your Core i7) hardware assisted virtualisation support as a Host OS. Whilst this is not technically a type 1 hypervisor implementation it may offer you the functionality you seek. I would definitely recommend storing your disk images as files, and not partitions if you go down this route - much easier to back up, manage and upgrade/decommission.

This discussion has quite a bit more useful information should you wish to research the topic further.

You may also consider running your prospective type 1 within a type 2 hypervisor such as VMware Workstation, VirtualBox or Qemu to 'try before you buy' and check out interface etc. although it will be difficult to determine performance and compatiblity.

1

Citrix has recently released type 1 bare-metal hypervizor for desktops - XenClient.

It's free for up to ten users.

Some introductory articles:

http://my-techno-arena.blogspot.com/2014/08/type1-bare-metal-hypervisor-for.html

http://blogs.citrix.com/2010/11/18/xenclient-how-to-p2v-your-existing-os/

Update

XenClient was discontinued and there is no free replacement from Citrix.

1
  • I'm not affiliated and I have added the answer just for the completeness. It would be fare to explain the reason for downvotes.
    – Vadzim
    Mar 31, 2018 at 5:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .