Running QEMU on a Linode
My Linode has 360 MB + swap, and I have assigned 248 MB to the QEMU virtual machine. The Linode itself isn't running anything except for default Debian services, the Zabbix agent and qemu.
I need to run a virtualized environment for testing purposes, but I'm worried about the frequent hangs. Is there a workaround for this or something I should check? If this is a known problem with QEMU running on top of a Linode, are there any virtualization alternatives that you could suggest?
Thanks in advance,
Alex
16 Replies
I find that it's generally not a good idea to double-virtualize (run an OS inside a virtual machine running on an OS inside a virtual machine running on an OS). Should it work? I've no idea, although I suspect not, since Linode isn't running Xen with VT (IE, you can't run Windows on your node).
@alemartini:
I need to run a virtualized environment for testing purposes
Your Linode IS a virtualized environment.> are there any virtualization alternatives that you could suggest?
If you need something for testing without disturbing your "production" Linode, then I recommend another Linode. I keep a spare linode for nothing more than testing updates, but if you only need to test things once in a while it is fairly cheap and easy to just create a new linode for a day or two.
As other posters have suggested, what is your need for an airtight virtualized environment?
Let me try the same question from a different angle.
Suppose that you needed to perform some testing that involved running an OS that is not GNU/Linux (let's say FreeBSD to give an example).
Is that possible on a Linode? In case it is, what virtualization product would you use to achieve that goal?
Just to clarify a few points:
* I am aware that a Linode is a virtual environment.
I am aware that running a virtual machine on top a virtual machine has many drawbacks (a significant performance penalty being one of them)
I'm not interested in performance (I'd just like to be able to run a different OS from time to time)
Thanks again,
Alex
Is there any guide to get VirtualBox working on a Linode?
@alemartini:
I've tried VirtualBox but so far I've been unable to compile the kernel module (vboxdrv).
Is there any guide to get VirtualBox working on a Linode?
@alemartini:
Suppose that you needed to perform some testing that involved running an OS that is not GNU/Linux (let's say FreeBSD to give an example).
@alemartini:
Is there any guide to get VirtualBox working on a Linode?
VirtualBox runs the guest OS ring0 in the (normally unused) ring1 of the host OS (while user code runs in ring3). The Xen Dom0 installs the hypervisor to take charge of ring0. Unless Xen were patched to support access to ring1, VirtualBox under Xen won't work. An old VirtualBox ticket (203) is related to this and is "closed: wontfix".
@jed:
Xen, by its nature, claims exclusive use of the VT-X technology on-chip. It's therefore not available to Linodes. Your performance will suffer drastically if you try this for any length of time.
That was qemu on Xen–I wonder if xen on xen would have better performance?
-r
@rogerdpack:
@jed:Xen, by its nature, claims exclusive use of the VT-X technology on-chip. It's therefore not available to Linodes. Your performance will suffer drastically if you try this for any length of time.
That was qemu on Xen–I wonder if xen on xen would have better performance?
-r
The Xen host does not expose VT-X to guests, so I would imagine it'd roughly be the same.
EDIT: My first answer was not technically correct.
So, any ideas as to how i could run Windows inside a linode?