PDA

View Full Version : Can you run XEN and KVM virtualization simultaneously



John_Gill
14-Apr-2014, 13:28
Hi,

I have been trying to get XEN and KVM running simultaneously on my SLES11sp3 server ... but get various errors. Is this at all possible/probable?

Virtually yours,
John

ab
14-Apr-2014, 13:53
> Hi,
>
> I have been trying to get XEN and KVM running simultaneously on my
> SLES11sp3 server ... but get various errors. Is this at all
> possible/probable?

KVM is in the mainline kernel. Xen is in the Xen kernel (not part of the
mainline Linux stuff) which is why we boot to the Xen kennel to do Xen
virtualization. As a result, I am pretty sure that never the twain shall
meet.

I've heard of people asking about similar things in the past, but usually
with something like the physical box running KVM, and then one of THOSE
VMs being setup as a Xen host for other VMs. VMs of VMs. Bleh...

--
Good luck.

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

John_Gill
14-Apr-2014, 14:24
mmmh, I thought as much. So moving forward which virtualization method should be used. I also saw there is a XEN to KVM "migration" but it is not really supported ...

John

ab
14-Apr-2014, 14:55
I've heard that SLE 12 (currently in beta) will support both just like SLE
11 currently does, so you have quite a few years of either option
regardless of which you decide. I've used both and think they do well
either way. Citrix is still banking on Xen-like technologies, and RedHat
is enjoying the benefits of KVM from the community. Also do not forget
that there are other options like containers (LXC) in current versions of
SLE, so for systems where you need a virtual system instead of a virtual
machine that's a good option, though probably only with the mainline
kernel (I do not know that LXC does not work with Xen, but for the same
reasons as in my previous response I would not bet on it).

Because I like stock kernels, I'd go with KVM if given the choice, since
then in theory I am also able to do LXC which is really interesting to me.
For those using multiple distros KVM may also be a better choice because
of cross-distro common features. For those with an established Xen setup,
I'd probably stick with Xen for everything current, perhaps adding KVM
boxes to see how it compares with real-life, known scenarios/workloads.

Just my two bits...

--
Good luck.

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

John_Gill
14-Apr-2014, 15:24
Shot for the info AB. I think I will stick to XEN (until it changes) as I am running 15 VMs with no issues ... Thanks again.