KVM Virtualization Setup

By: bfrancom

November 4, 2010 3:32 pm






This will show you how to install, enable and configure KVM for your virtualizationenvironment. KVM is now supported by Novell with the release of SLES 11sp1.


Ensure you have a processor capable of virtualization; that is, VT on Intel or SVM on AMD. Also ensure that the respective capabilities are enabled in the BIOS, and that the ISO of the guest OS is available to the host for the installation. (VT was not enabled by default on our HP DL320 G5p’s, but it was on the G6’s.)

Install the following tools and their dependencies:

  1. kvm
  2. virt-manager
  3. virt-utils
  4. virt-viewer

Start the Libvirt URI:

rclibvirtd start

Create a new machine by running virt-manager.

  1. Double click on “localhost (QEMU) – Not Connected” to connect.
  2. Click “New” and follow the wizard for your OS of choice
  3. On the last screen of the wizard you can click “Hardware” and change the amount of RAM and processor(s) used.

There are many parameters outside the scope of this howto including file-backed vs. disk-backed virtual machines, and physical vs. virtual network interfaces, management utilities, cli access, etc.

You can then run your machine after the installation. Here are some relevant links:

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: SUSE Linux Enterprise Server, Technical Solutions, Virtualization

Disclaimer: As with everything else in the SUSE Blog, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.