Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm searching for a virtualization solutions for an OpenBSD host and a CentOS guest. What are my options? I'm searching for one that doesn't use packages from ports. Are there any?

share|improve this question
    
Not OpenBSD relative but you can give a try to Xen support in NetBSD. The only BSD with complete and stable virtualization support is NetBSD. –  Juan Francisco Cantero Hurtado Sep 19 '11 at 8:06
add comment

2 Answers

up vote 6 down vote accepted

First: packages and ports are entirely two separate things. There is no such thing as "packages from ports".

From the FAQ:

Packages are the pre-compiled binaries of some of the most used third party software. Packages can be managed easily with the help of several utilities, also referred to as the pkg* tools.

and from the section on Ports:

As mentioned in the introduction, packages are compiled from the ports tree. In this section we will explain how the ports tree works, when you should use it and how you can use it.

IMPORTANT NOTE: The ports tree is meant for advanced users. Everyone is encouraged to use the pre-compiled binary packages.

Second: Everything from packages and (especially) ports is considered 3rd party. The OpenBSD developers do not "support" packages or ports - the community does. As far as the OpenBSD project is concerned you are on your own with packages and ports... they're not really part of the OpenBSD project. This means that if they don't go through the normal auditing process or receive security updates through the OpenBSD projects - again they are community supported.

Third: There is no host-based virtualization platform included in OpenBSD that I am aware of (well there's the Linux binary compatibility layer - but that's a fancy kernel land API trick), nor do I ever expect this functionality to be added to OpenBSD. The OpenBSD project has infamously been pretty loathe to adopt virtualization:

Theo de Raadt on Virtualization:

"x86 virtualization is about basically placing another nearly full kernel, full of new bugs, on top of a nasty x86 architecture which barely has correct page protection. Then running your operating system on the other side of this brand new pile of shit. You are absolutely deluded, if not stupid, if you think that a worldwide collection of software engineers who can't write operating systems or applications without security holes, can then turn around and suddenly write virtualization layers without security holes."

I'm searching for one that doesn't use packages from ports. Are there any?

No. And there probably never will be. OpenBSD is a fantastic operating system, but it is not a good choice as virtualization host.

If you still want/need to use OpenBSD as a virtualization host, I think QEMU is your only option. It is available as both a package and from the ports tree.

share|improve this answer
add comment

You can just use qemu in OpenBSD, which is VERY slow.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.