A virtual machine manager to make life with qemu more comfortable

User Tools

Site Tools


Version: qemu-init-20211011
Released: October 11th 2021
Download: qemu-init-latest
Checksum: checksum

Download the sources and extract it:

tar -xvzf qemu-init-latest.tgz


qemu-init uses the qware build system. This provides a high and easy configurable flexibility of install destinations. By default it puts all files of a package into a single (home) folder, but could be easily configured to be FHS compliant. By default qemu-init doesn't run with root privileges.

Prepare the package

Change into the folder with the extracted sources. Check out the file  conf-build  and change it to your needs. Before qemu-init could be compiled the user (default: qemud) and group (default: kvm) have to exist. Otherwise  configure  will fail. It is recommended to create user/group with the following options:

$> groupadd kvm
$> useradd -g kvm -d /home/qemu -m -s `which bash` qemud
$> usermod -L qemud

Replace “/home/qemu” with the value of  $PKGHOME  in  conf-build  if required.

The user is locked and doesn't require a password - it will never have to login interactively. As usual all files and folders in the home directory have to be owned by qemud.kvm. Ordinary users have to be in the group kvm to execute qemu-init commands. The commands themselves will run as user qemud - usually, with exceptions.

Furthermore set some install options. Some people may not want that this will be done automatically or an option is not required in general. An option is true if it contains any value. See the comments in  conf-build  for details too. To change the default install destination folders edit the file  build.in/conf-folders .


To build qemu-init do:

make install

Create some symlinks:

ln -s /home/qemud/qemu-adm /usr/local/bin
ln -s /home/qemud /etc/init.d/qemud /iusr/local/bin/qemud

That's it!