This section describes how to install QEMU on
your host environment in order to launch Maemo SDK virtual images. The
instructions were properly tested on Linux, Windows and Mac platforms.
In addition, if you want to speed up the execution of your Maemo SDK
virtual machine on QEMU, you need to install
KQEMU, a driver allowing the QEMU PC emulator to run much faster
when emulating a PC on an x86 host. This document also shows
instructions to install KQEMU on your host PC.
For more information see the
documentation,
and any problems or ideas, subscribe to our mailinglist:
maemovmware-users.
Installing
QEMU on Linux
On Linux, there are different possibilities to install QEMU. You can use
any package management utility (such as
apt-get tools) or even build QEMU from source code. These instructions
show how to install QEMU on Linux with
apt-get
utility tools. If you want to build QEMU from source code, see
instructions
here.
Installation
Installation
- QEMU
1. Open a terminal and execute the following commands:
$
sudo apt-get update
$
sudo apt-get install qemu
2. QEMU is ready to be used from command line
NOTE:
QEMU does not provide a graphical interface to launch virtual machines.
If you want to launch virtual machines with QEMU from a graphical
interface launcher, you have to install the package
qemu-launcher, for example.
Installation
- KQEMU
1. Open a terminal and execute the following command
$
sudo apt-get update
$
sudo apt-get kqemu-common kqemu-source module-assistance
The
module-assistant
package helps you to build KQEMU.
2. Prepare module-assistant by executing the following command
$
sudo m-a prepare
3. Now, we are ready to build and install KQEMU. Execute the folllowing
command to build KQEMU
$
sudo m-a build kqemu
4. Now, you can install KQEMU on your host PC
$
sudo m-a install kqemu
Usage
1. In order to run any Maemo SDK virtual image, open a terminal
and execute the following commands:
$
qemu -hda <location of .vmdk file> -L /usr/share/qemu -m 512
If you want to use KQEMU, you need to insert
-kernel-kqemu parameter
$ qemu -hda <location of .vmdk file> -L
/usr/share/qemu -m 512 \
-kernel-kqemu
NOTE:
for Maemo SDK Ubuntu Desktop Intrepid image, it is necessary to use
KQEMU. Otherwise, the execution of your virtual machine will be very
slow.

Installing QEMU on Windows
Donwload
On your browser, access
QEMU
website, go to Donwloads (on left menu) and click on
QEMU on Windows. Your section is redirected to another
website which contains QEMU installers for Windows.

Select both QEMU and KQEMU installers for Windows and download them on
your machine.


Installation
Installation
- QEMU
1. Double-click on QEMU installer for Windows and click on
Run.

2. Follow the instructions of QEMU installer.


3. QEMU is ready to be used from command-line
NOTE
#1: QEMU does not provide a graphical interface to launch virtual
machines. If you want to launch virtual machines with QEMU from a
graphical interface launcher, you have to install non-official softwares
(
Qemu
Launcher,
Qemu
manager).
NOTE
#2: QEMU installer for Windows does not add QEMU home path on PATH
environment variable.
Installation
- KQEMU
1. Double-click on KQEMU installer for Windows and click on
Run

2. Follow the instructions of KQEMU installer.


Usage
1. In order to run any Maemo SDK virtual image, open a prompt and
execute the following commands
c:>
qemu.exe -hda %QEMU_HOME%/<.vmdk file> -L %QEMU_HOME% -m 512
If you want to use KQEMU, you need to insert -kernel-kqemu parameter
c:>
qemu.exe -hda %QEMU_HOME%/<.vmdk file> -L %QEMU_HOME% -m 512 -kernel-kqemu
NOTE:
for Maemo SDK Ubuntu Desktop Intrepid image, it is necessary to use
KQEMU. Otherwise, the execution of your virtual machine will be very
slow.

Installing
QEMU on Mac
Donwload
On your browser, access
QEMU
website, go to Donwloads (on left menu) and click on
Q is a Mac OS X port. Your section is redirected to another website which contains QEMU
installers for Mac.
NOTE:
There is not port of KQEMU for Mac.
Download latest build of QEMU for Mac (on top-right corner)


Installation
Installation
- QEMU
1. Double-click on QEMU installer for Mac.
2. Follow the instructions of QEMU installer.
3. QEMU for Mac provides a graphical interface launcher for
virtual machines.

Usage
1. Create a new virtual machine configuration on QEMU launcher
for Mac
2. Then, you can now run your
virtual image using QEMU on Mac.
