qemuaug - Call QEMU in an augmented environment
qemuaug [option]... -- qemu-command -hda hda-argument [qemu-arguments]...
qemuaug -H
Call QEMU with following additional functionality.
Create a lock based on the basename of hda-argument. If the lock can not be obtained qemuaug fails with an error.
This prevents from calling QEMU on the same image twice.
Transparently use a fast disk for the -hda image such as a RAM based volatile disk. See -f for details.
This speeds up QEMU disk operations greatly.
Note: -hda may appear at any point in the list of qemu-arguments.
Use fast-disk to store the -hda image.
The copied image is linked symbolically so QEMU should not notice the copy. A backup is created parallel to the original image and removed after the volatile image has been copied back.
Use
mount -t tmpfs -o mode=0777 tmpfs /media/ram
to create a temporary filesystem in RAM.
Create graphical progress indication for long operations.
Treat hda-argument as a temporary file. I.e. create a backup before running qemu-command and restore this backup afterwards.
This is useful if hda-argument should not be changed permanently by qemu-command.
Operate verbose.
Get help.
If an unknown option such as -. is given, a short usage message is generated.
A directory for the lock files. The lock files are named after the image they lock.
Please note that this directory is shared by all users. Take care if you have several users on the same machine locking equally named images.
A directory for the fast files. Each image is a copy with the same name.
The backup file in case the fast file is used.
There is an extensive test suite so there should be no bugs. If there are bugs the test suite needs expansion to catch them.
qemu
Stefan Merten <smerten@oekonux.de>
This program is licensed under the terms of the GPL. See
http://www.gnu.org/licenses/gpl.txt
See
http://www.merten-home.de/FreeSoftware/qemuaug/