SLED 12 as virtual host

Hi there,

Just a quick question about running virtual machines on SLED. Is it supported? Documentation apparently only talks about SLES.

Yast fails if I try to run “Install Hypervisor and tools” with error “Package pattern-sled-virtualization_client install failed”.

-pekk-

On 16/10/2015 10:44, pekk wrote:
[color=blue]

Just a quick question about running virtual machines on SLED. Is it
supported? Documentation apparently only talks about SLES.

Yast fails if I try to run “Install Hypervisor and tools” with error
“Package pattern-sled-virtualization_client install failed”.[/color]

If SLED offers the relevant package(s) then it should be supported by
SUSE but if your adding packages from SLES or somewhere else then it
wouldn’t be supported. I believe “Install Hypervisor and Tools” trys to
install Xen for which the packages are not available with SLED.

SLED, as the name SUSE Linux Enterprise Desktop suggests, is aimed at
single end-user using it as a desktop environment and not for hosting
virtual machines which is where SLES (SUSE Linux Enterprise Server)
comes in. However there is a grey area between the two but if you want
to do stuff that SLED doesn’t allow then perhaps openSUSE is a better fit?

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Hi
Does the system support virtualization and is it enabled in the system
BIOS?

Aside from the above all the tools are there to run libvirt/kvm, try
from the command line;

zypper in -t pattern virtualization_client

Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 4 NEW packages are going to be installed:
libspice-controller0 patterns-sled-virtualization_client
patterns-sled-virtualization_client-32bit virt-viewer

The following 2 NEW patterns are going to be installed:
sled-virtualization_client-32bit virtualization_client

The following 4 packages are not supported by their vendor:
libspice-controller0 patterns-sled-virtualization_client
patterns-sled-virtualization_client-32bit virt-viewer


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi,

Thank you for your answers.

I did install virtualization_client -pattern manually with zypper. Then after some poking around I tried to load kvm -modules manually just to get “No hardware support” error in dmesg. Ok, at least that was a problem :slight_smile: I’ll try with xen -kernel next but I think it might be just a bit too heavy for my needs. What I need is on the lines with gnome-boxes as it works in Tumbleweed.

I just need to have a virtual WIndows for the workplace. Maybe I’ll wait for Leap to be released and switch to that but I wouldn’t want to do that since we already pay for SLED :slight_smile:

I’ll let you know how it goes with xen.

-pekk.

Hi
So does your cpu support virtualization?

lscpu | grep Virt

You would need to build gnome-boxes, but should work…

I use virt-manager and qemu-kvm without issues.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Ok, now I got it.

It was a combination of things… VT disabled in BIOS and thinking that virtualization_client -pattern was somehow required.

After enabling VT in BIOS and just installing libvirt-daemon-qemu, qemu-kvm and virt-manager everything started working :slight_smile:

Thanks again for Your help.