Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to test Xen a little. For obvious reasons I cannot do it under VirtualBox (or can I?)

As I understand, Xen works by changing the kernel, thus possibly interfering with the custom kernel modules I have, namely with bcache.

I'd appreciate an information, whether after doing

sudo apt-get install xen-system-amd64 qemu-common qemu-keymaps bridge-utils

and then rebooting, will the system load the bcache module, as it does without xen?

I have no possibility to back up my 12+ TB RAID array, so I can't test it myself.

share|improve this question
up vote 1 down vote accepted

Xen does not change the kernel; it is a hypervisor that sits below the kernel. Grub loads xen, and your normal kernel and xen creates a virtual machine to run that kernel in. This initial virtual machine has acess to all of the real hardware and ram ( that xen itself isn't using ) on the system, so the kernel operates just as it normally does. It just has the option to give up some ram and have xen create a new virtual machine and load a new kernel there, while normally only providing the new virtual machine with emulated hardware that is is passed back to the initial vm to handle.

share|improve this answer

Your Answer


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.