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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]