Re: [kvm-devel] Re: Storing command line options in images

Markus Hitter
2007-08-14T14:18:34Z

Am 13.08.2007 um 11:19 schrieb Laurent Vivier:

> We can modify qemu to test if the argument is a directory, if yes,
> it reads args
> from file args in this directory and for security the disk image
> must be in the
> same directory.
>
> for instance, we have:
>
> ./pc1/
> ./pc1/args
> ./pc1/my_disk
>
> and in ./pc1/args, we have "-hda my_disk"

... and "-hdb ../pc2/my_other_disk"

The directory idea sounds good. Especially for me, as I'm obviously
the only one running one disk image in different virtual machines.

Plus, it'd work for physical partitions / disks: Simply have a
directory with an "args" file only.

my $ 0.01
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter