[libvirt] [PATCH RESENT 05/12] conf: add 'script' attribute to disk specification
Marek Marczykowski
marmarek at invisiblethingslab.com
Wed Apr 10 10:13:43 UTC 2013
On 10.04.2013 11:14, Daniel P. Berrange wrote:
> On Wed, Apr 10, 2013 at 04:44:43AM +0200, Marek Marczykowski wrote:
>> Script to be called to prepare custom device for domain. Done with Xen
>> in mind, it maps to libxl_device_disk.script.
>>
>> XML configuration would be:
>> <disk type='block' device='disk'>
>> <source dev='/dev/mapper/custom-device'/>
>> <script path='/script/to/setup/custom-device'/>
>> <target dev='xvdc'/>
>> </disk>
>
> NACK, all configuration must be explicitly represented in
> the config, not delegated to arbitrary opaque shell scripts.
Ok, but how to do that if backend is in other domain (not dom0), so you cannot
directly execute commands there?
--
Best Regards / Pozdrawiam,
Marek Marczykowski
Invisible Things Lab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130410/aa40f689/attachment-0001.sig>
More information about the libvir-list
mailing list