[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images
From: |
Laurent Vivier |
Subject: |
Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images |
Date: |
Tue, 14 Aug 2007 16:31:08 +0200 |
User-agent: |
Thunderbird 1.5.0.2 (X11/20060420) |
Markus Hitter wrote:
>
> 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"
If we want to preserve security we should forbid this, but you can make a soft
link:
ln -s shared_disks/my_disk1 pc1/my_shared_disk
ln -s shared_disks/my_disk1 pc2/my_shared_disk
and have pc1/args and pc2/args = "-hda my_disk -hdb my_shared_disk"
to have:
qemu -hda pc1/my_disk -hdb pc1/my_shared_disk
qemu -hda pc2/my_disk and -hdb pc2/my_shared_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
> http://www.jump-ing.de/
>
>
>
>
>
>
>
--
------------- address@hidden --------------
"Software is hard" - Donald Knuth
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] Re: [kvm-devel] Storing command line options in images, (continued)
- [Qemu-devel] Re: [kvm-devel] Storing command line options in images, Anthony Liguori, 2007/08/10
- Re: [Qemu-devel] Re: [kvm-devel] Storing command line options in images, Avi Kivity, 2007/08/10
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Anthony Liguori, 2007/08/10
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Avi Kivity, 2007/08/10
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Anthony Liguori, 2007/08/10
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Jorge Lucángeli Obes, 2007/08/10
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Avi Kivity, 2007/08/13
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Laurent Vivier, 2007/08/13
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Christian MICHON, 2007/08/13
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Markus Hitter, 2007/08/14
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images,
Laurent Vivier <=
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Jorge Lucángeli Obes, 2007/08/14
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Thiemo Seufer, 2007/08/14
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Christian MICHON, 2007/08/14
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Thiemo Seufer, 2007/08/13
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Christian MICHON, 2007/08/13
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Philip Boulain, 2007/08/13
- [Qemu-devel] Re: [kvm-devel] Storing command line options in images, Jernej Simončič, 2007/08/13
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Thiemo Seufer, 2007/08/13
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Philip Boulain, 2007/08/14
- Re: [kvm-devel] [Qemu-devel] Re: Storing command line options in images, Anthony Liguori, 2007/08/13