Some tools to make life with qemu more comfortable

User Tools

Site Tools


Version: qemu-init-20200128
Released: January 28th 2020
Download: qemu-init-latest
Checksum: checksum

Download the sources and extract it:

tar -xvzf qemu-init-latest.tgz

Prepare the package

Change into the folder  qemu-init . Check out the file  conf-build  and change it to your needs. Before qemu-init could be compiled the user and group 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 /bin/bash qemud
$> usermod -L qemud

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.


This defines if the required sudoers file will be installed or not. If this file will not be installed automatically,  qemu-init-sudo-grp  HAVE TO be installed by hand. Otherwise qemu-init will not work properly.


This option adds the bundled public ssh key to  authorized_keys . The file stays untouched if it contains the corresponding key line already. It is required for remote features only, e.g. the VNC Windows client.


To build qemu-init do:

make install

That's it!

Last modified: 2020/03/08 11:22

Page Tools