[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH RESENT 05/12] conf: add 'script' attribute to disk specification



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]