Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need a VM to debug an embedded program, but I don't seem to get anything working properly.
I have two machines: a laptop - ThinkPad T42 (Pentium M, no HW support for virtualization) and a desktop - HP Pavilion a6622sc (AMD Phenom 8550, AMD-V).
The laptop runs Linux Mint 13 (32-bit) MATE and the desktop runs Ubuntu 14.04 LTS (32-bit).
I've tried both Virtualbox and Qemu on both machines, but no combination seems to work properly.
Laptop/qemu
1) command 'qemu' doesn't exist.
2) on laptop Aqemu only gives IBM PC 64-bit option as computer type.
and keep complaining: "SPICE port number incorrect!" even if SPICE is not enabled. It doesn't start anything (the "play"-button).
3) In qemu-launcher the path to qemu is set to /usr/bin/qemu-system-i386, but it still doesn't launch anything (well, a window opens and closes so fast I can't see what it was).
4) On command line it starts, and even debugging works, but I don't seem to get any window showing the output (printk).
laptop/Virtualbox
Everything starts fine and a window opens and the ouput is displayed there, but no luck with any kind of debugging.
desktop/Virtualbox: same as on laptop.
I'll check the desktop/qemu-stuff in more detail.
Darn those interruptions: I forgot the questions:
- Which one I'd be better off with?
- Any bent-of-iron-wire instructions how to install Qemu right (and what to install) and/or how to install the Virtualbox right (and what to install) for either of the machines?
- Any step-by-step instructions how to debug using Virtualbox?
Last edited by turboscrew; 06-17-2014 at 11:39 AM.
Might make more sense if you made two questions on this maybe.
Qemu to start.
Qemu doesn't need virtual hardware support. It is pretty small and if installed and you have permissions correctly set, it should start or do something by command line. Find the file qemu and see what the permissions are.
Using the software manager or package management is usually the best way to install software. There are some front ends to qemu that sometimes make life easier.
Everything starts fine and a window opens and the ouput is displayed there, but no luck with any kind of debugging.
I tried setting the environment variable VBOX_GUI_DBG_AUTO_SHOW and switch '--dbg', but not a glimpse anywhere about debug entry in any menu. I havent found any info about using a remote debugger (how to connect) either.
I have two machines and two VMs (this far) and I would like to have one combination that works.
Desktop/Qemu-launcer:
- first QDiskFileDialog opens (empty, no menu)
- then QEMUCTL opens (empty), cannot close the window - not from the "x" nor feom the menu ("Quit").
Desktop/Aqemu
It opens a terminal window, boots the guest and the guest output ends up onto the opened terminal.
I don't know how good or bad it is though. I should also mention I am using VirtualBox 4.3.12 from the Oracle repositories with the Extension pack installed but I don't know how much difference any of that makes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.